diff options
author | puthuparambil.aditya <aditya.puthuparambil@bell.ca> | 2021-03-10 11:55:33 +0000 |
---|---|---|
committer | Toine Siebelink <toine.siebelink@est.tech> | 2021-03-11 14:18:19 +0000 |
commit | 2555da9a1a946920d7e42469874e94a71f40dc6d (patch) | |
tree | a11defe12c128822ab46d5327148fd4a90a5fe01 /cps-ri/src/test/groovy/org/onap | |
parent | 65816190e45f25a78b4c1498cb81c6d23d52e72e (diff) |
Fix for security hotspot related to wek cyptography
https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcurA2pnU4Plp4-j
Issue-ID: CPS-286
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: I31012f81797396682dbccae0e4992a33bac806c7
Diffstat (limited to 'cps-ri/src/test/groovy/org/onap')
-rw-r--r-- | cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceSpec.groovy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceSpec.groovy b/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceSpec.groovy index b0c13af3df..d3d3768c9f 100644 --- a/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceSpec.groovy +++ b/cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceSpec.groovy @@ -57,7 +57,7 @@ class CpsModulePersistenceServiceSpec extends CpsPersistenceSpecBase { static final Long NEW_RESOURCE_ABSTRACT_ID = 0L static final String NEW_RESOURCE_NAME = 'some new resource' static final String NEW_RESOURCE_CONTENT = 'some resource content' - static final String NEW_RESOURCE_CHECKSUM = '8185b09f11e262f18043f0ea08803f46' + static final String NEW_RESOURCE_CHECKSUM = '09002da02ee2683898d2c81c67f9e22cdbf8577d8c2de16c84d724e4ae44a0a6' def newYangResourcesNameToContentMap = [(NEW_RESOURCE_NAME):NEW_RESOURCE_CONTENT] def dataspaceEntity @@ -110,7 +110,7 @@ class CpsModulePersistenceServiceSpec extends CpsPersistenceSpecBase { then: 'the schema persisted (re)uses the existing id, name and has the same checksum' def existingResourceId = 3001L def existingResourceName = 'module1@2020-02-02.yang' - def existingResourceChecksum = '877e65a9f36d54e7702c3f073f6bc42b' + def existingResourceChecksum = 'e8bdda931099310de66532e08c3fafec391db29f55c81927b168f6aa8f81b73b' assertSchemaSetPersisted(DATASPACE_NAME, SCHEMA_SET_NAME_NEW, existingResourceId, existingResourceName, existingResourceContent, existingResourceChecksum) } |