summaryrefslogtreecommitdiffstats
path: root/bundleconfig-local/etc/appprops/methodMapper.properties
blob: bf5174996145bcb38b2f50c979e87dd0c36790ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//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": "/services/crud-api/v1/echo-service/echo/{input}",
            "logicalName": "GetEcho(Logical)",
            "dme2url": "/services/crud-api/v1/echo-service/echo/{input}"
        }
    ],
	     "errormessage":
	    [
	        {
	        	"method": "get",
	        	"url": "/services/crud-api/v1/errorMessageLookupService2",
	        	"logicalName": "setCAETHeaders(Logical)"
	       	}        
	    
	    ]
}