You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/10/17 15:52:46 UTC
svn commit: r1399266 -
/airavata/sandbox/airavata-registry-rest/src/main/java/org/apache/airavata/services/registry/rest/resources/RegistryResource.java
Author: heshan
Date: Wed Oct 17 13:52:45 2012
New Revision: 1399266
URL: http://svn.apache.org/viewvc?rev=1399266&view=rev
Log:
Fixing media type conflict.
Modified:
airavata/sandbox/airavata-registry-rest/src/main/java/org/apache/airavata/services/registry/rest/resources/RegistryResource.java
Modified: airavata/sandbox/airavata-registry-rest/src/main/java/org/apache/airavata/services/registry/rest/resources/RegistryResource.java
URL: http://svn.apache.org/viewvc/airavata/sandbox/airavata-registry-rest/src/main/java/org/apache/airavata/services/registry/rest/resources/RegistryResource.java?rev=1399266&r1=1399265&r2=1399266&view=diff
==============================================================================
--- airavata/sandbox/airavata-registry-rest/src/main/java/org/apache/airavata/services/registry/rest/resources/RegistryResource.java (original)
+++ airavata/sandbox/airavata-registry-rest/src/main/java/org/apache/airavata/services/registry/rest/resources/RegistryResource.java Wed Oct 17 13:52:45 2012
@@ -34,9 +34,10 @@ import java.util.Map;
* analogues to main API interfaces of Airavata
*/
@Path("/registry/api")
-public class RegistryResource implements ConfigurationRegistryService,
- ProjectsRegistryService, ProvenanceRegistryService, UserWorkflowRegistryService,
- PublishedWorkflowRegistryService, DescriptorRegistryService{
+//public class RegistryResource implements ConfigurationRegistryService,
+// ProjectsRegistryService, ProvenanceRegistryService, UserWorkflowRegistryService,
+// PublishedWorkflowRegistryService, DescriptorRegistryService{
+ public class RegistryResource {
private final static Logger logger = LoggerFactory.getLogger(RegistryResource.class);
private JPAResourceAccessor jpa;
private boolean active=false;
@@ -784,7 +785,7 @@ public class RegistryResource implements
}
@POST
- @Path("applicationdescriptor/save")
+ @Path("applicationdescriptor/build/save/")
@Produces("text/xml")
public Response addApplicationDescriptor(@FormParam("service") String service,
@FormParam("host") String host,
@@ -1287,7 +1288,7 @@ public class RegistryResource implements
}
}
- @POST
+/* @POST
@Path("add/experiment")
@Produces("text/plain")
public Response addExperiment(@FormParam("projectName") String projectName,
@@ -1308,7 +1309,7 @@ public class RegistryResource implements
return builder.build();
}
- }
+ }*/
@GET
@Path("experiment/exist/check")