git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@148644 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a67049f2a3
commit
c8ce04c364
|
@ -31,7 +31,9 @@ public class RestPoolManager implements PoolManager {
|
||||||
@GET
|
@GET
|
||||||
@Path("/algorithm/stage")
|
@Path("/algorithm/stage")
|
||||||
@Produces("text/plain")
|
@Produces("text/plain")
|
||||||
public String stageAlgorithm(String algorithmPackageURL, String category) throws IOException, InterruptedException {
|
public String stageAlgorithm(
|
||||||
|
@QueryParam("algorithmPackageURL") String algorithmPackageURL,
|
||||||
|
@QueryParam("category") String category) throws IOException, InterruptedException {
|
||||||
Algorithm algo = AlgorithmBuilder.create(algorithmPackageURL, category);
|
Algorithm algo = AlgorithmBuilder.create(algorithmPackageURL, category);
|
||||||
return this.service.stageAlgorithm(algo);
|
return this.service.stageAlgorithm(algo);
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
|
@ -40,7 +42,11 @@ public class RestPoolManager implements PoolManager {
|
||||||
@GET
|
@GET
|
||||||
@Path("/algorithm/add")
|
@Path("/algorithm/add")
|
||||||
@Produces("text/plain")
|
@Produces("text/plain")
|
||||||
public String publishAlgorithm(String algorithmPackageURL, String targetVREToken, String targetVRE, String category) throws IOException, InterruptedException {
|
public String publishAlgorithm(
|
||||||
|
@QueryParam("algorithmPackageURL") String algorithmPackageURL,
|
||||||
|
@QueryParam("targetVREToken") String targetVREToken,
|
||||||
|
@QueryParam("targetVRE") String targetVRE,
|
||||||
|
@QueryParam("category") String category) throws IOException, InterruptedException {
|
||||||
Algorithm algo = AlgorithmBuilder.create(algorithmPackageURL, category);
|
Algorithm algo = AlgorithmBuilder.create(algorithmPackageURL, category);
|
||||||
return this.service.publishAlgorithm(algo, targetVREToken, targetVRE);
|
return this.service.publishAlgorithm(algo, targetVREToken, targetVRE);
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
|
@ -85,30 +91,30 @@ public class RestPoolManager implements PoolManager {
|
||||||
***REMOVED***Production Testing
|
***REMOVED***Production Testing
|
||||||
/*
|
/*
|
||||||
stageAlgorithm(Rproto caller token,pacchetto, category)
|
stageAlgorithm(Rproto caller token,pacchetto, category)
|
||||||
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/algorithm/stage?gcube-token=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL
|
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/rest/algorithm/stage?gcube-token=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL
|
||||||
|
|
||||||
|
|
||||||
publishAlgorithm(Rproto caller token, pacchetto, category, target token, target prod vre)
|
publishAlgorithm(Rproto caller token, pacchetto, category, target token, target prod vre)
|
||||||
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/algorithm/stage/add?gcube-token=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL&targetVREToken=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&targetVRE=/gcube/devNext/NextNext
|
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/rest/algorithm/stage/add?gcube-token=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL&targetVREToken=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&targetVRE=/gcube/devNext/NextNext
|
||||||
|
|
||||||
|
|
||||||
getLogById(Rproto caller token, logid)
|
getLogById(Rproto caller token, logid)
|
||||||
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/log?gcube-token=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&logUrl=
|
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/rest/log?gcube-token=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&logUrl=
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
***REMOVED***dev Testing
|
***REMOVED***dev Testing
|
||||||
/*
|
/*
|
||||||
stageAlgorithm(dev caller token,pacchetto, category)
|
stageAlgorithm(dev caller token,pacchetto, category)
|
||||||
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/algorithm/stage?gcube-token=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL
|
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/rest/algorithm/stage?gcube-token=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL
|
||||||
|
|
||||||
|
|
||||||
publishAlgorithm(dev caller token, pacchetto, category, target token, target prod vre)
|
publishAlgorithm(dev caller token, pacchetto, category, target token, target prod vre)
|
||||||
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/algorithm/stage/add?gcube-token=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL&targetVREToken=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&targetVRE=/d4science.research-infrastructures.eu/gCubeApps/RPrototypingLab
|
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/rest/algorithm/stage/add?gcube-token=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&algorithmPackageURL=http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0&category=ICHTHYOP_MODEL&targetVREToken=3a23bfa4-4dfe-44fc-988f-194b91071dd2-843339462&targetVRE=/d4science.research-infrastructures.eu/gCubeApps/RPrototypingLab
|
||||||
|
|
||||||
|
|
||||||
getLogById(dev caller token, logid)
|
getLogById(dev caller token, logid)
|
||||||
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/log?gcube-token=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&logUrl=
|
http:***REMOVED***node2-d-d4s.d4science.org:8080/dataminer-pool-manager-1.0.0-SNAPSHOT/rest/log?gcube-token=708e7eb8-11a7-4e9a-816b-c9ed7e7e99fe-98187548&logUrl=a79a5b5f-ed31-4bf6-8749-94160c3bf0fc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue