Skip to content
Snippets Groups Projects
Commit 11f4b43b authored by cramakri's avatar cramakri
Browse files

LMS-1503 Don't put "datastore_server" in the path of the rpc services.

SVN: 16168
parent b2547daf
No related branches found
No related tags found
No related merge requests found
...@@ -214,7 +214,7 @@ public class DataStoreServer ...@@ -214,7 +214,7 @@ public class DataStoreServer
// Export the spring bean to the world by wrapping it in an HttpInvokerServlet // Export the spring bean to the world by wrapping it in an HttpInvokerServlet
String rpcV1Suffix = "/rmi-dss-api-v1"; String rpcV1Suffix = "/rmi-dss-api-v1";
String rpcV1Path = "/" + DATA_STORE_SERVER_WEB_APPLICATION_NAME + rpcV1Suffix; String rpcV1Path = rpcV1Suffix;
context.addServlet(new ServletHolder(new HttpInvokerServlet(v1ServiceExporter, rpcV1Path)), context.addServlet(new ServletHolder(new HttpInvokerServlet(v1ServiceExporter, rpcV1Path)),
rpcV1Path); rpcV1Path);
...@@ -230,9 +230,7 @@ public class DataStoreServer ...@@ -230,9 +230,7 @@ public class DataStoreServer
rpcV1Suffix, 1, 0); rpcV1Suffix, 1, 0);
rpcNameServer.addSupportedInterfaceVersion(v1Interface); rpcNameServer.addSupportedInterfaceVersion(v1Interface);
String nameServerPath = String nameServerPath = IRpcServiceNameServer.PREFFERED_URL_SUFFIX;
"/" + DATA_STORE_SERVER_WEB_APPLICATION_NAME
+ IRpcServiceNameServer.PREFFERED_URL_SUFFIX;
RpcServiceInterfaceVersionDTO nameServerVersion = RpcServiceInterfaceVersionDTO nameServerVersion =
new RpcServiceInterfaceVersionDTO(IRpcServiceNameServer.PREFFERED_SERVICE_NAME, new RpcServiceInterfaceVersionDTO(IRpcServiceNameServer.PREFFERED_SERVICE_NAME,
IRpcServiceNameServer.PREFFERED_URL_SUFFIX, 1, 0); IRpcServiceNameServer.PREFFERED_URL_SUFFIX, 1, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment