Loading .gitignore 0 → 100644 +10 −0 Original line number Diff line number Diff line build build.gradle settings.gradle src/test src/main/java src/main/resources/RsaSignaturePub.key src/main/sql/create_vospace_db.sql src/main/webapp/META-INF/context.xml src/main/webapp/WEB-INF/web.xml src/main/resources/RsaSignaturePriv.key build.gradle.template 0 → 100644 +58 −0 Original line number Diff line number Diff line plugins { id 'java' id 'maven' id 'maven-publish' } //jar.archiveName = "cadc-vos-server.jar" apply plugin: 'war' war { archiveName 'vospace.war' } repositories { mavenLocal() jcenter() maven { url "http://maven.restlet.org" } } sourceCompatibility = 1.7 group = 'org.opencadc' version = '1.0.2' dependencies { runtime 'log4j:log4j:1.2.+' runtime 'org.jdom:jdom2:2.+' runtime 'xerces:xercesImpl:2.+' runtime 'org.json:json:20160212' runtime 'javax.servlet:javax.servlet-api:3.1.+' runtime 'org.springframework:spring-jdbc:2.5.6.SEC01' runtime group: 'mysql', name: 'mysql-connector-java', version: '5.1.6' runtime group: 'jaxen', name: 'jaxen', version: '1.1.6' runtime 'org.restlet.gae:org.restlet.ext.servlet:2.0.2' runtime 'org.restlet.gae:org.restlet:2.0.2' runtime 'org.opencadc:cadc-access-control:1.+' runtime 'org.opencadc:cadc-log:1.+' runtime 'org.opencadc:cadc-util:1.+' runtime 'org.opencadc:cadc-uws:1.+' runtime 'org.opencadc:cadc-uws-server:1.+' runtime 'org.opencadc:cadc-cdp:1.+' runtime 'org.opencadc:cadc-cdp-server:1.+' runtime 'org.opencadc:cadc-vosi:1.+' runtime 'org.opencadc:cadc-registry:1.+' runtime 'org.opencadc:cadc-access-control-identity:1.+' runtime 'org.opencadc:cadc-vos-server:1.+' runtime 'org.opencadc:cadc-vos:1.+' runtime files('<YOUR_LOCAL_LIB_WITH THE FILE>/oats-vospace-backend.jar') runtime files('<YOUR_LOCAL_LIB_WITH THE FILE>/oatsrestlet.jar') } src/main/resources/LocalAuthority.properties 0 → 100644 +18 −0 Original line number Diff line number Diff line # # local authority map # # <base standardID> = <authority> #ac = canfar.net ivo://ivoa.net/std/GMS#groups-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/GMS#search-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#users-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#reqs-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#login-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#modpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#resetpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#whoami-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/CDP#delegate-1.0 = ivo://oats.inaf.it/cred ivo://ivoa.net/std/CDP#proxy-1.0 = ivo://oats.inaf.it/cred ivo://ivoa.net/std/VOSpace/v2.0#transfers = ivo://oats.inaf.it/vospace ivo://ivoa.net/std/VOSpace/v2.0#sync = ivo://oats.inaf.it/vospace ivo://ivoa.net/std/VOSpace#sync-2.1 = ivo://oats.inaf.it/vospace src/main/resources/RsaSignaturePriv.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PRIVATE KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PRIVATE KEY----- src/main/resources/RsaSignaturePub.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PUBLIC KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PUBLIC KEY----- Loading
.gitignore 0 → 100644 +10 −0 Original line number Diff line number Diff line build build.gradle settings.gradle src/test src/main/java src/main/resources/RsaSignaturePub.key src/main/sql/create_vospace_db.sql src/main/webapp/META-INF/context.xml src/main/webapp/WEB-INF/web.xml src/main/resources/RsaSignaturePriv.key
build.gradle.template 0 → 100644 +58 −0 Original line number Diff line number Diff line plugins { id 'java' id 'maven' id 'maven-publish' } //jar.archiveName = "cadc-vos-server.jar" apply plugin: 'war' war { archiveName 'vospace.war' } repositories { mavenLocal() jcenter() maven { url "http://maven.restlet.org" } } sourceCompatibility = 1.7 group = 'org.opencadc' version = '1.0.2' dependencies { runtime 'log4j:log4j:1.2.+' runtime 'org.jdom:jdom2:2.+' runtime 'xerces:xercesImpl:2.+' runtime 'org.json:json:20160212' runtime 'javax.servlet:javax.servlet-api:3.1.+' runtime 'org.springframework:spring-jdbc:2.5.6.SEC01' runtime group: 'mysql', name: 'mysql-connector-java', version: '5.1.6' runtime group: 'jaxen', name: 'jaxen', version: '1.1.6' runtime 'org.restlet.gae:org.restlet.ext.servlet:2.0.2' runtime 'org.restlet.gae:org.restlet:2.0.2' runtime 'org.opencadc:cadc-access-control:1.+' runtime 'org.opencadc:cadc-log:1.+' runtime 'org.opencadc:cadc-util:1.+' runtime 'org.opencadc:cadc-uws:1.+' runtime 'org.opencadc:cadc-uws-server:1.+' runtime 'org.opencadc:cadc-cdp:1.+' runtime 'org.opencadc:cadc-cdp-server:1.+' runtime 'org.opencadc:cadc-vosi:1.+' runtime 'org.opencadc:cadc-registry:1.+' runtime 'org.opencadc:cadc-access-control-identity:1.+' runtime 'org.opencadc:cadc-vos-server:1.+' runtime 'org.opencadc:cadc-vos:1.+' runtime files('<YOUR_LOCAL_LIB_WITH THE FILE>/oats-vospace-backend.jar') runtime files('<YOUR_LOCAL_LIB_WITH THE FILE>/oatsrestlet.jar') }
src/main/resources/LocalAuthority.properties 0 → 100644 +18 −0 Original line number Diff line number Diff line # # local authority map # # <base standardID> = <authority> #ac = canfar.net ivo://ivoa.net/std/GMS#groups-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/GMS#search-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#users-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#reqs-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#login-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#modpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#resetpass-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/UMS#whoami-0.1 = ivo://oats.inaf.it/gms ivo://ivoa.net/std/CDP#delegate-1.0 = ivo://oats.inaf.it/cred ivo://ivoa.net/std/CDP#proxy-1.0 = ivo://oats.inaf.it/cred ivo://ivoa.net/std/VOSpace/v2.0#transfers = ivo://oats.inaf.it/vospace ivo://ivoa.net/std/VOSpace/v2.0#sync = ivo://oats.inaf.it/vospace ivo://ivoa.net/std/VOSpace#sync-2.1 = ivo://oats.inaf.it/vospace
src/main/resources/RsaSignaturePriv.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PRIVATE KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PRIVATE KEY-----
src/main/resources/RsaSignaturePub.key.template 0 → 100644 +5 −0 Original line number Diff line number Diff line -----BEGIN PUBLIC KEY----- The key can be generated using core/cadc-util/src/main/java/ca/nrc/cadc/util/RsaSignatureGenerator.java check comments online. -----END PUBLIC KEY-----