aai/esr-server.git
4 years agoRealize the query PNF list API. 27/61427/1
Zi Li [Tue, 21 Aug 2018 02:39:58 +0000 (02:39 +0000)]
Realize the query PNF list API.

Issue-ID: AAI-1497

Change-Id: I3765fbd3313bdb16ed75fd9ce072cc707399ad43
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
4 years agoAdd the API of query PNF. 83/61283/1
Zi Li [Mon, 20 Aug 2018 12:05:39 +0000 (12:05 +0000)]
Add the API of query PNF.

Issue-ID: AAI-1498

Change-Id: Ie073f6b2643324b2038a2404886fa6e0286ab326
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
4 years agoRealize the PNF registration API 37/61237/3
Zi Li [Mon, 20 Aug 2018 09:11:48 +0000 (09:11 +0000)]
Realize the PNF registration API

Issue-ID: AAI-1496

Change-Id: Iece0706db599990131fef2fa1b6b9159e8f967e4
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
4 years agoDefine attributes about PNF 23/61223/1
Zi Li [Mon, 20 Aug 2018 07:27:43 +0000 (07:27 +0000)]
Define attributes about PNF

Issue-ID: AAI-1495

Change-Id: I8a6cc5320447866a4cb232623aaf9cfd432803bf
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
4 years agoAdd the framework for PNF registration function 59/61059/1
Zi Li [Fri, 17 Aug 2018 09:01:21 +0000 (09:01 +0000)]
Add the framework for PNF registration function

Issue-ID: AAI-1494

Change-Id: I1e10328fbd2efeabe5f9a9f26e7d9b818db88ab1
Signed-off-by: Zi Li <li.zi30@zte.com.cn>
4 years agoFix the security issue about jetty 87/60487/2
Li Zi [Tue, 14 Aug 2018 07:58:54 +0000 (07:58 +0000)]
Fix the security issue about jetty

Issue-ID: AAI-1475

Change-Id: Iefff5dd5e1e14ed0a40da862018e9d1285a573f6
Signed-off-by: Li Zi <li.zi30@zte.com.cn>
4 years agoFix the grammer issue in Dockerfile 71/57671/1
LiZi [Thu, 26 Jul 2018 09:07:59 +0000 (09:07 +0000)]
Fix the grammer issue in Dockerfile

Issue-ID: AAI-1423

Change-Id: I2a80807784e06158a3b3717f72907cbb6811d6de
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoset the ENV in shell instead of Dockerfile 65/57665/1
LiZi [Thu, 26 Jul 2018 08:30:52 +0000 (08:30 +0000)]
set the ENV in shell instead of Dockerfile

the dpkg command did not work in Dockerfile. So move it to docker-entrypoint.sh

Issue-ID: AAI-1423

Change-Id: Ib4d289faa2847b3c27935643dae299a76fbf8bab
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Upversion the esr server to 1.2.0"
Li Zi [Wed, 25 Jul 2018 01:00:58 +0000 (01:00 +0000)]
Merge "Upversion the esr server to 1.2.0"

4 years agoMerge "Update architecture diagram"
Li Zi [Wed, 25 Jul 2018 01:00:48 +0000 (01:00 +0000)]
Merge "Update architecture diagram"

4 years agoUpversion the esr server to 1.2.0 97/56797/1
Kajur, Harish (vk250x) [Wed, 18 Jul 2018 23:17:24 +0000 (19:17 -0400)]
Upversion the esr server to 1.2.0

Issue-ID: AAI-1390
Change-Id: I02ab1fd4f3bebc6a3fab52b93652d07c7548bc87
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
4 years agoMerge "Dynamically determine image architecture"
Li Zi [Fri, 29 Jun 2018 08:04:38 +0000 (08:04 +0000)]
Merge "Dynamically determine image architecture"

4 years agoMerge "Pin jnr-unixsocket for Docker plugin to 0.13"
Li Zi [Fri, 29 Jun 2018 08:02:43 +0000 (08:02 +0000)]
Merge "Pin jnr-unixsocket for Docker plugin to 0.13"

4 years agoUpdate architecture diagram 55/50755/1
Jimmy Forsyth [Wed, 6 Jun 2018 18:04:03 +0000 (14:04 -0400)]
Update architecture diagram

Issue-ID: AAI-1121
Change-Id: I4ce86181a503ab78eca7ed4d4e35004a44423755
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
4 years agoFix the docker tag. 51/44551/1 2.0.0-ONAP 2.0.0-ONAP v1.1.0
LiZi [Wed, 25 Apr 2018 02:09:12 +0000 (22:09 -0400)]
Fix the docker tag.

Change-Id: Ibea68ba95a84dc491b0e3ee8d8e21b26cab1d5de
Issue-ID: AAI-1095
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoSecurity: dropwizard in esr-server 45/44545/1
LiZi [Wed, 25 Apr 2018 01:13:22 +0000 (21:13 -0400)]
Security: dropwizard in esr-server

Change-Id: Id6ededdda5439ce2400fce445f9e9b0df1f2eac9
Issue-ID: AAI-977
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoFix HTTP protocol used over HTTPS port 49/44049/1
Denes Nemeth [Sat, 21 Apr 2018 13:45:59 +0000 (15:45 +0200)]
Fix HTTP protocol used over HTTPS port

Change-Id: I24ebeb65e2cd1d0177dbd7f826d0275ce235dea7
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Issue-ID: MSB-195

4 years agoDynamically determine image architecture 07/43107/1
Mohammed Naser [Mon, 16 Apr 2018 17:20:18 +0000 (10:20 -0700)]
Dynamically determine image architecture

The image architecture is currently hardcoded, this patch removes
that hardcoded value to allow for ARM64 builds to go through.

Change-Id: I5ba78af8853620f03697c3a59b1288b9c25fbb49
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
4 years agoPin jnr-unixsocket for Docker plugin to 0.13 05/43105/1
Mohammed Naser [Mon, 16 Apr 2018 17:19:51 +0000 (10:19 -0700)]
Pin jnr-unixsocket for Docker plugin to 0.13

The current verison of jnr-unixsocket is 0.12 from the Docker
plugin however in order to be able the images for ARM64, it needs
the newer version which has support for it.

There is work upstream to switch the version to 0.18[0] however
it seems that this is still pending, so we can pin it for now until
that merges.

[0]: https://github.com/fabric8io/docker-maven-plugin/pull/770

Change-Id: I5340a2adad30f0d8cef22b9e67c21e1f36883c14
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
4 years agoUpdate the esr installation doc. 11/42911/1
LiZi [Mon, 16 Apr 2018 01:18:49 +0000 (21:18 -0400)]
Update the esr installation doc.

Change-Id: I44f771dc6545143c274613640b3f0eff52f8b814
Issue-ID: AAI-1029
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoFix the typos in esr-server 53/41853/2
LiZi [Tue, 10 Apr 2018 01:20:46 +0000 (21:20 -0400)]
Fix the typos in esr-server

Change-Id: I5f27f955e89ec4417b46c0042bb6843985864bfe
Issue-ID: DOC-258
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoUpdate docker tag convention 49/40849/1
Jessica Wagantall [Wed, 4 Apr 2018 00:21:40 +0000 (17:21 -0700)]
Update docker tag convention

Update docker tagging convention to use:
$VERSION-SNAPSHOT-YYYYMMDDTHHMMSSZ (for dev images)
$VERSION-STAGING-YYYYMMDDTHHMMSSZ (for staging images)

Change-Id: Ic9181f35ef4b7311b7370135990bf33f9037be58
Issue-ID: CIMAN-132
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoundone upgrade jackson-databind 41/40041/1
LiZi [Thu, 29 Mar 2018 06:02:54 +0000 (02:02 -0400)]
undone upgrade jackson-databind

According to the nexus IQ reports some other security issues caused by upgrade jackson-databind.

Change-Id: I6cfebcdd104c47304185fde024105edea473042c
Issue-ID: AAI-592
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoupgrade jackson-databind 47/39947/1
LiZi [Thu, 29 Mar 2018 03:07:48 +0000 (23:07 -0400)]
upgrade jackson-databind

Change-Id: Ie1f0f67dcc3d47dbf0563eaaf4d3bce239588669
Issue-ID: AAI-592
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoUpgrade the version of oparent. 99/38499/2
LiZi [Mon, 26 Mar 2018 11:24:11 +0000 (07:24 -0400)]
Upgrade the version of oparent.

Change-Id: Idc553f92d78c586878a2ffd0e8e7ca5b97252c27
Issue-ID: AAI-941
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoChange the port config about MSB to 443 21/36421/1
LiZi [Mon, 19 Mar 2018 06:36:23 +0000 (02:36 -0400)]
Change the port config about MSB to 443

Change-Id: I526a6c484ed19db0c72e1596100d5cb2419cb0f1
Issue-ID: AAI-892
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoChange the http REST API to https. 41/35141/3
LiZi [Mon, 12 Mar 2018 08:40:46 +0000 (04:40 -0400)]
Change the http REST API to https.

Change-Id: I25365752a881bdda65130ddaabec6305ee31705d
Issue-ID: AAI-851
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoRemove the INFO.yaml 83/34183/1
LiZi [Tue, 6 Mar 2018 02:35:37 +0000 (21:35 -0500)]
Remove the INFO.yaml

There are some miss merged message. AAI/esr is a subproject of AAI and the subproject leader is Zi Li, the company should be ZTE. And the committers for ESR are Zi Li and Qi Sun.

Change-Id: Ida1e6ad2dd83f5d864d462da7b17bddcb248b885
Issue-ID: CIMAN-134
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Fix the bug about nullpointer when update VIM"
Li Zi [Fri, 2 Mar 2018 09:16:17 +0000 (09:16 +0000)]
Merge "Fix the bug about nullpointer when update VIM"

4 years agoFix the bug about nullpointer when update VIM 69/33769/1
LiZi [Fri, 2 Mar 2018 09:12:25 +0000 (04:12 -0500)]
Fix the bug about nullpointer when update VIM

Change-Id: I25d81a88a7fec20a6f1ebca26b727cee64be1d96
Issue-ID: AAI-832
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Add unit test for the newly entity classes."
Li Zi [Fri, 2 Mar 2018 08:24:17 +0000 (08:24 +0000)]
Merge "Add unit test for the newly entity classes."

4 years agoAdd unit test for the newly entity classes. 61/33761/1
LiZi [Fri, 2 Mar 2018 08:15:20 +0000 (03:15 -0500)]
Add unit test for the newly entity classes.

Change-Id: Ie87f678cdaab10322211b546d5defa1e17a8b3c8
Issue-ID: AAI-831
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Add unit test for the newly API."
Li Zi [Fri, 2 Mar 2018 06:30:47 +0000 (06:30 +0000)]
Merge "Add unit test for the newly API."

4 years agoAdd unit test for the newly API. 37/33737/1
LiZi [Fri, 2 Mar 2018 06:14:49 +0000 (01:14 -0500)]
Add unit test for the newly API.

Add unit test for the API of query complexes and create relationship between cloud region and complex

Change-Id: I1a5b4b53346e820f66946482ce27f4273d842e88
Issue-ID: AAI-830
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Get complex name and put it to cloud region"
Li Zi [Fri, 2 Mar 2018 02:20:00 +0000 (02:20 +0000)]
Merge "Get complex name and put it to cloud region"

4 years agoGet complex name and put it to cloud region 03/33703/1
LiZi [Fri, 2 Mar 2018 02:08:47 +0000 (21:08 -0500)]
Get complex name and put it to cloud region

Get complex name by query complex object and put it to cloud region when register VIM.

Change-Id: I1c5a2537b70de5ec8d3630dec6c8b79981445290
Issue-ID: AAI-829
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Create relationship while register VIM."
Li Zi [Fri, 2 Mar 2018 01:05:28 +0000 (01:05 +0000)]
Merge "Create relationship while register VIM."

4 years agoCreate relationship while register VIM. 77/33577/2
LiZi [Thu, 1 Mar 2018 09:06:52 +0000 (04:06 -0500)]
Create relationship while register VIM.

Create relationship between cloud region and complex object while register VIM.

Change-Id: I8bd121ad653cb27fb8a571d4544c10464e2a1fc4
Issue-ID: AAI-827
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Realize the API to get complex object ID."
Li Zi [Thu, 1 Mar 2018 07:41:24 +0000 (07:41 +0000)]
Merge "Realize the API to get complex object ID."

4 years agoRealize the API to get complex object ID. 45/33545/1
LiZi [Thu, 1 Mar 2018 07:11:56 +0000 (02:11 -0500)]
Realize the API to get complex object ID.

Change-Id: Ie70a1352fbdd490b0b4e6ac05ea14fbfa38b9678
Issue-ID: AAI-826
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoMerge "Add complex API definition."
Li Zi [Thu, 1 Mar 2018 03:16:09 +0000 (03:16 +0000)]
Merge "Add complex API definition."

4 years agoAdd complex API definition. 19/33519/2
LiZi [Thu, 1 Mar 2018 02:59:30 +0000 (21:59 -0500)]
Add complex API definition.

Change-Id: I7d1626b9f032901d491be3828db658b01b6d3947
Issue-ID: AAI-823
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoAdd INFO.yaml file 97/32997/1
Jessica Wagantall [Tue, 27 Feb 2018 01:03:11 +0000 (17:03 -0800)]
Add INFO.yaml file

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

Change-Id: I238c5abab91fc2a67e621e5e3a925f26684e5fff
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
4 years agoFix the security issue of esr server. 53/32753/1
LiZi [Sat, 24 Feb 2018 09:25:32 +0000 (04:25 -0500)]
Fix the security issue of esr server.

Fix the security issue CVE-2016-3720 and CVE-2017-17485

Change-Id: I3f7d0c4fb841d72e2b463091a5c4b5e5e81f0611
Issue-ID: AAI-592
Signed-off-by: LiZi <li.zi30@zte.com.cn>
4 years agoFix the bug about register MSB. 61/30561/1
Lizi [Wed, 7 Feb 2018 01:24:05 +0000 (01:24 +0000)]
Fix the bug about register MSB.

When register service to MSB, esr-server still will register to MSB automaticly

Change-Id: I69769906e87e6b8c9658b05de60af45ed2b47e82
Issue-ID: AAI-738
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoDisplay ESR API with swagger 45/30445/1
Lizi [Tue, 6 Feb 2018 11:49:01 +0000 (11:49 +0000)]
Display ESR API with swagger

When ESR registered to MSB. The API of esr-server can be visited from MSB portal through swagger

Change-Id: I142b79c00920697839f55eac95b50a6072d19ca4
Issue-ID: AAI-735
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoRemove the unused variable in vnfmManagerUtil 97/30397/1
Lizi [Tue, 6 Feb 2018 07:35:32 +0000 (07:35 +0000)]
Remove the unused variable in vnfmManagerUtil

Fix the sonar issue: https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR

Change-Id: I2e6a6ff49f91053020eed7ba1daf98c401887170
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoRemove the unused variable 91/30391/1
Lizi [Tue, 6 Feb 2018 07:26:40 +0000 (07:26 +0000)]
Remove the unused variable

Fix sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=MAJOR|resolved=false

Change-Id: I07cb02bfad47e245e0a76030524a1db15948eb2a
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd a constructive funtion, fix sonar issue. 89/30389/2
Lizi [Tue, 6 Feb 2018 06:49:43 +0000 (06:49 +0000)]
Add a constructive funtion, fix sonar issue.

Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR

Change-Id: I172a75efd156c29faa5b146d73ee1d9d09b5e40a
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoRename variable,fix sonar issue. 87/30387/1
Lizi [Tue, 6 Feb 2018 06:37:29 +0000 (06:37 +0000)]
Rename variable,fix sonar issue.

Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR

Change-Id: I18298cfa2366e95a0bdd254498a4d9c8940dd181
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoFix the sonar issue. 83/30383/1
Lizi [Tue, 6 Feb 2018 06:21:00 +0000 (06:21 +0000)]
Fix the sonar issue.

Change-Id: I6894d0773ef37acea819897cd80a4aa0d2b785af
Issue-ID: AAI-734
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoSonar Minor 09/30109/1
PrasadNaidu [Fri, 2 Feb 2018 06:18:25 +0000 (11:48 +0530)]
Sonar Minor

Rename this field to match the regular expression
AaiCommon.java:L24
link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MINOR|rules=squid%3AS3008
Location: src/main/java/org/onap/aai/esr/externalservice/aai/AaiCommon.java
Change-Id: Id6b6db3ac750c1dadc851822ad59e9d3c97fbddf
Issue-ID: AAI-697
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
4 years agoMerge "Add a private constructor"
Li Zi [Thu, 1 Feb 2018 07:27:41 +0000 (07:27 +0000)]
Merge "Add a private constructor"

4 years agoMerge "Fix the sonar issue."
Li Zi [Thu, 1 Feb 2018 07:17:00 +0000 (07:17 +0000)]
Merge "Fix the sonar issue."

4 years agoFix the sonar issue. 49/29949/1
Lizi [Thu, 1 Feb 2018 06:58:59 +0000 (06:58 +0000)]
Fix the sonar issue.

Change-Id: I9f75b3e54ca634c268a8d3f14c29db03d6e263b7
Issue-ID: AAI-723
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoMerge "sonar critical for Design"
Li Zi [Thu, 1 Feb 2018 06:31:53 +0000 (06:31 +0000)]
Merge "sonar critical for Design"

4 years agosonar critical for Design 35/29935/1
Dushyant Singh Thakur [Thu, 1 Feb 2018 05:29:54 +0000 (10:59 +0530)]
sonar critical for Design

Added a private constructor to hide the implicit public one
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=CRITICAL%2CMAJOR|resolved=false|assignees=dthakur
Location:
src/main/java/org/onap/aai/esr/externalservice/aai/AaiCommon.java
Line No-18

Change-Id: I3f47b6de765f6b14871d58c3c9b0d8d0360a76be
Issue-ID: AAI-718
Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
4 years agoAdd a private constructor 27/29927/1
PrasadNaidu [Thu, 1 Feb 2018 04:15:55 +0000 (09:45 +0530)]
Add a private constructor

Add a private constructor to hide the implicit public one
MsbConfig.java

Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR|assignees=PrasadNaidu
Location: src/main/java/org/onap/aai/esr/common/MsbConfig.java

Change-Id: I1a71ffa16a9b57d75a98138492155133e07bf4dc
Issue-ID: AAI-713
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
4 years agoMerge "Fix the security issue about hibernate and ant."
Li Zi [Wed, 31 Jan 2018 00:41:55 +0000 (00:41 +0000)]
Merge "Fix the security issue about hibernate and ant."

4 years agoMerge "Sonar Minor: Remove the thrown runtime exception."
Li Zi [Wed, 31 Jan 2018 00:40:57 +0000 (00:40 +0000)]
Merge "Sonar Minor: Remove the thrown runtime exception."

4 years agoFix the security issue about hibernate and ant. 41/29641/1
Lizi [Tue, 30 Jan 2018 12:13:18 +0000 (12:13 +0000)]
Fix the security issue about hibernate and ant.

Change-Id: Ie2ca3b5e369d709a9d57e514313fe6419f75018a
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd license definition. 83/29583/1
Lizi [Tue, 30 Jan 2018 06:40:21 +0000 (06:40 +0000)]
Add license definition.

Change-Id: I243cd21cd5d2d56f7c9b93c754fb4d48876c07b4
Issue-ID: AAI-703
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoMerge "Remove this unused import java.util.ArrayList"
Li Zi [Tue, 30 Jan 2018 01:15:21 +0000 (01:15 +0000)]
Merge "Remove this unused import java.util.ArrayList"

4 years agoMerge "Move string literal to left side of comparison"
Li Zi [Tue, 30 Jan 2018 01:14:48 +0000 (01:14 +0000)]
Merge "Move string literal to left side of comparison"

4 years agoAdd a private constructor to hide implicit public 63/29463/1
Swapnali Pode [Mon, 29 Jan 2018 07:14:05 +0000 (12:44 +0530)]
Add a private constructor to hide implicit public

Add a private constructor to hide the implicit public one
Config.java:L22

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=MAJOR|resolved=false

Location:
src/main/java/org/onap/aai/esr/common/Config.java

Change-Id: I6247597bebe48365a7fa34ab539b2fddf8d15da7
Issue-ID: AAI-694
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
4 years agoFix an unit error. 79/29279/1
Lizi [Fri, 26 Jan 2018 08:40:37 +0000 (08:40 +0000)]
Fix an unit error.

Change-Id: I0da4787b793245ca2a9d73ea3ba81fb5a464221e
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd the unit test for Vim manage function. 67/29267/1
Lizi [Fri, 26 Jan 2018 07:46:04 +0000 (07:46 +0000)]
Add the unit test for Vim manage function.

Change-Id: Ibe4ed95512af0b67674f2ee14e20924050c1875f
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoChange the unit test of SDNC with mock. 63/29263/1
Lizi [Fri, 26 Jan 2018 06:44:46 +0000 (06:44 +0000)]
Change the unit test of SDNC with mock.

Change-Id: Ic0ae520c481fcf3b154e1cc83c0847094acf4ee2
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoChange the unit test about EMS with mock. 49/29249/1
Lizi [Fri, 26 Jan 2018 03:30:24 +0000 (03:30 +0000)]
Change the unit test about EMS with mock.

Change-Id: Ic78104662666203e3b631d2879a70c94189e01d2
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoChange the unit test about VNFM with mock. 51/29151/1
Lizi [Thu, 25 Jan 2018 12:06:39 +0000 (12:06 +0000)]
Change the unit test about VNFM with mock.

Change-Id: Idd711b1d7772ea0817549fc47ca1d1abd1ddf199
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoChange the static method to unstatic. 49/29149/1
Lizi [Thu, 25 Jan 2018 11:57:36 +0000 (11:57 +0000)]
Change the static method to unstatic.

Change-Id: I47926c5de4d89f203866de663e74f3cec026959d
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoFix the security issue. 25/29125/1
Lizi [Thu, 25 Jan 2018 07:46:54 +0000 (07:46 +0000)]
Fix the security issue.

Change-Id: Id63ea99cf3308406cb2a2ec205f0c1a2d12384e4
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoFix the security issue. 21/29021/1
Lizi [Wed, 24 Jan 2018 09:39:17 +0000 (09:39 +0000)]
Fix the security issue.

Change-Id: I3405ec0460cd7eb24d244d5c94b23d898fbd86a0
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoMove string literal to left side of comparison 89/28989/1
Swapnali Pode [Wed, 24 Jan 2018 06:53:22 +0000 (12:23 +0530)]
Move string literal to left side of comparison

Move true string literal on the left side of this string comparison
ExtsysApp.java:L56

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|assignees=swapnalipode
Location:
src/main/java/org/onap/aai/esr/ExtsysApp.java

Change-Id: I82e43ca7a68322c6d409ecc113932e289721c374
Issue-ID: AAI-691
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
4 years agoRemove this unused import java.util.ArrayList 71/28871/1
Swapnali Pode [Tue, 23 Jan 2018 07:28:01 +0000 (12:58 +0530)]
Remove this unused import java.util.ArrayList

Remove this unused import java.util.ArrayList
VimRegisterInfo.java:L18

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#assigned=false|resolved=false|severities=MINOR

Location:
src\main\java\org\onap\aai\esr\entity\rest\VimRegisterInfo.java

Change-Id: I55354dfaad886dade9310776a5fa1af798ac33df
Issue-ID: AAI-688
Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
4 years agoFix the sonar issue. 81/28781/1
Lizi [Mon, 22 Jan 2018 12:02:50 +0000 (12:02 +0000)]
Fix the sonar issue.

Change-Id: Ie704a164dc9ed5d2be247708a24779d97d6b5c15
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoDeal the sonar issue. 51/28751/1
Lizi [Mon, 22 Jan 2018 02:58:34 +0000 (02:58 +0000)]
Deal the sonar issue.

Change-Id: Ic02f862a4652e9daddb78b54b9373275145e252f
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoFix the security issue casused by java-sdk. 31/28631/1
Lizi [Fri, 19 Jan 2018 09:00:47 +0000 (09:00 +0000)]
Fix the security issue casused by java-sdk.

Change-Id: Id7ddf46944a96a2e3724f4d41247bcf1b82e0a8f
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoRaise the version of dropwizard. 71/28371/1
Lizi [Wed, 17 Jan 2018 07:35:16 +0000 (07:35 +0000)]
Raise the version of dropwizard.

Change-Id: I780a348a3b94d0ea583f865d7c62613e0eb5f781
Issue-ID: AAI-592
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoFix the sonar issue. 17/28017/1
Lizi [Fri, 12 Jan 2018 06:57:31 +0000 (06:57 +0000)]
Fix the sonar issue.

Change-Id: I477338e083b98f6cc2a80d068229d7c00181b0fc
Issue-ID: AAI-638
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd unit test for ems management. 93/27993/1
Lizi [Fri, 12 Jan 2018 02:20:56 +0000 (02:20 +0000)]
Add unit test for ems management.

Change-Id: I21baa89e1517e0f5f208e2ed64d86c4b9c47c6b8
Issue-ID: AAI-637
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoSonar Minor: Remove the thrown runtime exception. 35/27935/1
aishkashyap [Thu, 11 Jan 2018 07:59:11 +0000 (13:29 +0530)]
Sonar Minor: Remove the thrown runtime exception.

Remove the declaration of thrown runtime exception.

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server-parent#resolved=false|severities=MINOR

Location:
src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java

Line No:53

Issue-ID: AAI-624
Change-Id: Ief9b736eebcb1e55bbc61e3a4d223368f97ee19a
Signed-off-by: aishkashyap <as00476394@techmahindra.com>
4 years agoFix the java code style issue. 17/27917/1
Lizi [Thu, 11 Jan 2018 03:29:08 +0000 (03:29 +0000)]
Fix the java code style issue.

Change-Id: Ic4e307ff6bfede6e505b2d758b7f174532b2335b
Issue-ID: AAI-622
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd the unit test for thirdpartySDNC management. 01/27901/1
Lizi [Thu, 11 Jan 2018 01:21:26 +0000 (01:21 +0000)]
Add the unit test for thirdpartySDNC management.

Change-Id: I208af4dbc5e693a7647a9ebf1912826ca849fe89
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoFix the nonstandard coding. 21/27821/3
Lizi [Wed, 10 Jan 2018 10:43:29 +0000 (10:43 +0000)]
Fix the nonstandard coding.

Fix the ArrayList usage, Remove the redundancy newly object.

Change-Id: I0311297d4e1387f89196eab978ed58a86f54cddb
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd unit test for vnfm manage API. 73/27773/1
Lizi [Wed, 10 Jan 2018 02:58:01 +0000 (02:58 +0000)]
Add unit test for vnfm manage API.

Change-Id: I51af8e01b8408acb6e7b0213c2db25c7e49102cd
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd unit test for query vnfm by ID. 19/27719/1
Lizi [Tue, 9 Jan 2018 12:43:30 +0000 (12:43 +0000)]
Add unit test for query vnfm by ID.

Change-Id: I9ad13cf69cff5764173e3c78ed97f4e44df9dcc2
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoadd unit test for vnfmregister. 11/27711/1
Lizi [Tue, 9 Jan 2018 11:37:38 +0000 (11:37 +0000)]
add unit test for vnfmregister.

Change-Id: I90e690efd0f35fff7151650f078e2b77e134b440
Issue-ID: AAI-500
Signed-off-by: Lizi <li.zi30@zte.com.cn>
4 years agoAdd unit tests to increase sonar coverage 39/26339/1
aditya [Thu, 14 Dec 2017 17:51:17 +0000 (11:51 -0600)]
Add unit tests to increase sonar coverage

Add units to common, exception and externalservice packages

Issue-ID: AAI-500

Change-Id: Ie14a8d88c3ec99d362ac49ac30ee92c653409ae8
Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
5 years agoBump minor version 39/23939/2
Jessica Wagantall [Thu, 16 Nov 2017 23:01:57 +0000 (15:01 -0800)]
Bump minor version

Bump minor version in preparation for Amsterdam
branching.

Change-Id: Ic8a6988557b50fa027e24c793b89c1b92b1dd8ef
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoFix the issue call multicloud failed. 85/19285/1 1.0.0-Amsterdam v1.0.0
lizi [Tue, 17 Oct 2017 13:19:57 +0000 (21:19 +0800)]
Fix the issue call multicloud failed.

Change-Id: I37b94993967f67f71a29c5b8deaefea7be0db547
Issue-ID: AAI-436
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoInput Tenant to A&AI while register VIM. 43/18743/1
lizi [Fri, 13 Oct 2017 09:37:48 +0000 (17:37 +0800)]
Input Tenant to A&AI while register VIM.

Change-Id: I62498d12592e1b96fbd1b00465bde6248fca747e
Issue-ID: AAI-435
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoFix the issue when call the Multicloud API. 31/18731/2
lizi [Fri, 13 Oct 2017 09:06:10 +0000 (17:06 +0800)]
Fix the issue when call the Multicloud API.

Change-Id: Ia8d6f3f0f8a7989b227fe4fea3fd9c23228a06a6
Issue-ID: AAI-436
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoChange the esr installation guide. 19/18719/1
lizi [Fri, 13 Oct 2017 07:16:04 +0000 (15:16 +0800)]
Change the esr installation guide.

Change-Id: Ib72ad299f5ef8f2acefa8fb7548a4deffba9187c
Issue-ID: AAI-434
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoAdd staging version. 83/18683/1
lizi [Fri, 13 Oct 2017 04:52:13 +0000 (12:52 +0800)]
Add staging version.

Change-Id: I0e600737789de31e4d7743cad2577f6a757a0ca3
Issue-ID: AAI-432
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoAdd the staging docker version. 17/18517/1
lizi [Thu, 12 Oct 2017 11:44:38 +0000 (19:44 +0800)]
Add the staging docker version.

Change-Id: I0870f59827508a519f79624638c38b469729fd16
Issue-ID: AAI-432
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoAdd the release notes doc. 97/18497/1
lizi [Thu, 12 Oct 2017 10:33:57 +0000 (18:33 +0800)]
Add the release notes doc.

Change-Id: I2a2bacd9ec6e5e9d662d9dc963b2fa0111ad7be1
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoRemove the unused doc. 97/18397/3
lizi [Thu, 12 Oct 2017 01:47:18 +0000 (09:47 +0800)]
Remove the unused doc.

Change-Id: Id41fba68c0b575f307a732163ce7d556b90413f4
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoChange the api link from wiki to swagger.json 61/18261/1
lizi [Wed, 11 Oct 2017 10:38:46 +0000 (18:38 +0800)]
Change the api link from wiki to swagger.json

Change-Id: Icd1b9fc292015a0e6ca058bd80a6235b008c33c9
Issue-ID: AAI-427
Signed-off-by: lizi <li.zi30@zte.com.cn>
5 years agoAdd swagger.json to main/resources. 57/18257/1
lizi [Wed, 11 Oct 2017 10:34:42 +0000 (18:34 +0800)]
Add swagger.json to main/resources.

Change-Id: Idbe8b45d713017a0dd487037e504238f7a58efcc
Issue-ID: AAI-430
Signed-off-by: lizi <li.zi30@zte.com.cn>