summaryrefslogtreecommitdiffstats
path: root/dmi-stub
AgeCommit message (Collapse)AuthorFilesLines
2024-11-29[DMI] Fix for dmi stage-release jobsourabh_sourabh1-1/+1
- Used dmi group as static value. - Made mvn dependency plugin inherited true explicitly. Issue-ID: CPS-2470 Change-Id: Ia7a5f644b13c4f219cf45deaef52b595656bc3ee Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-28Correcting the src openapi pathmpriyank1-2/+2
- correcting the input path for openapi for dmi plugin and datajob to read it from dmi-service as that is the master copy. - During the release process , the generated files in dmi-service/target directory need to be copied to ncmp-dmi-plugin/docs.. relevant directory Issue-ID: CPS-2531 Change-Id: Ib751d4d40fb3fd6633ce13c5d14d6aa6586136e9 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-11-27[DMI] Used global variable for ncmp-dmi-plugin group idsourabh_sourabh1-1/+1
Issue-ID: CPS-2499 Change-Id: I1bf8acba1134107b2cf1e51880e169524f3c8c54 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-26[DMI] Fix for DMI merge master Jobsourabh_sourabh3-6/+6
- ncmp-dmi-plugin group id is changed from "org.onap.cps" to "org.onap.cps.ncmp-dmi-plugin" Issue-ID: CPS-2499 Change-Id: I6db7093c48c0f11ca2ef172458951a379d42d255 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-21Revert "[DMI] Fix for DMI merge master Job"Sourabh Sourabh23-0/+1823
This reverts commit 726bc9b79335022f5e4174454972dee7f563a1c3. Issue-ID: CPS-2499 Reason for revert: Merge master job is still failing Change-Id: Id5331489f88e8e0c2f90e6c96c306d990d19293e Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-20[DMI] Fix for DMI merge master Jobsourabh_sourabh23-1823/+0
- removed dmi stub module Issue-ID: CPS-2499 Change-Id: I701071d408c008bcf36b374b38590a2d190c7a16 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-20[DMI] Fix for DMI merge master Jobsourabh_sourabh23-12/+14
- module names of onap dmi and stub is changed - reverted to 1.6.0-SNAPSHOT Issue-ID: CPS-2499 Change-Id: I2ca6f98ceb38bfc366997358ab9ecb0624098ac9 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-20[DMI] Fix for DMI merge master Job workingsourabh_sourabh1-1/+27
- Configured ECOMP snapshot and release repository for onap dmi and stub with root. Issue-ID: CPS-2499 Change-Id: I65aa559e5460b418c1a002a1e486e474500f1d00 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-19Fix for DMI merge master Job workingsourabh_sourabh1-1/+1
- Docker image name od dmi and stub is changed. Issue-ID: CPS-2499 Change-Id: Ib012cc3e319c5d071208b971146418e493e26da0 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-19Fix for DMI merge master Job workingsourabh_sourabh3-4/+3
- Bumped DMI version from 1.6.0-SNAPSHOT to 3.5.5-SNAPSHOT Issue-ID: CPS-2499 Change-Id: Ieeba324330080f5dc5f8723a7d8d6f37aa7945ca Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-18Fix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to ↵sourabh_sourabh2-2/+3
nexus3.onap.org Issue-ID: CPS-2499 Change-Id: Iba0141c5d1d51712ae2a17b7ffb1daeb2cdc19db Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-18Fix for DMI Merge job to address HTTP 403 issue while uploading dmi jar to ↵sourabh_sourabh2-0/+2
nexus3.onap.org Issue-ID: CPS-2499 Change-Id: I18929479c73218d59296dcee8e28c50ff2da3a00 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-18Fixed the java code checkstyle configuration and jacoco reportsourabh_sourabh3-4/+93
- Removed oParent dependency. - pulled cps checkstyle and applied for all dmi modules for code style check and copyright. - Ignored checkstyle folder for to be commited. - Fixed java code styles. - Added missing plugins and configurations for jacoco report. - Configured deply plugin and related onap properties. - Temporarily disabled CSIT. Issue-ID: CPS-2471 Change-Id: I5a26c2a156b93c3e58c5c42814f1dff85831d4df Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-11-13Fix for cps-ncmp-dmi-plugin-maven-merge-master jobsourabh_sourabh2-75/+2
Issue-ID: CPS-2496 Change-Id: I66f3a215188eed6dd7c83a52ce831d97f9c0db46 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-10-25DMI simulator serving yang modules dynamicallyhalil.cakal18-158/+304
- all modules and module references are created once, then are served as requested - 5 module-set-tag supported from tagA to tagE - 200 yang modules per module-set-tag - module sizes are fixed at 32KiB each - the average response size is 200 * 32KiB = 6.4MiB for each Issue-ID: CPS-2410 Change-Id: Ie7ac73b8c0bd464b114a8d76104db4b569ae36f4 Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-10-23Added maven-checkstyle-plugin to parent POM for code style checkssourabh_sourabh3-29/+35
- Integrate Checkstyle to enforce coding standards across modules. - Ensure Checkstyle applies to both dmi-service and dmi-stub modules. - Fixed all code check style issues. Issue-ID: CPS-2461 Change-Id: Ie84928c1f2e3de549cc8fab2001974369884a831 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-09-06Update cps version in DMI pluginmpriyank1-1/+1
- updated cps version to 3.5.2 i.e the latest released version - updated corresponding dependant code from cps ncmp - Fixed the testware Issue-ID: CPS-2401 Change-Id: I8c3ed7cbdef11a195b86088006fd0e1e7642a572 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-09-02Expose healthchecks for DMI stubdanielhanrahan1-1/+7
This allows using /actuator/health/readiness probe, etc. This is part of a larger story to add healthchecks to docker-compose used in CSITs and k6. Issue-ID: CPS-2376 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iaf62fc935b5fa8d512deea0cac1d4008ca175bb6
2024-09-02Fix to allow disabling initial module delay in DMI stubdanielhanrahan1-1/+1
This fix is needed to disable initial module delay. If initial module delay is set to zero, some first requests will still fail due to comparison being 0 > 0 == false. Issue-ID: CPS-2353 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I26869a146759312718c48f2a840234786b3ee229
2024-08-30Change module set tag responses to include ietf-yang-typesdanielhanrahan8-8/+44
It is needed for k6 tests of module search returning 20k that all module sets share a common module. Issue-ID: CPS-2353 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id075e17efce88aee10f79f70cb36e9627307b148
2024-08-30Merge "Modified dmi plugin stub behavior for EACH new module set tag"Daniel Hanrahan5-30/+180
2024-08-26Fixed URL for data job resultleventecsanyi1-8/+6
- fixed opeanapi and stub - updated pnp simulator image Issue-ID: CPS-2296 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I6654762256097f9deb8ce40cfc8014bed67cb269
2024-08-15Refactored dat job interfaces - result endpoint changed is a separate commitleventecsanyi1-11/+13
-changed openapi and stub implementations Issue-ID: CPS-2360 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: Ib7d826f5909278309b7c16dc5caaabbe5f01732b
2024-08-14Corrected Resource location for Stubmpriyank2-2/+2
- eliminate nullpointerexception from the DMI Stub logs Issue-ID: CPS-2313 Change-Id: Iccfce28b3ccacb55b14a16525dcc621b4e1ae675 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
2024-08-14Modified dmi plugin stub behavior for EACH new module set tagsourabh_sourabh5-30/+180
- Dmi plugin stub controller (getModuleReferences and getModuleResources) is modified to send http 503 for any module set tag from 1st request time till 2 mins. - After 2 mins or later any number of request having same module set tag, stud would send http 200 with module references. Issue-ID: CPS-2353 Change-Id: Ie44b7e80fee90c919f5fa9ec53419283088112ac Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
2024-07-26Get data job resultleventecsanyi1-1/+22
- extended openapi - added not-implemented http error for result endpoint - added testware - added stub implementation - fixed writeDataJob bug in stub Issue-ID: CPS-2296 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: I9398cb73b635bec360df886372690187ff54e0d4
2024-07-19Added DataJob related stub implementationsleventecsanyi3-7/+96
- updated pom.xml - added dataJob related code to DMI Stub controller - uplifted swagger core dependency Issue-ID: CPS-2323 Signed-off-by: leventecsanyi <levente.csanyi@est.tech> Change-Id: If30e1fad31daec004ad67dd3f2be1815aeb538b2
2024-07-17Merge "Fix DMI Stub dependency issues"Sourabh Sourabh4-33/+55
2024-07-17Fix DMI Stub dependency issuesegernug4-33/+55
Issue-ID: CPS-2321 Change-Id: I8d2b597aa7b537d29db7da6d60edeaa99fb2b76d Signed-off-by: egernug <gerard.nugent@est.tech>
2024-07-16Separate dmi delay for passthrough operationshalil.cakal2-5/+25
- set dmi delay to 670 ms for passthrough write (CUD) - set dmi delay to 300 ms for passthrough read Issue-ID: CPS-2285 Change-Id: I38f3db688fa311e6e25515909ea583dd76ee90dc Signed-off-by: halil.cakal <halil.cakal@est.tech>
2024-07-12Relocation of DMI Stub to DMI Pluginegernug24-0/+1281
Move the DMI Stub into Plugin to use generated code classes Changes: -Created dmi-stub module -Changed dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml dependency from cps-ncmp-rest to cps-ncmp-events -Added extra required dependencies to dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml -Included EventDateTimeFormatter in dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/utils -Included dmi-stub in pom.xml Issue-ID: CPS-2145 Change-Id: Ibf0c9601564d3b38979c07c6a00d622cf763bf6b Signed-off-by: egernug <gerard.nugent@est.tech>