Introduce cmSubscriptionEventCache 50/136950/3
authormpriyank <priyank.maheshwari@est.tech>
Tue, 9 Jan 2024 11:32:38 +0000 (11:32 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Wed, 10 Jan 2024 12:46:13 +0000 (12:46 +0000)
commit34ac8e767246788afb5eeefa221acb5e587f568d
tree3032f622d4c0d9265c06df8edbd57a893f07f63c
parent8e617d64a7725f5fb0f0f31a5c551ff3e1e484de
Introduce cmSubscriptionEventCache

- inmemory datastructure to keep track of the ongoing subscriptions
- Test cases to cover cache config and sample data test
- Use of cache will be in other patchsets after this

Issue-ID: CPS-2022
Change-Id: Ic6cd22cceaeacb9c7184f42c1ebfac28303f2c26
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/config/embeddedcache/CmSubscriptionEventCacheConfig.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/model/CmSubscriptionCacheObject.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/model/CmSubscriptionPredicate.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/model/CmSubscriptionStatus.java [new file with mode: 0644]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/cmsubscription/model/ScopeFilter.java [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/config/embeddedcache/CmSubscriptionEventCacheConfigSpec.groovy [new file with mode: 0644]
docs/deployment.rst