Age | Commit message (Collapse) | Author | Files | Lines |
|
A new integration test verifies that LOCKED handles that failed
module sync will be retried after a few minutes.
Issue-ID: CPS-2033
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If194daeb315090f2710a017270875b6301f7140a
|
|
- Added the spring boot uplift ticket
Issue-ID: CPS-2124
Change-Id: I55b1e246d5bce92ed0a34deb19afe4903db4a7bc
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
Issue-ID: DOC-823
Change-Id: I797b8e1058e8afe511bb9b140c75c887728ba311
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
|
|
|
|
|
|
|
|
- Create subscription cache handler
- Add unit tests
Issue-ID: CPS-2025
Change-Id: I54d505369a8429d6f6a87a2af0b169f9530622c3
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
|
|
|
|
|
|
|
|
- Implement DMI stub endpoint needed for for NCMP passthrough data
operation, returning a fixed JSON response and adding delay.
POST /dmi/v1/ch/{cmHandleId}/data/ds/{datastoreName}
- Add script to measure average overhead for many requests
Test results indicate the NCMP adds up to 150ms per request.
Issue-ID: CPS-2099
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I2aba8285f8a52f3570fc1699a8687caffa9d9c77
|
|
|
|
|
|
|
|
- removed the flag as the functionality around model loader is stable
now
- removed the config parameter from the application yaml file as well
Issue-ID: CPS-2112
Change-Id: Ie4e3317c0689615b900dcd9bbf1896bc3a5f37b3
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
- bump CPS to 3.4.5-SNAPSHOT and update the docs
Issue-ID: CPS-2120
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia2ea81b40ec19b87d3b25359fbb25ffdcc3285dd
|
|
- added container yaml to release the docker images for CPS 3.4.4
Issue-ID: CPS-2120
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I9786dd5a3fc4d1597e24304236c427c0658c44b1
|
|
- maven stage yaml to release 3.4.4
Issue-ID: CPS-2120
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iad423641f9fb214d195a6376d5c0496dff52bc79
|
|
- updated release notes for 3.4.4
- no openapi changes
Issue-ID: CPS-2120
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I1634ed15b058e50c205dcf15ad59c21cce0e4972
|
|
Issue-ID: CPS-2054
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I0a7e941bc4accfe00edaf7157df5a8ebabadb187
|
|
DMI plugin in a real deployment could only handle a limited number
of parallel connections. From CPS-1968 of testing in a realistic
deployment, 25 max connections is chosen as a reasonable default.
This allows us to simulate rate limiting with DMI stub.
Functionality has been verified by changing the max connections and
registering 5000 CM-handles. It takes:
- 120 seconds with 8 max DMI connections
- 80 seconds with 16 max DMI connections
Issue-ID: CPS-2117
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I6aaf43f721d6f2e6dcff45929fc9699e26980cdb
|
|
-Added @AllArgsConstructor to improve readability
Issue-ID: CPS-1953
Change-Id: Id457561edb8ce8c00c9c93a1453ec37da5174b38
Signed-off-by: seanbeirne <sean.beirne@est.tech>
|
|
|
|
docker-compose.yml is overriding NCMP timers, e.g. module sync timer
is overridden from default of 5 seconds to 30 seconds, which
negatively affects performance testing.
Issue-ID: CPS-2119
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic664169ddeed9cce59416dde50ec919cfcea522a
|
|
DMI stub health check endpoint /actuator/health is needed
for NCMP to set trust level. Can be verified using:
curl "http://localhost:8784/actuator/health"
which reports:
{"status":"UP"}
Issue-ID: CPS-2118
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4477a389a585280d36028b72d280028705e0f8f2
|
|
- refactored registration code all use cases; 1 method for each action
- introduce new cps error code; 111
- TODO: error reporting registration, UPDATE
Issue-ID: CPS-2100
Change-Id: I5049777ee4e08fdc94aa1db09e668e952ed8e1c3
Signed-off-by: halil.cakal <halil.cakal@est.tech>
|
|
|
|
- Upgraded hypersistence-utils-hibernate-60 to hypersistence-utils-hibernate-63
- Introduced @Qualifier annotations where needed
Issue-ID: CPS-2101
Change-Id: I8303592ed91584deb6ca5cd4e49800210b6ea989
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
|
|
|
|
Removed ImmutableTriple<String, Map<String, String>, Collection<ModuleReference>>
and replaced it with a ModuleDelta class to hold results.
Split syncAndCreateOrUpgradeSchemaSetAndAnchor into methods
syncAndCreateSchemaSetAndAnchor and syncAndUpgradeSchemaSet
Issue-ID: CPS-2027
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I95462ab55dcae7d98b9e2671fc278c4ded45f3fc
|
|
- Using absolute cps-path /dmi-registry/cm-handles is faster
than descendant cps-path //cm-handles due to CPS-2087.
- Converting DataNodes to YangModelCmHandle allows checking if
the handles are READY without needing to send additional DB
queries via cmHandleQueries::cmHandleHasState.
Issue-ID: CPS-2027
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ied7e884b0f779f394854603a7f8b186d09eb5be8
|
|
|
|
This change moves the check for no new module references into
DmiModelOperations::getNewYangResourcesFromDmi
(The method is only used by ModuleSyncService)
Issue-ID: CPS-2027
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I3cc65e7a327148ebe01b98b61dc64b70872e2cf5
|
|
This method redundantly takes cmHandleId as a parameter, even though
the DataNode representing a CM-handle is guaranteed to have the ID
in a leaf called 'id'.
Issue-ID: CPS-245
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ib10097b6e13f7188fd933d6f6913110ec664273e
|
|
- verify schema set is created
- add test case for upgarde to same tag
Issue-ID: CPS-2027
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Id853f477d2a90a86d13828a27b9269c62e1d9462
|
|
|
|
- New algorithm is implemented as per the pseudo code -> https://wiki.onap.org/display/DW/CPS-1733%3A+Upgrade+YANG+Schema-Set+for+CM+Handle+Using+a+Module+Set+Tag
Issue-ID: CPS-2027
Change-Id: I78fc1c8f927de1a1b814c3c1c62351dda58f2139
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
|
|
- CmNotificationSubscriptionNcmpOut event to inform the client about the
subscription he requested
- Testware for the same
- Code to provide the data to this producer will be part of other
patches
Issue-ID: CPS-2108
Change-Id: Ic302e798a20da54dd3c56d2cb792b800446cc2d3
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
Handling of blank moduleSetTag is very inconsistent.
Sometimes it will be returned as null, '' or 'not-specified'.
Specifically in the case of MODULE_UPGRADE_FAILED, on the retry,
a blank moduleSetTag will be returned as 'not-specified', leading
to incorrect upgrade.
Issue-ID: CPS-2027
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I3f4290dc5659c386c7b2b924325da2560d00d73b
|
|
Test changes:
- Check moduleSetTag (and alternateId) in unit test of get CM handle.
- Verify moduleSetTag is updated in tests of CM handle upgrade.
Code changes:
- Set moduleSetTag when converting a YangModelCmHandle to
NcmpServiceCmHandle.
- Set moduleSetTag in YangModelCmHandle copy constructor.
- Minor refactor using StringUtils::isBlank.
Issue-ID: CPS-2027
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I6a9a92aa58d15c6ecf5a6bb21aa5c9d6ec8dc817
|
|
- removed alternate id cache related classes and updated deployment.rst
Issue-ID: CPS-2107
Change-Id: I567af7b2f44107fceffaef370205b00a5cf79522
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
|
|
- Added infrastructure related code to read event from the dmi plugin
- Just consuming and reading the message.
- Core logic to introduced to be part of subsequent patches
Issue-ID: CPS-2106
Change-Id: Ic58f4f80b3dded32df95daecac42315fa9212f58
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
|
|
Issue-ID: CPS-2044
Change-Id: I26b209ead80add7e60b4de9257a9f5c326ddea6f
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
|
|
- Ncmp to have a producer which converts
CmNotificationSubscriptionDmiInEvent to Cloud event and then publishes
it
- For now , using the old topic prefix as topic name. Once topic names
are finalized then they can be configured
- Testware for the publishing code
Issue-ID: CPS-2103
Change-Id: I83b6ce5b6647e92313839b25492cb076e528ce3e
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
Integration tests covering scenarios of the creation and upgrade of
CM-handles with:
- no moduleSetTag
- new moduleSetTag
- existing moduleSetTag
Failing tests are marked @Ignore.
Issue-ID: CPS-2102
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id5567e08a13d8c26dc7b6458f0af8449bef6f082
|
|
- do NOT use hazelcast cache
- introduced AlternateIcChecker
- use checks during Inital registration
- TODO: remvoe Hazalcast Cache (once perf test are OK)
- TODO: use checks during UPDATE registration
- TODO: error reporting during registration
Issue-Id: CPS-2049
Change-Id: I0adcac52a7a49e26301758eafc4684152ddfcaf5
Signed-off-by: halil.cakal <halil.cakal@est.tech>
|
|
- Add NCMP to integration test base class
- Use MockRestServiceServer to mock DMI responses in groovy tests
- Added tests for CM-handle registration to READY and LOCKED states
- Add test of CM-handle deregistration
Issue-ID: CPS-2033
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I89f9f8aab2bba9d4eb5b3136a2feb238e7cf1b06
|
|
|
|
|