...
- CPS-1065 Spike: CM data notifications from NCMP to applications including subscriptions Skip to end of metadata
- Related JIRA: CPS-1496 Model Subscription status
Assumptions
Issues & Decisions
...
The following yang model will be used to store the payload information of subscription data
Previous Update:
Latest Update:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
module subscription { yang-version 1.1; namespace "org:onap:ncmp:subscription"; prefix subs; revision "2022-10-12" { description "NCMP subscription model"; } container subscription-registry { list subscription { key "clientID clientName"; leaf clientID { type string; } leaf clientName { type string; } leaf topic { type string; } leaf isTagged { type boolean; } container predicates { leaf-list targets { type string; } leaf datastore { type string; } } list respondedCmHandle { key "cmHandleId status"; leaf cmHandleId { type string; } leaf status { type string; } } } } } |
Note:
leaf-list dmi-service-names : added as part of
Jira | ||||||
---|---|---|---|---|---|---|
|
Onboarding via docker container
Starting CPS requires running the project via a docker-compose file wherein the following services/containers are set up:
...
-
- Service/Container 'init-db' is built from a customised image supported by a Dockerfile containing the following:
Image from Dockerfile is based from postgres image and added 'curl'
Code Block # syntax=docker/dockerfile:1 FROM postgres:14.1-alpine RUN apk --no-cache add curl
- Service/Container 'init-db' is built from a customised image supported by a Dockerfile containing the following:
POC: init-db container log output
Onboarding via JAVA / Spring boot