summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service
AgeCommit message (Collapse)AuthorFilesLines
2018-11-27Update vfc version to 1.2.2casablancafujinhua1-2/+2
Change-Id: I351562e2f47f6c5b281725dbe39a2e357792ded1 Issue-ID: VFC-1194 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn> (cherry picked from commit 85fe2583e93a34aeaecd2bc87474275fff296b2e)
2018-11-15Fix vulnerability issue in resmgrVictor Gao4-73/+25
upgrade springframework from 3.x to 4.x CVE-2016-6812 CVE-2018-1270 CVE-2018-11039 SONATYPE-2015-0002 CVE-2014-3578 CVE-2018-1257 CVE-2017-12624 CVE-2018-8039 Change-Id: I59014c277df9bf201bb672a108a82a2deb0ed95b Issue-ID: VFC-1187 Signed-off-by: Victor Gao <victor.gao@huawei.com> (cherry picked from commit ea18924cd5505f5e36ea58e7424db54c41db4605)
2018-11-08Update version from 1.2.0 to 1.2.13.0.1-ONAP3.0.0-ONAP1.2.1fujinhua1-2/+2
Change-Id: I92adbaf3924f3d9eca9e6c4029e8f17dec143e26 Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-10-11Update pom and docker version of resmgrVictor Gao1-2/+2
Change-Id: I9661d9453a06c5ee66eefca6753604c014e21438 Issue-ID: VFC-1144 Signed-off-by: Victor Gao <victor.gao@huawei.com>
2018-09-19Improve coverage of SitesImplThamlurRaju1-16/+187
7 breaches need to cover to reach 65% Coverage Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe6i-08if2a6pmA7&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/base/openstack/impl/SitesImpl.java Change-Id: Ief517154f1c5dc20b746e1f01793a25878bae971 Issue-ID: VFC-1081 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-09-17Fixing sonar issue in HttpsRest.javaSooriyaa1-3/+4
Fixing sonar issue in HttpsRest.java Issue-ID: VFC-1134 Change-Id: Icd1ce2aa6ec571d8ee68a61bee09fe02bb3dacfa Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-10Returning expression instead of variableSooriyaa1-3/+1
Returning expression instead of variable Issue-ID: VFC-1103 Change-Id: I1faf8ab5e574879fdcc537b86ecadc4d4502ba3a Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-08-21fixing major Sonar IssueThamlurRaju6-0/+136
12 more branches need to be covered to reach 65% coverage Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4u-08if2a6pmAh&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/RestfulConfigure.java Change-Id: Ib400c61e307085dcaa8525a0d24fb167b3edf2ce Issue-ID: VFC-1043 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-21fixing major Sonar IssueThamlurRaju1-6/+22
Add a nested comment explaining why this method is empty Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4M-08if2a6pmAJ&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java Line No- 84 90 107 113 124 130 147 153 Change-Id: I69ae7d5768b4e6faa1b8ffbd434013739f287ecd Issue-ID: VFC-1042 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-21fixing major Sonar IssueThamlurRaju1-0/+2
Add a nested comment explaining why this method is empty Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4M-08if2a6pmAI&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java Line No- 73 Change-Id: If862b880630895e3790773259142d38fdb55d4c9 Issue-ID: VFC-1040 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-21fixing major Sonar IssueThamlurRaju1-0/+2
Add a nested comment explaining why this method is empty Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe4M-08if2a6pmAH&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java Line No- 67 Change-Id: Ib247e0f072d349fc04d8ce4a1fa8ed14eab91bac Issue-ID: VFC-1039 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-20fixing major Sonar IssueThamlurRaju1-0/+211
18 more branches need to cover to reach the minimum 65% Coverage Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpe3K-08if2a6pl_t&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/RestfulUtil.java Change-Id: Idb8e1138d92de8206115b51e76bb9c2652634d76 Issue-ID: VFC-1036 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major Sonar IssueThamlurRaju1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpfC2-08if2a6pmB4&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/LocationRoa.java Line No- 185 Change-Id: I0eb22107fa281b6117fceeaa87fba12a27091fcb Issue-ID: VFC-1035 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major Sonar IssueThamlurRaju1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpfDZ-08if2a6pmCN&resolved=false&severities=MAJOR&types=CODE_SMELL Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java Line No- 100 Change-Id: I83880e70d7c3dd91b8f344bf01b2184d83b612d0 Issue-ID: VFC-1034 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major Sonar IssueThamlurRaju1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV8lpfDZ-08if2a6pmCM&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/rest/SitesRoa.java Line No- 78 Change-Id: Ia7abcafbf1b7576178378b98099a1f0155280d32 Issue-ID: VFC-1033 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major Sonar IssueThamlurRaju1-1/+0
Remove this unused This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&open=AV81F2WC-08if2a6qGus&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/dao/impl/aai/VnfAaiDaoImpl.java Line No- 151 Change-Id: I99b9855c1bc500c784af9d9241f96cbb3d4c0290 Issue-ID: VFC-1032 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-17fixing major IssueThamlurRaju1-7/+0
Remove this unused This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java Line No- 88 90 93 Change-Id: Ifebd451288143d067fe35dbdce467f5323f01e35 Issue-ID: VFC-1029 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-08-16fixing major IssueThamlurRaju1-2/+0
Remove this unused TYPE_DELETE private field Sonar Link: https://sonar.onap.org/project/issues?assignees=ThamlurRaju&id=org.onap.vfc.nfvo.resmanagement%3Avfc-nfvo-resmanagement&resolved=false&severities=MAJOR Location: src/main/java/org/onap/vfc/nfvo/resmanagement/service/business/impl/SitesBusinessImpl.java Line No- 52 Change-Id: I1afa837c1ad339b89c2b31f6a5a417a0373ac7a1 Issue-ID: VFC-1028 Signed-off-by: ThamlurRaju <thamlurraju468@gmail.com>
2018-07-26Merge "Update VimID in grant interface as optional"Yan Yang1-2/+10
2018-07-20FIX USING TRY WITH RESOURCESKrishnajinka1-29/+4
ISSUE RAISED BY SONAR ABOUT CLOSING RESOURCES OPENED EFFICIENTLY USING TRY WITH RES CONSTRUCT Issue-ID: VFC-966 Change-Id: I11d0bf12300fe6b47dd8ac63d03d32864de41808 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-05-30Fix API change from accessinfo to accessInfov1.1.02.0.0-ONAPbeijing2.0.0-ONAPDenes Nemeth1-3/+3
Change-Id: If3720aaa67ca46edadc9558cf9cf7967b76353f9 Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-927
2018-05-03Update VimID in grant interface as optionalVictor Gao1-2/+10
it should be optional from VNFM and Resouce Manager could provide the specific vim by specific rules (e.g. storage first or performance first). but for now,we dont have the interface/capability to pass the "rules"to resource Manager. resource Manager could integrate OOF which may provide this capabilities or interface. Change-Id: I91faba8d573680beecf81dc88a252e34150b3b0b Issue-ID: VFC-604 Signed-off-by: victor.gao <victor.gao@huawei.com>
2018-04-04Update spring-web versionluxin1-1/+1
Change-Id: I8db4aecff68958cb3bd7fe46871975ced6ddd728 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-04-03Fix spring-web nexus-iq issueluxin1-1/+1
Change-Id: I23c38d19446a70ecc7e525b80f4f8f52e49be60a Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-23Update jackson-jaxrs version to latestluxin2-5/+12
Change-Id: Ic37447f0c2b6e6cb9f7b848c4ccc3e424d8d4713 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-15Update resmanage log pathluxin1-2/+3
Change-Id: I13907bf673dc5d032a5acc1428af9327afec0837 Issue-ID: VFC-816 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-14Specify the output path of logluxin1-1/+6
Change-Id: Icfae31f3626a781d14d88f37343dda6056416dfc Issue-ID: VFC-816 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-05Update jackson versionluxin1-43/+51
Change-Id: I9c909349044874560b3d0d0b14351d7a8d7b1941 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-02Merge "Replace mysql connector with MariaDB connector"Gao Weitao2-2/+9
2018-03-02Replace mysql connector with MariaDB connectorluxin2-2/+9
Change-Id: I11e7b976328ef914da41d4546f505def3f06527e Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-26Improve coverage of res mgr hwKanagaraj Manickam k003651062-6/+28
Issue-ID: VFC-764 Change-Id: I26052d87054fb447fa5c0da0d22dd90e1b69cbf5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-22Improve realiabilty by using sleep instead of waitKanagaraj Manickam k003651061-6/+1
Issue-ID: VFC-764 Change-Id: I6b91a1c3d5655eb0bdae9549f4d630094c55df8e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-20Sonar fix for improving maintainabilityKanagaraj Manickam k003651062-4/+6
Issue-ID: VFC-764 Change-Id: I73e952241d07c543a3e3d02e6de9cbecf724a9b7 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-16Improve code reliabilityKanagaraj Manickam k003651063-20/+31
Issue-ID: VFC-764 Change-Id: Ie2319959be8ebb28025f1c99abdd231fba96f0a3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-16Make sure the streams are closed properlyKanagaraj Manickam k003651061-19/+9
Issue-ID: VFC-764 Change-Id: Ic7544a690a5bd64582344946fd8c419ad7b89ca6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
2018-02-11UT case increase for grant resourceluxin3-0/+178
Change-Id: Ia077192aa8cc4b781fc1b107debcdad158ac6f13 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-11Add UT case for grant resourceluxin1-0/+90
Change-Id: I4989145288ecd3b971d64f5565308aabbb485ba0 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-11Increase test for GrantResServiceImplluxin1-0/+48
Change-Id: Iaa1ddba7bb79f9fd620186d8ed4b380687a29089 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Add UT for NsEntityluxin1-1/+15
Change-Id: Ie1cdb7487b8fcc3b772c85644ffb17e31b26a2c4 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Add nsEntity test caseluxin1-0/+49
Change-Id: Ieeda965a313ea4edf7a0d42b3ed2e0af0e317a8e Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Add test case for resmgrluxin1-0/+51
Change-Id: I2818886baaa5d9b6a0be6324b8f991dc12700e0c Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-09Remove unused UT for resmgrluxin2-97/+28
Change-Id: I9b8fa5a83d49972795d30ecc47cc861da7a75001 Issue-ID: VFC-747 Signed-off-by: luxin <luxin7@huawei.com>
2018-02-03description Replaced by constantluxin2-4/+7
Change-Id: Ieeee362199b2d3b9b74f3cf6d75d26b58ad7f6dc Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-30Fix the failed UT caseluxin1-2/+1
Change-Id: I35aea98170b1fd9cd7fac486dd161af5f52486fd Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-30Handle the contextluxin1-4/+4
Change-Id: I0a9b7c3cf4d11151c2184a52704fc8783537b1d5 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-30Remove printStackTrace of exceptionluxin1-10/+0
Change-Id: Icc2749ba0d5de8875102b78846064326a3d6d281 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-29Log the exceptionluxin1-0/+10
Change-Id: Ie5e8fa43f583d20ba6290377be719febea0b85de Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-27Define constant instead of literalluxin1-33/+45
Change-Id: Ied92dbab134e37b3be949e420c9f7579ef18f304 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-25vimId Replaced by PARAM_VIMIDluxin1-4/+4
Change-Id: Idcde7837f0734e5980caaa7641310b2c01b3d798 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>
2018-01-24vnfInstanceId Replaced by constantluxin2-5/+8
Change-Id: I059ea8917d46bb7eed009f5ccb01419857c6c0e1 Issue-ID: VFC-672 Signed-off-by: luxin <luxin7@huawei.com>