Skip to content

Commit

Permalink
Change the WSDL stoage path
Browse files Browse the repository at this point in the history
  • Loading branch information
cnapagoda committed Jun 27, 2015
1 parent c03a97a commit d0f416d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ public String importWADLToRegistry(RequestContext requestContext, String commonL
}

String actualPath;
if(commonLocation != null){
actualPath = commonLocation + namespaceSegment + version + "/" + wadlName;
} else {
actualPath = RegistryConstants.GOVERNANCE_REGISTRY_BASE_PATH +
commonWADLLocation + namespaceSegment + version + "/" + wadlName;
// if(commonLocation != null){
// actualPath = commonLocation + namespaceSegment + version + "/" + wadlName;
// } else {
// actualPath = RegistryConstants.GOVERNANCE_REGISTRY_BASE_PATH +
// commonWADLLocation + namespaceSegment + version + "/" + wadlName;
actualPath = getWadlLocation(requestContext,wadlElement,wadlName,version);
}
// }
if (resource.getProperty(CommonConstants.SOURCE_PROPERTY) == null){
resource.setProperty(CommonConstants.SOURCE_PROPERTY, CommonConstants.SOURCE_AUTO);
}
Expand Down

0 comments on commit d0f416d

Please sign in to comment.