Author: chathuri
Date: Tue Nov 20 21:04:16 2012
New Revision: 1411863
URL: http://svn.apache.org/viewvc?rev=1411863&view=rev
Log: (empty)
Modified:
airavata/trunk/modules/rest/client/src/main/java/org/apache/airavata/rest/client/ProvenanceResourceClient.java
airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/ResourcePathConstants.java
Modified:
airavata/trunk/modules/rest/client/src/main/java/org/apache/airavata/rest/client/ProvenanceResourceClient.java
URL:
http://svn.apache.org/viewvc/airavata/trunk/modules/rest/client/src/main/java/org/apache/airavata/rest/client/ProvenanceResourceClient.java?rev=1411863&r1=1411862&r2=1411863&view=diff
==============================================================================
---
airavata/trunk/modules/rest/client/src/main/java/org/apache/airavata/rest/client/ProvenanceResourceClient.java
(original)
+++
airavata/trunk/modules/rest/client/src/main/java/org/apache/airavata/rest/client/ProvenanceResourceClient.java
Tue Nov 20 21:04:16 2012
@@ -90,6 +90,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
@@ -113,6 +114,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
@@ -138,6 +140,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -160,6 +163,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -186,6 +190,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -208,6 +213,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -233,6 +239,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -254,6 +261,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -280,6 +288,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -297,6 +306,7 @@ public class ProvenanceResourceClient {
ClientResponse response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
int status = response.getStatus();
if (status != ClientConstant.HTTP_OK && status !=
ClientConstant.HTTP_UNAUTHORIZED) {
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
logger.error(response.getEntity(String.class));
throw new RuntimeException("Failed : HTTP error code : "
+ status);
@@ -332,6 +342,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -356,6 +367,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -376,6 +388,7 @@ public class ProvenanceResourceClient {
ClientResponse response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
int status = response.getStatus();
if (status != ClientConstant.HTTP_OK && status !=
ClientConstant.HTTP_UNAUTHORIZED) {
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
logger.error(response.getEntity(String.class));
throw new RuntimeException("Failed : HTTP error code : "
+ status);
@@ -406,6 +419,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -427,6 +441,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -454,6 +469,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -478,6 +494,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -499,6 +516,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -522,6 +540,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -546,6 +565,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -576,6 +596,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -605,6 +626,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -630,6 +652,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -661,6 +684,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -685,6 +709,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -709,6 +734,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK) {
@@ -731,6 +757,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -756,6 +783,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -787,6 +815,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -816,6 +845,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).type(MediaType.APPLICATION_JSON).post(ClientResponse.class,
workflowNodeGramData);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -837,6 +867,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -862,6 +893,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.TEXT_PLAIN).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK && status !=
ClientConstant.HTTP_UNAUTHORIZED) {
@@ -886,6 +918,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -909,6 +942,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK ) {
@@ -936,6 +970,7 @@ public class ProvenanceResourceClient {
throw new RuntimeException("Failed : HTTP error code : "
+ status);
}else if( status == ClientConstant.HTTP_UNAUTHORIZED){
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
status = response.getStatus();
if (status != ClientConstant.HTTP_OK && status !=
ClientConstant.HTTP_UNAUTHORIZED) {
@@ -956,6 +991,7 @@ public class ProvenanceResourceClient {
ClientResponse response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
int status = response.getStatus();
if (status != ClientConstant.HTTP_OK && status !=
ClientConstant.HTTP_UNAUTHORIZED) {
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
logger.error(response.getEntity(String.class));
throw new RuntimeException("Failed : HTTP error code : "
+ status);
@@ -979,6 +1015,7 @@ public class ProvenanceResourceClient {
ClientResponse response =
webResource.accept(MediaType.TEXT_PLAIN).post(ClientResponse.class, formParams);
int status = response.getStatus();
if (status != ClientConstant.HTTP_OK && status !=
ClientConstant.HTTP_UNAUTHORIZED) {
+ webResource.header("Authorization",
BasicAuthHeaderUtil.getBasicAuthHeader(userName,
callback.getPassword(userName)));
logger.error(response.getEntity(String.class));
throw new RuntimeException("Failed : HTTP error code : "
+ status);
Modified:
airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/ResourcePathConstants.java
URL:
http://svn.apache.org/viewvc/airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/ResourcePathConstants.java?rev=1411863&r1=1411862&r2=1411863&view=diff
==============================================================================
---
airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/ResourcePathConstants.java
(original)
+++
airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/ResourcePathConstants.java
Tue Nov 20 21:04:16 2012
@@ -26,7 +26,7 @@ public class ResourcePathConstants {
public static final String BASE_URL =
"http://localhost:9080/airavata-services";
public final class ConfigResourcePathConstants {
- public static final String CONFIGURATION_REGISTRY_RESOURCE =
"/registry/api/congfigregistry/";
+ public static final String CONFIGURATION_REGISTRY_RESOURCE =
"/congfigregistry/";
public static final String GET_CONFIGURATION = "get/configuration";
public static final String GET_CONFIGURATION_LIST =
"get/configurationlist";
public static final String SAVE_CONFIGURATION = "save/configuration";
@@ -54,7 +54,7 @@ public class ResourcePathConstants {
}
public final class DecResourcePathConstants {
- public static final String DESC_RESOURCE_PATH =
"/registry/api/descriptors/";
+ public static final String DESC_RESOURCE_PATH =
"/descriptorsregistry/";
public static final String HOST_DESC_EXISTS = "hostdescriptor/exist";
public static final String HOST_DESC_SAVE = "hostdescriptor/save";
public static final String HOST_DESC_UPDATE = "hostdescriptor/update";
@@ -80,7 +80,7 @@ public class ResourcePathConstants {
}
public final class ExperimentResourcePathConstants {
- public static final String EXP_RESOURCE_PATH =
"/registry/api/experimentregistry/";
+ public static final String EXP_RESOURCE_PATH =
"/experimentregistry/";
public static final String DELETE_EXP = "delete/experiment";
public static final String GET_ALL_EXPS = "get/experiments/all" ;
public static final String GET_EXPS_BY_PROJECT =
"get/experiments/project" ;
@@ -92,7 +92,7 @@ public class ResourcePathConstants {
}
public final class ProjectResourcePathConstants {
- public static final String REGISTRY_API_PROJECTREGISTRY =
"/registry/api/projectregistry/";
+ public static final String REGISTRY_API_PROJECTREGISTRY =
"/projectregistry/";
public static final String PROJECT_EXIST = "project/exist";
public static final String PROJECT_EXIST_CREATE = "project/exist";
public static final String ADD_PROJECT = "add/project";
@@ -104,7 +104,7 @@ public class ResourcePathConstants {
public final class ProvenanceResourcePathConstants {
- public static final String REGISTRY_API_PROVENANCEREGISTRY =
"/registry/api/provenanceregistry/";
+ public static final String REGISTRY_API_PROVENANCEREGISTRY =
"/provenanceregistry/";
public static final String UPDATE_EXPERIMENT_EXECUTIONUSER =
"update/experiment/executionuser";
public static final String GET_EXPERIMENT_EXECUTIONUSER =
"get/experiment/executionuser";
public static final String GET_EXPERIMENT_NAME = "get/experiment/name";
@@ -145,7 +145,7 @@ public class ResourcePathConstants {
public final class PublishedWFConstants {
- public static final String REGISTRY_API_PUBLISHWFREGISTRY =
"/registry/api/publishwfregistry/";
+ public static final String REGISTRY_API_PUBLISHWFREGISTRY =
"/publishwfregistry/";
public static final String PUBLISHWF_EXIST = "publishwf/exist";
public static final String PUBLISH_WORKFLOW = "publish/workflow";
public static final String PUBLISH_DEFAULT_WORKFLOW =
"publish/default/workflow";
@@ -157,7 +157,7 @@ public class ResourcePathConstants {
public final class UserWFConstants {
- public static final String REGISTRY_API_USERWFREGISTRY =
"/registry/api/userwfregistry/";
+ public static final String REGISTRY_API_USERWFREGISTRY =
"/userwfregistry/";
public static final String WORKFLOW_EXIST = "workflow/exist";
public static final String ADD_WORKFLOW = "add/workflow";
public static final String UPDATE_WORKFLOW = "update/workflow";
@@ -168,7 +168,7 @@ public class ResourcePathConstants {
public final class BasicRegistryConstants {
- public static final String REGISTRY_API_BASICREGISTRY =
"/registry/api/basicregistry/";
+ public static final String REGISTRY_API_BASICREGISTRY =
"/basicregistry/";
public static final String GET_GATEWAY = "get/gateway";
public static final String GET_USER = "get/user";
public static final String SET_GATEWAY = "set/gateway";