vfc/nfvo/resmanagement.git
6 years agoUpdate vfc version to 1.2.2 07/73607/1 casablanca
fujinhua [Tue, 27 Nov 2018 01:10:50 +0000 (09:10 +0800)]
Update vfc version to 1.2.2

Change-Id: I351562e2f47f6c5b281725dbe39a2e357792ded1
Issue-ID: VFC-1194
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
(cherry picked from commit 85fe2583e93a34aeaecd2bc87474275fff296b2e)

6 years agoFix vulnerability issue in resmgr 67/72767/1
Victor Gao [Thu, 15 Nov 2018 07:44:17 +0000 (15:44 +0800)]
Fix vulnerability issue in resmgr

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)

6 years agoUpdate version from 1.2.0 to 1.2.1 46/72146/1 1.2.1 3.0.0-ONAP 3.0.1-ONAP
fujinhua [Thu, 8 Nov 2018 01:35:23 +0000 (09:35 +0800)]
Update version from 1.2.0 to 1.2.1

Change-Id: I92adbaf3924f3d9eca9e6c4029e8f17dec143e26
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
6 years agoChange snapshots to staging of Dockerfile 26/71926/1
fujinhua [Tue, 6 Nov 2018 09:22:20 +0000 (17:22 +0800)]
Change snapshots to staging of Dockerfile

Change-Id: I6bbd75e62b79135db776f1a8c5c263b2ce7a0917
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
6 years agoUpdate pom and docker version of resmgr 24/70224/1 1.2.0
Victor Gao [Thu, 11 Oct 2018 04:27:59 +0000 (12:27 +0800)]
Update pom and docker version of resmgr

Change-Id: I947d4889729df55eda737446611e9f5b82c81890
Issue-ID: VFC-1144
Signed-off-by: Victor Gao <victor.gao@huawei.com>
6 years agoUpdate pom and docker version of resmgr 21/70221/1
Victor Gao [Thu, 11 Oct 2018 03:24:56 +0000 (11:24 +0800)]
Update pom and docker version of resmgr

Change-Id: I9661d9453a06c5ee66eefca6753604c014e21438
Issue-ID: VFC-1144
Signed-off-by: Victor Gao <victor.gao@huawei.com>
6 years agoImprove coverage of SitesImpl 55/67255/2
ThamlurRaju [Tue, 18 Sep 2018 10:30:07 +0000 (16:00 +0530)]
Improve coverage of SitesImpl

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>
6 years agoFixing sonar issue in HttpsRest.java 25/66925/1
Sooriyaa [Mon, 17 Sep 2018 08:56:00 +0000 (14:26 +0530)]
Fixing sonar issue in HttpsRest.java

Fixing sonar issue in HttpsRest.java

Issue-ID: VFC-1134
Change-Id: Icd1ce2aa6ec571d8ee68a61bee09fe02bb3dacfa
Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
6 years agoMerge "Use managed guava version"
Yan Yang [Mon, 17 Sep 2018 08:36:25 +0000 (08:36 +0000)]
Merge "Use managed guava version"

6 years agoReturning expression instead of variable 75/65475/1
Sooriyaa [Mon, 10 Sep 2018 08:48:12 +0000 (14:18 +0530)]
Returning expression instead of variable

Returning expression instead of variable

Issue-ID: VFC-1103
Change-Id: I1faf8ab5e574879fdcc537b86ecadc4d4502ba3a
Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
6 years agoUse managed guava version 31/62831/2
Gary Wu [Fri, 24 Aug 2018 22:32:18 +0000 (15:32 -0700)]
Use managed guava version

Use centrally managed guava version specified in
oparent.  Includes upgrade to oparent 1.2.0.

This change was submitted by script and may include
additional whitespace or formatting changes.

Change-Id: I907de95e1311ef52f1a4a18b1528416c7a6cb1c2
Issue-ID: INT-619
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agofixing major Sonar Issue 13/61513/1
ThamlurRaju [Tue, 21 Aug 2018 09:06:33 +0000 (14:36 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 77/61477/1
ThamlurRaju [Tue, 21 Aug 2018 06:47:58 +0000 (12:17 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 71/61471/1
ThamlurRaju [Tue, 21 Aug 2018 06:31:30 +0000 (12:01 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 67/61467/1
ThamlurRaju [Tue, 21 Aug 2018 06:21:07 +0000 (11:51 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 79/61279/1
ThamlurRaju [Mon, 20 Aug 2018 11:37:06 +0000 (17:07 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 63/61063/1
ThamlurRaju [Fri, 17 Aug 2018 09:16:24 +0000 (14:46 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 57/61057/1
ThamlurRaju [Fri, 17 Aug 2018 08:57:35 +0000 (14:27 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 41/61041/1
ThamlurRaju [Fri, 17 Aug 2018 07:29:35 +0000 (12:59 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Sonar Issue 37/61037/1
ThamlurRaju [Fri, 17 Aug 2018 07:11:41 +0000 (12:41 +0530)]
fixing major Sonar Issue

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>
6 years agofixing major Issue 17/61017/1
ThamlurRaju [Fri, 17 Aug 2018 04:58:37 +0000 (10:28 +0530)]
fixing major Issue

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>
6 years agofixing major Issue 03/60903/1
ThamlurRaju [Thu, 16 Aug 2018 11:57:13 +0000 (17:27 +0530)]
fixing major Issue

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>
6 years agoMerge "Update VimID in grant interface as optional"
Yan Yang [Thu, 26 Jul 2018 01:11:02 +0000 (01:11 +0000)]
Merge "Update VimID in grant interface as optional"

6 years agoFIX USING TRY WITH RESOURCES 11/57011/1
Krishnajinka [Fri, 20 Jul 2018 05:35:25 +0000 (14:35 +0900)]
FIX USING TRY WITH RESOURCES

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>
6 years agoAdd INFO.yaml file 65/55765/1
Jessica Wagantall [Wed, 4 Jul 2018 05:41:49 +0000 (22:41 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I0918541711b9358bc409ac2f10e8f67c076da1f5
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
7 years agoAdd INFO.yaml file 37/46037/2
Jessica Wagantall [Fri, 4 May 2018 00:05:46 +0000 (17:05 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: I5430324505499ea6b15906e4ffca9110eeea78d4
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
7 years agoFix API change from accessinfo to accessInfo 85/49085/2 2.0.0-ONAP beijing 2.0.0-ONAP v1.1.0
Denes Nemeth [Fri, 25 May 2018 08:38:01 +0000 (10:38 +0200)]
Fix API change from accessinfo to accessInfo

Change-Id: If3720aaa67ca46edadc9558cf9cf7967b76353f9
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Issue-ID: VFC-927

7 years agoupdate tomcat version path 45/47945/1
liuqian [Thu, 17 May 2018 01:44:05 +0000 (09:44 +0800)]
update tomcat version path

Change-Id: I196cd7f1c3be631b1b4f0e4c47d4d3692dad0992
Issue-ID: VFC-911
Signed-off-by: liuqian <liuqian13@huawei.com>
7 years agoUpdate VimID in grant interface as optional 27/45727/1
Victor Gao [Thu, 3 May 2018 03:51:35 +0000 (11:51 +0800)]
Update VimID in grant interface as optional

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>
7 years agoFix database start error in multi-nodes k8s env 31/45531/1
yangyan [Wed, 2 May 2018 01:13:03 +0000 (09:13 +0800)]
Fix database start error in multi-nodes k8s env

Change-Id: Ia29800ce8a9ecbe06276efb344bca76efbd4c498
Issue-ID: VFC-889
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
7 years agoUpdate tomcat version 01/42201/1
luxin [Wed, 11 Apr 2018 06:54:44 +0000 (14:54 +0800)]
Update tomcat version

Change-Id: I4abbd078c4abd591afe805a0a8ccfe705aa37f81
Issue-ID: VFC-868
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpdate spring-web version 55/40855/2
luxin [Wed, 4 Apr 2018 01:13:14 +0000 (09:13 +0800)]
Update spring-web version

Change-Id: I8db4aecff68958cb3bd7fe46871975ced6ddd728
Issue-ID: VFC-725
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoFix spring-web nexus-iq issue 61/40661/1
luxin [Tue, 3 Apr 2018 09:24:54 +0000 (17:24 +0800)]
Fix spring-web nexus-iq issue

Change-Id: I23c38d19446a70ecc7e525b80f4f8f52e49be60a
Issue-ID: VFC-725
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoModify repo in Dockerfile 33/38433/1
luxin [Mon, 26 Mar 2018 07:29:54 +0000 (15:29 +0800)]
Modify repo in Dockerfile

Change-Id: I171f8b19fe02537828bbc82ee4d3f45ef50389b8
Issue-ID: VFC-847
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Update jackson-jaxrs version to latest"
Gao Weitao [Fri, 23 Mar 2018 08:43:38 +0000 (08:43 +0000)]
Merge "Update jackson-jaxrs version to latest"

7 years agoUpdate jackson-jaxrs version to latest 07/38007/1
luxin [Fri, 23 Mar 2018 08:38:53 +0000 (16:38 +0800)]
Update jackson-jaxrs version to latest

Change-Id: Ic37447f0c2b6e6cb9f7b848c4ccc3e424d8d4713
Issue-ID: VFC-725
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Update tomcat to v8.5.29"
Gao Weitao [Thu, 22 Mar 2018 06:48:06 +0000 (06:48 +0000)]
Merge "Update tomcat to v8.5.29"

7 years agoUpdate tomcat to v8.5.29 89/37689/1
luxin [Thu, 22 Mar 2018 06:41:35 +0000 (14:41 +0800)]
Update tomcat to v8.5.29

Change-Id: Iefc0d4e2627a4377acbbe930a483cfafad129698
Issue-ID: VFC-788
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpgrade to latest oparent 41/36141/1
Gildas Lanilis [Fri, 16 Mar 2018 02:36:02 +0000 (19:36 -0700)]
Upgrade to latest oparent

Update pom.xml file to latest version release of oparent, 1.1.0

Change-Id: Iee7ad337f389ff61cf46882c6a53942ca2eff1c1
Issue-ID: INT-443
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
7 years agoUpdate resmanage log path 97/35897/1
luxin [Thu, 15 Mar 2018 06:01:04 +0000 (14:01 +0800)]
Update resmanage log path

Change-Id: I13907bf673dc5d032a5acc1428af9327afec0837
Issue-ID: VFC-816
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoSpecify the output path of log 21/35721/1
luxin [Wed, 14 Mar 2018 09:43:26 +0000 (17:43 +0800)]
Specify the output path of log

Change-Id: Icfae31f3626a781d14d88f37343dda6056416dfc
Issue-ID: VFC-816
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpdate commons-collections version 17/35217/1
luxin [Mon, 12 Mar 2018 12:35:36 +0000 (20:35 +0800)]
Update commons-collections version

Change-Id: I1b5d1137557391c7027a53679fe5184e10077fe1
Issue-ID: VFC-725
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpdate tomcat version 29/34029/1
luxin [Mon, 5 Mar 2018 09:32:40 +0000 (17:32 +0800)]
Update tomcat version

Change-Id: Ie69294adcd2b71f92fb9e001936d5b72318086d3
Issue-ID: VFC-788
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpdate jackson version 01/34001/1
luxin [Mon, 5 Mar 2018 08:26:47 +0000 (16:26 +0800)]
Update jackson version

Change-Id: I9c909349044874560b3d0d0b14351d7a8d7b1941
Issue-ID: VFC-725
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Replace mysql connector with MariaDB connector"
Gao Weitao [Fri, 2 Mar 2018 07:44:49 +0000 (07:44 +0000)]
Merge "Replace mysql connector with MariaDB connector"

7 years agoReplace mysql connector with MariaDB connector 49/33749/1
luxin [Fri, 2 Mar 2018 07:39:14 +0000 (15:39 +0800)]
Replace mysql connector with MariaDB connector

Change-Id: I11e7b976328ef914da41d4546f505def3f06527e
Issue-ID: VFC-725
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoImprove coverage of res mgr hw 33/32833/1
Kanagaraj Manickam k00365106 [Mon, 26 Feb 2018 05:45:42 +0000 (11:15 +0530)]
Improve coverage of res mgr hw

Issue-ID: VFC-764

Change-Id: I26052d87054fb447fa5c0da0d22dd90e1b69cbf5
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
7 years agoImprove realiabilty by using sleep instead of wait 83/32483/1
Kanagaraj Manickam k00365106 [Thu, 22 Feb 2018 06:42:30 +0000 (12:12 +0530)]
Improve realiabilty by using sleep instead of wait

Issue-ID: VFC-764

Change-Id: I6b91a1c3d5655eb0bdae9549f4d630094c55df8e
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
7 years agoSonar fix for improving maintainability 93/32193/1
Kanagaraj Manickam k00365106 [Tue, 20 Feb 2018 05:35:09 +0000 (11:05 +0530)]
Sonar fix for improving maintainability

Issue-ID: VFC-764

Change-Id: I73e952241d07c543a3e3d02e6de9cbecf724a9b7
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
7 years agoImprove code reliability 03/31903/1
Kanagaraj Manickam k00365106 [Fri, 16 Feb 2018 04:58:16 +0000 (10:28 +0530)]
Improve code reliability

Issue-ID: VFC-764

Change-Id: Ie2319959be8ebb28025f1c99abdd231fba96f0a3
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
7 years agoMake sure the streams are closed properly 01/31901/1
Kanagaraj Manickam k00365106 [Fri, 16 Feb 2018 04:56:39 +0000 (10:26 +0530)]
Make sure the streams are closed properly

Issue-ID: VFC-764

Change-Id: Ic7544a690a5bd64582344946fd8c419ad7b89ca6
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
7 years agoIgnore those setting related files in git 99/31899/1
Kanagaraj Manickam k00365106 [Fri, 16 Feb 2018 04:50:11 +0000 (10:20 +0530)]
Ignore those setting related files in git

Issue-ID: VFC-764

Change-Id: Ia535d9170002cc5fc5b5c6fae1b8a53469787d2b
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
7 years agoMerge "UT case increase for grant resource"
Gao Weitao [Sun, 11 Feb 2018 07:30:21 +0000 (07:30 +0000)]
Merge "UT case increase for grant resource"

7 years agoUT case increase for grant resource 19/31219/2
luxin [Sun, 11 Feb 2018 07:09:13 +0000 (15:09 +0800)]
UT case increase for grant resource

Change-Id: Ia077192aa8cc4b781fc1b107debcdad158ac6f13
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Add UT case for grant resource"
Gao Weitao [Sun, 11 Feb 2018 07:08:37 +0000 (07:08 +0000)]
Merge "Add UT case for grant resource"

7 years agoAdd UT case for grant resource 07/31207/1
luxin [Sun, 11 Feb 2018 06:50:11 +0000 (14:50 +0800)]
Add UT case for grant resource

Change-Id: I4989145288ecd3b971d64f5565308aabbb485ba0
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Increase test for GrantResServiceImpl"
Gao Weitao [Sun, 11 Feb 2018 06:11:52 +0000 (06:11 +0000)]
Merge "Increase test for GrantResServiceImpl"

7 years agoIncrease test for GrantResServiceImpl 95/31195/1
luxin [Sun, 11 Feb 2018 03:51:55 +0000 (11:51 +0800)]
Increase test for GrantResServiceImpl

Change-Id: Iaa1ddba7bb79f9fd620186d8ed4b380687a29089
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Add UT for NsEntity"
Gao Weitao [Fri, 9 Feb 2018 09:24:04 +0000 (09:24 +0000)]
Merge "Add UT for NsEntity"

7 years agoAdd UT for NsEntity 33/31033/1
luxin [Fri, 9 Feb 2018 09:18:14 +0000 (17:18 +0800)]
Add UT for NsEntity

Change-Id: Ie1cdb7487b8fcc3b772c85644ffb17e31b26a2c4
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Add nsEntity test case"
Gao Weitao [Fri, 9 Feb 2018 09:04:28 +0000 (09:04 +0000)]
Merge "Add nsEntity test case"

7 years agoAdd nsEntity test case 25/31025/1
luxin [Fri, 9 Feb 2018 08:56:27 +0000 (16:56 +0800)]
Add nsEntity test case

Change-Id: Ieeda965a313ea4edf7a0d42b3ed2e0af0e317a8e
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Add test case for resmgr"
Gao Weitao [Fri, 9 Feb 2018 07:50:47 +0000 (07:50 +0000)]
Merge "Add test case for resmgr"

7 years agoAdd test case for resmgr 03/31003/2
luxin [Fri, 9 Feb 2018 07:38:49 +0000 (15:38 +0800)]
Add test case for resmgr

Change-Id: I2818886baaa5d9b6a0be6324b8f991dc12700e0c
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Remove unused UT for resmgr"
Gao Weitao [Fri, 9 Feb 2018 07:14:18 +0000 (07:14 +0000)]
Merge "Remove unused UT for resmgr"

7 years agoRemove unused UT for resmgr 89/30989/1
luxin [Fri, 9 Feb 2018 07:05:00 +0000 (15:05 +0800)]
Remove unused UT for resmgr

Change-Id: I9b8fa5a83d49972795d30ecc47cc861da7a75001
Issue-ID: VFC-747
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoMerge "Huawei Copyright added"
Yan Yang [Tue, 6 Feb 2018 05:18:52 +0000 (05:18 +0000)]
Merge "Huawei Copyright added"

7 years agoMerge "LICENSE file added"
Yan Yang [Mon, 5 Feb 2018 08:10:44 +0000 (08:10 +0000)]
Merge "LICENSE file added"

7 years agoHuawei Copyright added 09/30209/1
ajay priyadarshi [Mon, 5 Feb 2018 06:19:00 +0000 (11:49 +0530)]
Huawei Copyright added

Added Huawei copyright in License File for CII badge Application
file name: LICENSE
Issue-ID: VFC-722

Change-Id: Ia40cef2ed7e885277f9f99fb0431790b8b63d682
Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
7 years agodescription Replaced by constant 79/30179/1
luxin [Sat, 3 Feb 2018 10:06:22 +0000 (18:06 +0800)]
description Replaced by constant

Change-Id: Ieeee362199b2d3b9b74f3cf6d75d26b58ad7f6dc
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoLICENSE file added 75/29975/1
ajay priyadarshi [Thu, 1 Feb 2018 08:29:56 +0000 (13:59 +0530)]
LICENSE file added

Added License File in vfc-resmanagement for CII badge Application
file name: LICENSE

Change-Id: Ia021cefcca2cc149442017afad71d0244d8fd886
Issue-ID: VFC-722
Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
7 years agoChange tomcat download url 41/29741/1
luxin [Wed, 31 Jan 2018 06:15:59 +0000 (14:15 +0800)]
Change tomcat download url

Change-Id: I5698f6ff0e91e1c8ac64a36f7c7919cc8fe9c88b
Issue-ID: VFC-696
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoFix the failed UT case 97/29597/1
luxin [Tue, 30 Jan 2018 07:30:39 +0000 (15:30 +0800)]
Fix the failed UT case

Change-Id: I35aea98170b1fd9cd7fac486dd161af5f52486fd
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoHandle the context 95/29595/1
luxin [Tue, 30 Jan 2018 07:21:01 +0000 (15:21 +0800)]
Handle the context

Change-Id: I0a9b7c3cf4d11151c2184a52704fc8783537b1d5
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoRemove printStackTrace of exception 65/29565/1
luxin [Tue, 30 Jan 2018 01:51:10 +0000 (09:51 +0800)]
Remove printStackTrace of exception

Change-Id: Icc2749ba0d5de8875102b78846064326a3d6d281
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoLog the exception 17/29417/1
luxin [Mon, 29 Jan 2018 02:49:08 +0000 (10:49 +0800)]
Log the exception

Change-Id: Ie5e8fa43f583d20ba6290377be719febea0b85de
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoDefine constant instead of literal 51/29351/1
luxin [Sat, 27 Jan 2018 02:01:36 +0000 (10:01 +0800)]
Define constant instead of literal

Change-Id: Ied92dbab134e37b3be949e420c9f7579ef18f304
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agovimId Replaced by PARAM_VIMID 05/29105/1
luxin [Thu, 25 Jan 2018 03:47:39 +0000 (11:47 +0800)]
vimId Replaced by PARAM_VIMID

Change-Id: Idcde7837f0734e5980caaa7641310b2c01b3d798
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agovnfInstanceId Replaced by constant 15/29015/1
luxin [Wed, 24 Jan 2018 09:31:34 +0000 (17:31 +0800)]
vnfInstanceId Replaced by constant

Change-Id: I059ea8917d46bb7eed009f5ccb01419857c6c0e1
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoRemove todo comment 09/29009/1
luxin [Wed, 24 Jan 2018 06:29:37 +0000 (14:29 +0800)]
Remove todo comment

Change-Id: I925f281143c3b625be7028a2ddfa834f72118888
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoModify log infomation 85/28785/1
luxin [Mon, 22 Jan 2018 12:11:41 +0000 (20:11 +0800)]
Modify log infomation

Change-Id: I06b67a44021f2478887c7bb96a877e8b4506a2ad
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoAdd ResponseContent into log info 83/28783/1
luxin [Mon, 22 Jan 2018 12:03:22 +0000 (20:03 +0800)]
Add ResponseContent into log info

Change-Id: Ib796ba62de16905028825793b5868d6b31ec998d
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpdate VFC version number 07/26507/3
luxin [Tue, 19 Dec 2017 08:39:28 +0000 (16:39 +0800)]
Update VFC version number

Change-Id: I08204ddc2819a6700ecdb9ba6705b07176b3675a
Issue-ID: VFC-624
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoChange download url of tomcat in Dockerfile 89/26289/1
luxin [Thu, 14 Dec 2017 03:22:51 +0000 (11:22 +0800)]
Change download url of tomcat in Dockerfile

Change-Id: I363f6a1f72b999318c7ec69211d881efb501ae05
Issue-ID: VFC-619
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoUpdate vfc-resmgr version 59/25859/1
luxin [Fri, 8 Dec 2017 08:37:18 +0000 (16:37 +0800)]
Update vfc-resmgr version

Change-Id: I83fef261e53daacdcd3fb80d29d65d75d86a5e71
Issue-ID: VFC-614
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoFix services.xml for resmgr 05/22205/1 1.0.0-Amsterdam 1.0.0-ONAP v1.0.0
luxin [Mon, 6 Nov 2017 03:34:17 +0000 (11:34 +0800)]
Fix services.xml for resmgr

Change-Id: Ic5211977957582bcc85de4750aaff12fbd7783e3
Issue-Id:VFC-552
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoAdd LOGGER and javadoc for queryVim 27/20727/1
luxin [Thu, 26 Oct 2017 08:06:53 +0000 (16:06 +0800)]
Add LOGGER and javadoc for queryVim

Change-Id: Icd8e6009397171970a9cba3a4f5a95a545204fe7
Issue-Id:VFC-552
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoFix ESR interface bug 25/20725/1
luxin [Thu, 26 Oct 2017 07:46:53 +0000 (15:46 +0800)]
Fix ESR interface bug

Change-Id: I9678ff291f1a914fbedaa338c139b73bb8981d88
Issue-Id:VFC-552
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoChange artifactId in Dockerfile 71/19871/1
luxin [Fri, 20 Oct 2017 06:23:55 +0000 (14:23 +0800)]
Change artifactId in Dockerfile

Change-Id: I8691ce9b827233a7a0ff80ddf96f4bb4f8a58f32
Issue-Id:VFC-542
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoFix vim info from esr 67/19867/1
luxin [Fri, 20 Oct 2017 06:14:06 +0000 (14:14 +0800)]
Fix vim info from esr

Change-Id: Ic08ddf57fa8b908ea71865715146729f6e5dc6a6
Issue-Id:VFC-542
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoRemove property from bean defination 25/19725/2
subhash kumar singh [Thu, 19 Oct 2017 12:14:59 +0000 (12:14 +0000)]
Remove property from bean defination

Remove property from bean defination as property is not available
in class.

Change-Id: Ib064769c34861374594af499eb414fc60fe9465a
Issue-ID: VFC-545
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
7 years agoImplement to store network service to AAI 39/15939/5
subhash kumar singh [Wed, 27 Sep 2017 11:57:14 +0000 (17:27 +0530)]
Implement to store network service to AAI

Implement to store network service to AAI

Change-Id: I09adfc19d64bfffbfcdb62a1b0353b446a5c5cf5
Issue-ID: VFC-462
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
7 years agoIntegrate VM related operation with AAI 59/17559/6
subhash kumar singh [Fri, 6 Oct 2017 14:36:45 +0000 (20:06 +0530)]
Integrate VM related operation with AAI

Integrate VM related operation with AAI.

Change-Id: Iac4eb1a8bc8cf2bcd614ef12c124f6164dd1343c
Issue-ID: VFC-462
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
7 years agoAdd config file to store cloud-region and tenant 57/17557/4
subhash kumar singh [Fri, 6 Oct 2017 14:34:20 +0000 (20:04 +0530)]
Add config file to store cloud-region and tenant

Add config file to store cloud region and tanant which is required
for vserver related operation.

Issue-ID : VFC-462
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Change-Id: I2d261ce8b0ac3e8b31451befbded9e9076f8ee0d
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
7 years agoRelationship implementation for generic-vnf 55/17555/4
subhash kumar singh [Fri, 6 Oct 2017 06:22:18 +0000 (11:52 +0530)]
Relationship implementation for generic-vnf

Add relationship between generic-vnf, service-instance and esr-vnfm to
store vnfm related info.

Issue-ID: VFC-462
Change-Id: I917d1f22065f46a663cb58f1c5be289bb4275648
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
7 years agoFix grant resource interface 83/19483/1
luxin [Wed, 18 Oct 2017 07:32:15 +0000 (15:32 +0800)]
Fix grant resource interface

Change-Id: I2536f353a57dbf119cd9c95c07d192c519112ba1
Issue-Id:VFC-541
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoAdd vfc docker build staging tag 69/19269/1
fujinhua [Tue, 17 Oct 2017 11:59:36 +0000 (19:59 +0800)]
Add vfc docker build staging tag

Change-Id: Icbf334813237e4c724ebe620d3ffebc134575c33
Issue-Id: VFC-535
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
7 years agoChange artifactId for vfc-resmanagement 73/18973/1
luxin [Mon, 16 Oct 2017 01:53:34 +0000 (09:53 +0800)]
Change artifactId for vfc-resmanagement

Change-Id: Iafd7e9a50d1e205392dd8661614d075296604e62
Issue-Id:VFC-506
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoChange artifactId in pom.xml 95/18895/1
luxin [Sat, 14 Oct 2017 09:18:22 +0000 (17:18 +0800)]
Change artifactId in pom.xml

Change-Id: I97e8ca4c3d9656c0c287b86d9b5325bd954b5051
Issue-Id:VFC-506
Signed-off-by: luxin <luxin7@huawei.com>
7 years agoAdd relativePath for vfc-resmgr pom.xml 35/18435/1
luxin [Thu, 12 Oct 2017 03:47:37 +0000 (11:47 +0800)]
Add relativePath for vfc-resmgr pom.xml

Change-Id: I5394a6332272f5a9292ffd233489f5f3243e97f9
Issue-Id:VFC-506
Signed-off-by: luxin <luxin7@huawei.com>