Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Property

Description

Path from CPS root

NOTIFICATION_DATASPACE_FILTER_PATTERNS: NON-EXISTING-DATASPACE
  • Add / modify under services.cps-and-ncmp.environment section
docker-compose/docker-compose.yml
notification.enabled: 'true'
  • Do not modify under services.cps-and-ncmp.environment section.
  • Make sure to always enable it as it is used by CPS for async / internal communications.
docker-compose/docker-compose.yml

...

Code Block
languageyml
themeDJango
titledocker-compose (cps-and-ncmp)
collapsetrue
cps-and-ncmp:
  container_name: cps-and-ncmp
  image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${CPS_VERSION:-latest}
  ports:
    - ${CPS_CORE_PORT:-8883}:8080
    - ${CPS_CORE_MANAGEMENT_PORT:-8887}:8081
  environment:
    notification.enabled: 'true'
    NOTIFICATION_DATASPACE_FILTER_PATTERNS: NON-EXISTING-DATASPACE

...

Code Block
languageyml
themeDJango
titledocker-compose (kafka-consumer)collapsetrue
  consumer:
    image: taion809/kafka-cli:latest
    container_name: kafka-consumer
    command: kafka-console-consumer.sh --bootstrap-server kafka:9092 --topic cps.data-updated-events
    links:
      - kafka

...

If dataspace filter patterns property is set to empty ("") or any as wild card (.*)

NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*' or ""