X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=bundleconfig-local%2Fetc%2Fappprops%2FmethodMapper.properties;fp=bundleconfig-local%2Fetc%2Fappprops%2FmethodMapper.properties;h=0000000000000000000000000000000000000000;hb=5da95c0df892b635db68550a3321e0e48c9e78f8;hp=1825bd61b92d8925659272f678d3c3b41ed45e11;hpb=047ade94d55a1b6d8c352168652140f3579198ac;p=aai%2Fdata-router.git diff --git a/bundleconfig-local/etc/appprops/methodMapper.properties b/bundleconfig-local/etc/appprops/methodMapper.properties deleted file mode 100644 index 1825bd6..0000000 --- a/bundleconfig-local/etc/appprops/methodMapper.properties +++ /dev/null @@ -1,46 +0,0 @@ -// -//Copyright (c) 2016 AT&T Intellectual Property. All rights reserved. -// Json object holds the method mapping.Update the JSON object with the proper route to logical mapping based -// on the example provided below : -// "helloWorld" = Service Name -// "method" = http method -// "url" = the url component from the route -// "logicalName"= When a combination of method and url from the route matches the json object , -// the logical name is put in the http header as "x-CSI-ServiceName" and "x-CSI-MethodName" -// "dme2url"= if provided it register the endpoint to GRM, it is optional. This is useful for JAX-RS services. - -{ - "helloWorld": [ - { - "method": "get", - "url": "/rest/data-router/v1/helloWorld", - "logicalName": "GetMethod(Logical)" - }, - { - "method": "get", - "url": "/services/data-router/v1/jaxrsExample/jaxrs-services/echo/{input}", - "logicalName": "GetJaxrsExampleEcho(Logical)", - "dme2url": "/services/data-router/v1/jaxrsExample/jaxrs-services/echo/{input}" - }, - { - "method": "get", - "url": "/services/data-router/v1/jaxrsExample/jaxrs-services/property/{fileName}/{input}", - "logicalName": "GetJaxrsExampleProperty(Logical)", - "dme2url": "/services/data-router/v1/jaxrsExample/jaxrs-services/property/{fileName}/{input}" - } - ], - "errormessage": - [ - { - "method": "get", - "url": "/services/data-router/v1/jaxrsExample/errormessage/emls", - "logicalName": "setCAETHeaders(Logical)" - }, - { - "method": "get", - "url": "/services/data-router/v1/errorMessageLookupService2", - "logicalName": "setCAETHeaders(Logical)" - } - - ] -}