diff options
author | Mehreen Kaleem <mehreen.kaleem2@wipro.com> | 2019-04-10 18:18:50 +0530 |
---|---|---|
committer | Saravanan A <saravanan.a75@wipro.com> | 2019-04-10 19:10:29 +0530 |
commit | 3a5ac5962d58b850202c4c93f3ad0846366b8ae5 (patch) | |
tree | bdca3c24ccf0a0ebdebfa90905f04aa8885203f4 | |
parent | 712274e8d332181729c06c31dcf58d49f2a4d8f7 (diff) |
Code Changes done for OOF SON use case
Introducing control loop response flow using DCAE_CL_RSP topic
Change-Id: I90e30c061221e3d0c213fee9341b8b09a490fcae
Issue-ID: POLICY-1463
Signed-off-by: Saravanan A <saravanan.a75@wipro.com>
-rwxr-xr-x | feature-mdc-filters/src/main/feature/config/feature-mdc-filters.properties | 109 |
1 files changed, 55 insertions, 54 deletions
diff --git a/feature-mdc-filters/src/main/feature/config/feature-mdc-filters.properties b/feature-mdc-filters/src/main/feature/config/feature-mdc-filters.properties index 0a53a9f5..7402151c 100755 --- a/feature-mdc-filters/src/main/feature/config/feature-mdc-filters.properties +++ b/feature-mdc-filters/src/main/feature/config/feature-mdc-filters.properties @@ -1,54 +1,55 @@ -###
-# ============LICENSE_START=======================================================
-# feature-mdc-filters
-# ================================================================================
-# Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ============LICENSE_END=========================================================
-###
-
-# The properties keys follow the controller topic configurations followed by a
-# a new topic property, 'mdcFilters'.
-#<protocol>.<type>.topics.<topic-name>.mdcFilters
-
-# The value of the property is broken down to the MDC key name to be used by the
-# feature followed by the path(s) to the desired field's value.
-#dmaap.sink.topics.example.mdcFilters=sampleKey=$.path.to.sample.key
-
-# The path always begins with '$' as this signifies the root of the JSON document.
-# The underlying library used is Jayway JsonPath. The library's query syntax is
-# supported for searching a JSON document. The query syntax and some examples
-# can be found at: https://github.com/json-path/JsonPath
-
-# Multiple fields can be found for a given JSON document by a comma separated list
-# of <mdcKey,jsonPath> pairs.
-#dmaap.sink.topics.example.mdcFilters=field1=$.field1,field2=$.field2
-
-# If a given topic supports multiple message types that have fields with the same
-# name, a '|' separated list can define multiple paths to a field. The feature
-# will loop through each path until it finds a match and returns it.
-#dmaap.sink.topics.example.mdcFilters=field1=$.field1|$.body.field1
-
-# dmaap source filters
-dmaap.source.topics.PDPD-CONFIGURATION.mdcFilters=requestID=$.requestID
-dmaap.source.topics.DCAE_TOPIC.mdcFilters=requestID=$.requestID
-dmaap.source.topics.APPC-CL.mdcFilters=requestID=$.CommonHeader.RequestID
-dmaap.source.topics.APPC-LCM-WRITE.mdcFilters=requestID=$.body.output.common-header.request-id
-dmaap.source.topics.SDNR-CL-RSP.mdcFilters=requestID=$.body.CommonHeader.RequestID
-
-# dmaap sink filters
-dmaap.sink.topics.POLICY-CL-MGT.mdcFilters=requestID=$.requestID
-dmaap.sink.topics.APPC-CL.mdcFilters=requestID=$.CommonHeader.RequestID
-dmaap.sink.topics.APPC-LCM-READ.mdcFilters=requestID=$.body.input.common-header.request-id
-dmaap.sink.topics.SDNR-CL.mdcFilters=requestID=$.body.CommonHeader.RequestID
+### +# ============LICENSE_START======================================================= +# feature-mdc-filters +# ================================================================================ +# Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END========================================================= +### + +# The properties keys follow the controller topic configurations followed by a +# a new topic property, 'mdcFilters'. +#<protocol>.<type>.topics.<topic-name>.mdcFilters + +# The value of the property is broken down to the MDC key name to be used by the +# feature followed by the path(s) to the desired field's value. +#dmaap.sink.topics.example.mdcFilters=sampleKey=$.path.to.sample.key + +# The path always begins with '$' as this signifies the root of the JSON document. +# The underlying library used is Jayway JsonPath. The library's query syntax is +# supported for searching a JSON document. The query syntax and some examples +# can be found at: https://github.com/json-path/JsonPath + +# Multiple fields can be found for a given JSON document by a comma separated list +# of <mdcKey,jsonPath> pairs. +#dmaap.sink.topics.example.mdcFilters=field1=$.field1,field2=$.field2 + +# If a given topic supports multiple message types that have fields with the same +# name, a '|' separated list can define multiple paths to a field. The feature +# will loop through each path until it finds a match and returns it. +#dmaap.sink.topics.example.mdcFilters=field1=$.field1|$.body.field1 + +# dmaap source filters +dmaap.source.topics.PDPD-CONFIGURATION.mdcFilters=requestID=$.requestID +dmaap.source.topics.DCAE_TOPIC.mdcFilters=requestID=$.requestID +dmaap.source.topics.APPC-CL.mdcFilters=requestID=$.CommonHeader.RequestID +dmaap.source.topics.APPC-LCM-WRITE.mdcFilters=requestID=$.body.output.common-header.request-id +dmaap.source.topics.SDNR-CL-RSP.mdcFilters=requestID=$.body.CommonHeader.RequestID + +# dmaap sink filters +dmaap.sink.topics.POLICY-CL-MGT.mdcFilters=requestID=$.requestID +dmaap.sink.topics.APPC-CL.mdcFilters=requestID=$.CommonHeader.RequestID +dmaap.sink.topics.APPC-LCM-READ.mdcFilters=requestID=$.body.input.common-header.request-id +dmaap.sink.topics.SDNR-CL.mdcFilters=requestID=$.body.CommonHeader.RequestID +dmaap.sink.topics.DCAE_CL_RSP.mdcFilters=requestID=$.requestID |