Hi Vanji,

Property map contains the additional properties we can include send to TM.
We can include headers, query parameters, the claims of backend JWT,
etc(You need to enable this in the api-manager.xml). Also, it can contain
client IP and Message size.
Please check the sample data.

properties:{"Origin":"https:\/\/localhost:9443","\/order\/123":"","ip":174327201,"Connection":"keep-alive","Referer":"https:\/\/localhost:9443\/store\/apis\/info?name=PizzaShackAPI&version=1.0.0&provider=admin","User-Agent":"Mozilla\/5.0
(X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko)
Chrome\/73.0.3683.86
Safari\/537.36","Host":"172.17.0.1:8243","Accept-Encoding":"gzip,
deflate,
br","Accept-Language":"en-US,en;q=0.9,fr-FR;q=0.8,fr;q=0.7,si;q=0.6","accept":"application\/json"}

properties:{"queryPara2":"dfgfdgfdg","ip":174327201,"queryPara1":"assdfd","User-Agent":"curl\/7.47.0","Host":"
172.17.0.1:8243","accept":"application\/json"}

Thanks and Regards

On Fri, Apr 12, 2019 at 5:55 AM Vanjikumaran Sivajothy <va...@wso2.com>
wrote:

> Hi, devs,
>
> What are the properties in propertiesMap of Siddhi Query in API manager?
>
> define stream RequestStream (messageID string, appKey string, appTier
> string, subscriptionKey string, apiKey string, apiTier string,
> subscriptionTier string, resourceKey string, resourceTier string, userId
> string,  apiContext string, apiVersion string, appTenant string, apiTenant
> string, appId string, apiName string, *propertiesMap string*);
>
>
> Best Regards,
> Vanji
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Rukshan Chathuranga.
WSO2, Inc.
+94711822074
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to