Use SHA-256 for detecting changes in Consul config 47/74647/2
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Fri, 14 Dec 2018 08:10:36 +0000 (09:10 +0100)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Fri, 14 Dec 2018 08:43:36 +0000 (09:43 +0100)
commitdce766b24707cc22b4857a2705bcda8039574fbd
treed4f986c808c587aeebf7f86dd4ccefe411914a2b
parentd178c6dc0bcaf739d48f47191a20d8335a291883
Use SHA-256 for detecting changes in Consul config

String.hashCode is probably not strong enough and was not designed to be
used in that way.

Change-Id: Iecb75dcdc742d1673b81cbaa213cff69297ff6f4
Issue-ID: DCAEGEN2-1034
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
sources/hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/adapters/ConsulConfigurationProvider.kt