summaryrefslogtreecommitdiffstats
path: root/dmi-stub/dmi-plugin-demo-and-csit-stub-service/src/main
AgeCommit message (Collapse)AuthorFilesLines
2024-10-25DMI simulator serving yang modules dynamicallyhalil.cakal14-153/+298
- 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_sourabh2-29/+34
- 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-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 Hanrahan4-30/+176
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_sourabh4-30/+176
- 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 implementationsleventecsanyi1-0/+36
- 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 Sourabh1-1/+1
2024-07-17Fix DMI Stub dependency issuesegernug1-1/+1
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 Pluginegernug18-0/+859
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>