Age | Commit message (Collapse) | Author | Files | Lines |
|
This fixes bug CPS-2474, handling various edge cases, such as
CM handles being deleted during module sync.
- Change moduleSyncWorkQueue to store CmHandleId instead of DataNode.
- Freshly fetch Cm Handles in module sync task, so latest CM-handle
state is used, and only process ADVISED CM handles in module sync.
Issue-ID: CPS-2474
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I53d5796c56014a2bfbe5b1c3f17d3991e4feef53
|
|
- moved common classes under the api package
- moved Spec files
Issue-ID: CPS-2512
Change-Id: I88046280ce359ce8cc488ad37d4e6f85406b0dbf
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
|
|
|
|
-Remove getCmHandleDataNodeByAlternateId(s) methods and replace with
Yang Model methods
Issue-ID: CPS-2486
Change-Id: I2c9c96f033b3b1eefadb7eff14c91f9a936630e6
Signed-off-by: seanbeirne <sean.beirne@est.tech>
|
|
|
|
|
|
Effective trust of a CM handle should be the trust level of the
handle or the DMI, whichever is lower. Currently, effective trust
level of a CM handle is not reported correctly when the DMI is down,
as DMI trust level is not considered.
- Add DMI service names to NcmpServiceCmHandle
- Introduce new DmiServiceNameResolver class
- Correctly calculate effective trust level
Issue-ID: CPS-2375
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iaded0fadad58d960eb76c69f79a308df8329e534
|
|
- add healthcheck to ensure prometheus service is running correctly and
restarts it if it becomes unhealthy
- set the data retention time to 30d
- update readme
Issue-ID: CPS-2466
Change-Id: I0f6186f8577e8e0113831ed040298b823e33d624
Signed-off-by: halil.cakal <halil.cakal@est.tech>
|
|
|
|
- assing port range to cps-and-ncmp service to plot metrics
separately
Issue-ID: CPS-2536
Change-Id: Ic097017bbcca25f28341e8e77f658a0a4e8964d7
Signed-off-by: halil.cakal <halil.cakal@est.tech>
|
|
|
|
|
|
Issue-ID: CPS-475
Change-Id: I572227b4f6c61bd2286d8cb3fb85c3dc21142a47
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
|
|
Issue-ID: CPS-776
Change-Id: I768da4e9d9a1e75d2cc1fa879a5237efb4c7421f
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
|
|
- Added a performance section to the release notes
- Populated the correct info.version for NCMP and CPS Rest interfaces
Issue-ID: CPS-2537
Change-Id: Iae07da57fc45100b4d250fcfb86a95079869b221
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
Following TDD, functional acceptance tests are added for
attribute-axis feature. This covers xpaths such as '//books/@title'
- Add stub to CpsQueryService throwing UnsupportedOperationException
- Add tests showing expected behaviour (tests currently ignored)
- Implementation will be provided in following commmit for CPS-2416
Issue-ID: CPS-2416
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I71817e66b28dfc21e7b75243fd0135f3cceddb8e
|
|
|
|
|
|
Some performance improvements were made over last months,
so this commit adjusts expected performance to match.
Issue-ID: CPS-1975
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iff6a303e8424a9d8d8b1effe27724844eadbf7fd
|
|
- Update the minor version of cps.
- New version being 3.6.0-SNAPSHOT now.
Issue-ID: CPS-2488
Change-Id: I87fb29fe45dc942b258bc1d45e09a3351739539b
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
This uses IMap::getAll(setOfKeys) to bulk read trust levels.
This reduces CM-handle search time by a third.
Issue-ID: CPS-2420
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ie63b45a76bee146def537b749074ecbb7715e6fc
|
|
Add grammar and tests for attribute-axis to match cps paths like:
//books/@title
which should return the titles of all books (a subsequent patch will
implement the logic). The syntax is compatible with XPath standard.
Issue-ID: CPS-2416
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I25164b23670147c504f0f0f6c0cc8ff15997f2a3
|
|
Issue-ID: CPS-2488
Change-Id: Ib17e4283de959ec4aab3c68bb3ba8018a10a10b2
Signed-off-by: egernug <gerard.nugent@est.tech>
|
|
|
|
Issue-ID: CPS-2488
Change-Id: Ie09e3239e1bcb1878b43f8201595f0aea175bfa9
Signed-off-by: egernug <gerard.nugent@est.tech>
|
|
Issue-ID: CPS-2488
Change-Id: I04d65ba05e24b64932c887eea039f3ab05157702
Signed-off-by: egernug <gerard.nugent@est.tech>
|
|
|
|
- Added release notes for the features that were delivered in 3.5.5
version of CPS
Issue-ID: CPS-2488
Change-Id: I31e863430a5aff41814bed0a4d39ef8546b8e617
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
|
|
|
|
|
|
- Testware updates to measure time spent for de-registration
- Removed orphan check from module delete methods
- Using @scheduled to run Db Cleaner method once
(see https://lf-onap.atlassian.net/wiki/spaces/DW/pages/52494359/CPS-2478+Module+Sync+Inefficiencies#De-Registration:-Test-Measurements-With-and-Without-Orphanage-removal for reasoning)
- Updated integration tests to call orphan check where need (after schema set deletion)
Issue-ID: CPS-2478
Change-Id: I513af9d8bb88486a242284b58e0363a527346dd4
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
|
|
Here to bring Support for XML Response Entity in Replace List content
- Add ContentTypeInheadr in cpsData.yml to support application/xml
- Add contentTypeInHeader parameter to accept xml in DataRestController.java
- Modify the code return xml Data
- written testcase for above changes made
Issue-ID: CPS-2411
Change-Id: Ibb7ffb66ccdd03703266123c6d5c2eade0e7cb4a
Signed-off-by: Rudrangi Anupriya <ra00745022@techmahindra.com>
|
|
Use streams to simplify logic
Issue-ID: CPS-2416
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I1c37ac9c2fa7543e94f8cd60447f4a879a7376f7
|
|
|
|
|
|
- Reverted DMI_VERSION to latest Ncmp-dmi-Plugin 1.6.0-SNAPSHOT-latest
for CSIT.
- Corrected dmi-stub docker image name from "dmi-plugin-demo-and-csit-stub" to "dmi-stub"
Issue-ID: CPS-2499
Change-Id: I99087b7230a40e958b3b789549a4a8e4c9dd0341
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
|
|
Currenty ancestor axis is implemented in Java using regex,
which then sends a second SQL query to fetch ancestors.
Implementing ancestor axis in SQL is more efficient, and is
needed for limiting/paginating Cps Path Query results.
Issue-ID: CPS-2416
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I0d8933f86c5a422f366ad7c417a17e263a13960f
|
|
getFragmentEntity is an internal method only used for resovling
parent xpaths. The root xpath handling is never reachable.
- Remove root xpath handling in getFragmentEntity
- Clean up unneeded FragmentRepository code
Issue-ID: CPS-2511
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I910065bdb2e7c5fbb7c67af87f3f68af6c0fd4e0
|
|
|
|
- Extract common code to reduce duplication.
- Move private methods below public methods, and
move private static methods to bottom of file.
- Note some private methods are left in-place due to
checkstyle rules (method overloads belong together).
Issue-ID: CPS-2365
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I088a5340e315d55aaf427444bdbfdcadf918464a
|
|
Presently, Cps Path Parser will wrap numbers in quotes when
normalizing or getting parent path, which can lead to invalid paths.
For example:
/books[@price > 15]
will be normalized to:
/books[@price>'15']
This causes trouble when running queries on normalized paths:
(CpsPathException: "can use only > with integer")
Note this patch will still normalize numbers to string for equality:
/books[@price='15']
Much existing code relies on this, and it does not cause problems.
Issue-ID: CPS-2365
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I15d326ad7db2311b64c636283a4d52623a125176
|
|
Issue-ID: CPS-2510
Change-Id: I4093459c824c202dc8dec4b869e338d4b80fbac8
Signed-off-by: seanbeirne <sean.beirne@est.tech>
|
|
Issue-ID: CPS-2478
Change-Id: I0aa3804225f053ff99176056fe71322a23cff31c
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
|
|
- have one ncmp-test-runner.js with different configs: kpi.json and
endurance.json
- move scenarios and thresholds settings into the json configs
Issue-ID: CPS-2444
Change-Id: I72f65036dc3f7762284b32903e1d05474dbed6c2
Signed-off-by: halil.cakal <halil.cakal@est.tech>
|
|
Recent changes for XML support have made Content-Type header
mandatory, where before it was not. This change makes CPS
default to JSON if Content-Type is not specified.
Issue-ID: CPS-2517
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic3718bfe7aedd6fe9dbd978f520179b184c9c932
|
|
|
|
Issue-ID: CPS-2510
Change-Id: I7068d0de45cc2c2e5d8815f0e78c260369f3551e
Signed-off-by: seanbeirne <sean.beirne@est.tech>
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
|
|
Add tests of following rest endpoints, including error scenarios:
- /ncmp/v1/ch/${cmHandleReference}/modules
- /ncmp/v1/ch/${cmHandleReference}/modules/definitions
Change-Id: Ia4b5a638345840970794c7ae93dfd44e5ea62252
Issue-ID: CPS-2509
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
|
|
|
|
|