2 //Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
3 // Json object holds the method mapping.Update the JSON object with the proper route to logical mapping based
4 // on the example provided below :
5 // "helloWorld" = Service Name
6 // "method" = http method
7 // "url" = the url component from the route
8 // "logicalName"= When a combination of method and url from the route matches the json object ,
9 // the logical name is put in the http header as "x-CSI-ServiceName" and "x-CSI-MethodName"
10 // "dme2url"= if provided it register the endpoint to GRM, it is optional. This is useful for JAX-RS services.
16 "url": "/rest/inventory-ui-service/v1/helloWorld",
17 "logicalName": "GetMethod(Logical)"
21 "url": "/services/inventory-ui-service/v1/jaxrsExample/jaxrs-services/echo/{input}",
22 "logicalName": "GetJaxrsExampleEcho(Logical)",
23 "dme2url": "/services/inventory-ui-service/v1/jaxrsExample/jaxrs-services/echo/{input}"
27 "url": "/services/inventory-ui-service/v1/jaxrsExample/jaxrs-services/property/{fileName}/{input}",
28 "logicalName": "GetJaxrsExampleProperty(Logical)",
29 "dme2url": "/services/inventory-ui-service/v1/jaxrsExample/jaxrs-services/property/{fileName}/{input}"
36 "url": "/services/inventory-ui-service/v1/jaxrsExample/errormessage/emls",
37 "logicalName": "setCAETHeaders(Logical)"
41 "url": "/services/inventory-ui-service/v1/errorMessageLookupService2",
42 "logicalName": "setCAETHeaders(Logical)"