Correct INFO.yaml to pass YAML Lint
[aai/gizmo.git] / bundleconfig-local / etc / appprops / methodMapper.properties
1 //
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.
11   
12 {
13     "helloWorld": [
14         {
15             "method": "get",
16             "url": "/services/crud-api/v1/echo-service/echo/{input}",
17             "logicalName": "GetEcho(Logical)",
18             "dme2url": "/services/crud-api/v1/echo-service/echo/{input}"
19         }
20     ],
21              "errormessage":
22             [
23                 {
24                         "method": "get",
25                         "url": "/services/crud-api/v1/errorMessageLookupService2",
26                         "logicalName": "setCAETHeaders(Logical)"
27                 }        
28             
29             ]
30 }