Test for yang file archive limitation 18/133218/7
authorhalil.cakal <halil.cakal@est.tech>
Thu, 9 Feb 2023 15:51:57 +0000 (15:51 +0000)
committerhalil.cakal <halil.cakal@est.tech>
Mon, 13 Feb 2023 10:52:27 +0000 (10:52 +0000)
commit616c359cab363e2ac4b1f3938927a9de661db12e
tree952c2882740ae5c207b556e246b80cb7b38da7f2
parentdb90c8758d43b1daab09c760a3fe3102d772d7df
Test for yang file archive limitation

- add new test
- fixed misleading method names

Issue-ID: CPS-1480
Change-Id: I9dd8f41d0acfc8b1c063aab65567d619670f4905
Signed-off-by: halil.cakal <halil.cakal@est.tech>
cps-rest/src/main/java/org/onap/cps/rest/utils/MultipartFileUtil.java
cps-rest/src/main/java/org/onap/cps/rest/utils/ZipFileSizeValidator.java
cps-rest/src/test/groovy/org/onap/cps/rest/utils/MultipartFileUtilSpec.groovy
cps-rest/src/test/groovy/org/onap/cps/rest/utils/ZipFileSizeValidatorSpec.groovy
cps-rest/src/test/resources/yang-files-set-total-1083-bytes.zip [new file with mode: 0644]