diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2021-09-30 16:53:42 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2021-10-01 08:42:00 +0100 |
commit | 4cbd60b974fa68cab8501e9f3e9edef134eac09b (patch) | |
tree | 2eb45ddbf569afd841d012a43ebbeaab0eb4a358 /src/test/resources | |
parent | 7e148f8eda2c5741d5c08ae37c6fd36f8d861659 (diff) |
Fix issues with SOnar Qube coverage report
-removed invalid jacoco exclude
-removed strange (generated/accidental?) comment in main pom header
-moved manually coded 'models' package (included in coverage now) to separate it
from swagger generated package/classes with same name (exluded in coverage)
-added some missing test scenarios
-increased coverage limit from 70 to 98% to prevent regression
Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I2f1c276c543926d2d259e33b418f21de4abfea96
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/GetModules.json | 4 | ||||
-rw-r--r-- | src/test/resources/application.yml | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/test/resources/GetModules.json b/src/test/resources/GetModules.json index 23fe77c2..98e41672 100644 --- a/src/test/resources/GetModules.json +++ b/src/test/resources/GetModules.json @@ -1,5 +1,5 @@ { - "operation": "read", + "operation": "${operation-for-test}", "data": { "modules": [ { @@ -15,4 +15,4 @@ "cmHandleProperties": { "subsystemId": "system-001" } -}
\ No newline at end of file +} diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml index e8ca3d01..dc30c9da 100644 --- a/src/test/resources/application.yml +++ b/src/test/resources/application.yml @@ -31,3 +31,15 @@ sdnc: auth: username: test password: test + +cps-core: + baseUrl: some url for cps + dmiRegistrationUrl: some registration url + auth: + username: some cps core user + password: some cps core password + +dmi: + service: + url: some url for the dmi service + |