summaryrefslogtreecommitdiffstats
path: root/ResmanagementService
AgeCommit message (Collapse)AuthorFilesLines
2020-03-05Remove sudo capability for onap user for VF-C resmanagement dockeryangyan3-58/+74
Change-Id: Iee12bf6a1211cab2a97ea9985eeec883e9ecdff5 Issue-ID: VFC-1640 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2020-02-26Resmanagement commons-beanutils vulnerability fixprakash.e1-0/+9
Excluded common-beanutil from its parent jar and included explicitly Change-Id: I752ab71686e7b6527d9ded5d8eeb223049c083e0 Issue-ID: VFC-1598 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2020-02-21resmanagement lof4j vulnerability fixprakash.e53-189/+169
Reverted back log4j fix changes and merged with actual fix by upgrading the version Change-Id: I9c4ec1673565a62c37842eaf34647f96561fd375 Issue-ID: VFC-1598 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2020-02-20Fix error about coverageyangyan1-29/+0
Change-Id: I71fdf4bf7225c16eda7113597bc652bb14cfee3d Issue-ID: VFC-1619 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2020-02-19Fix error about coverageyangyan1-0/+28
Change-Id: I601f7fbe53fd864f20db0275db06ab8411f75702 Issue-ID: VFC-1619 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2020-01-28Fix vulnerability issue in Resmanagementsonibhanu1-0/+40
Added the file log4j2.properties Change-Id: Ic003f79caa5ee0f97464935531d1bf7f262a243c Issue-ID: VFC-1598 Signed-off-by: sonibhanu <bhanu.soni@huawei.com>
2020-01-13Fix vulnerability issue in Resmanagementsonibhanu53-163/+180
Fixed common-beanutil, log4j and jackson vulnerability issues. Change-Id: I043b0a4b9ff8285e1da7a340a1a90d863623f8fc Issue-ID: VFC-1598 Signed-off-by: sonibhanu <bhanu.soni@huawei.com>
2019-04-12Remove useless Comment1.3.0dublinVictor Gao5-20/+4
Issue-ID: VFC-1357 Change-Id: Ice5daba8ebaa32dc63910bc578b672b4eac17822 Signed-off-by: Victor Gao <victor.gao@huawei.com>
2019-04-11fix security issueyangyan1-1/+1
Issue-ID: VFC-1282 Change-Id: I17d82169cd8fd3b1e7be0753a4a1c74261143c9f Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2019-01-25update vfc version to 1.3.30yangyan4-7/+7
Change-Id: I62a2974154fab6d8cb26740610d734cb5a1f886a Signed-off-by: yangyan <yangyanyj@chinamobile.com> Issue-ID: VFC-1252
2018-11-27Update vfc version to 1.2.2fujinhua4-7/+7
Change-Id: I351562e2f47f6c5b281725dbe39a2e357792ded1 Issue-ID: VFC-1194 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-11-15Fix vulnerability issue in resmgrVictor Gao1-0/+11
update commons-collections version to 3.2.2 Change-Id: I855d36d0b409ab77992d042037c837806dcafb15 Issue-ID: VFC-1187 Signed-off-by: Victor Gao <victor.gao@huawei.com>
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>
2018-11-08Update version from 1.2.0 to 1.2.13.0.1-ONAP3.0.0-ONAP1.2.1fujinhua5-8/+8
Change-Id: I92adbaf3924f3d9eca9e6c4029e8f17dec143e26 Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-11-06Change snapshots to staging of Dockerfilefujinhua1-1/+1
Change-Id: I6bbd75e62b79135db776f1a8c5c263b2ce7a0917 Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
2018-10-11Update pom and docker version of resmgrVictor Gao4-7/+7
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-17update tomcat version pathliuqian1-1/+1
Change-Id: I196cd7f1c3be631b1b4f0e4c47d4d3692dad0992 Issue-ID: VFC-911 Signed-off-by: liuqian <liuqian13@huawei.com>
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-05-02Fix database start error in multi-nodes k8s envyangyan1-0/+3
Change-Id: Ia29800ce8a9ecbe06276efb344bca76efbd4c498 Issue-ID: VFC-889 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2018-04-11Update tomcat versionluxin1-1/+1
Change-Id: I4abbd078c4abd591afe805a0a8ccfe705aa37f81 Issue-ID: VFC-868 Signed-off-by: luxin <luxin7@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-26Modify repo in Dockerfileluxin1-1/+1
Change-Id: I171f8b19fe02537828bbc82ee4d3f45ef50389b8 Issue-ID: VFC-847 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-22Update tomcat to v8.5.29luxin1-1/+1
Change-Id: Iefc0d4e2627a4377acbbe930a483cfafad129698 Issue-ID: VFC-788 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-12Update commons-collections versionluxin1-1/+1
Change-Id: I1b5d1137557391c7027a53679fe5184e10077fe1 Issue-ID: VFC-725 Signed-off-by: luxin <luxin7@huawei.com>
2018-03-05Update tomcat versionluxin1-1/+1
Change-Id: Ie69294adcd2b71f92fb9e001936d5b72318086d3 Issue-ID: VFC-788 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>