+1 to include this. It's a basic requirement to differentiate the prod and
sandbox traffic in the system. Also, correlation Id will help to track the
request and response if needed.

On Sat, Dec 23, 2017 at 12:25 PM, Rukshan Premathunga <ruks...@wso2.com>
wrote:

> Hi All,
>
> Can we check the possibility of the $Subject. In the latest
> APIM(wso2am-2.1.0-update4), correlation ID and the key type(sand or prod)
> is include in the event as JSON attribute[1]. I think it is better to moved
> those attributes as a single value attribute and passed to the Analyzer.
> So we can upgrade the stream versioning and do these changes.
>
> Also it is better to persist key type, data center ID in the STAT_DB and
> we can filter production and Sandbox analytics future. So when migrating we
> need to alter tables with key type. But we can assume that existing data
> are from the production key and insert those key type when migrating.
>
> So Any idea about this?
>
>
> [1]  meta_clientType:{"keyType":"PRODUCTION","correlationID",
> "19c4350a-2079-406a-bece-808954b4f2d7"}
> Thanks and Regards
>
> --
> Rukshan Chathuranga.
> Software Engineer.
> WSO2, Inc.
> +94711822074 <+94%2071%20182%202074>
>
> _______________________________________________
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to