Handle duplicated yang resource exception when creating schema set 42/140242/5
authorhalil.cakal <halil.cakal@est.tech>
Tue, 18 Feb 2025 10:24:54 +0000 (10:24 +0000)
committerhalil.cakal <halil.cakal@est.tech>
Thu, 20 Feb 2025 16:41:23 +0000 (16:41 +0000)
commitdfc9aa481470129710746d3e614f0b394548312a
tree8ad4e0cd2905be3ceb48a3ff500b10e618f916f7
parent95ccf6ea91a5b995706302e2ef54a69151e8d87e
Handle duplicated yang resource exception when creating schema set

- catch and log duplicated yang resource during schema set creation
- there may be other exception when the app started however there will
  be a tech. dept ticket for them thus please review this commit for
   only duplicated yang resource exception

Issue-ID: CPS-2647

Change-Id: Idf6063cb8328efc667516f09d25ad6c4c6fd8186
Signed-off-by: halil.cakal <halil.cakal@est.tech>
cps-service/src/main/java/org/onap/cps/init/AbstractModelLoader.java
cps-service/src/test/groovy/org/onap/cps/init/AbstractModelLoaderSpec.groovy