externalapi/nbi.git
5 years agoupdate docker-maven-plugin configs 67/68167/1 beijing
Quoc-Nghia Nguyen [Thu, 20 Sep 2018 15:43:21 +0000 (17:43 +0200)]
update docker-maven-plugin configs

  - no more implicit `latest` tag

Change-Id: Icdf2e7076521705cbdd8f19f7aa81b14f9c36ea8
Issue-ID: EXTAPI-152
Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
5 years agoChange default version of Beijing branch to 2.1.1 25/64425/1
MatthieuGeerebaert [Tue, 4 Sep 2018 13:08:14 +0000 (15:08 +0200)]
Change default version of Beijing branch to 2.1.1

Change-Id: I3344fad564bc05b0717373b2610ed02d969609fb
Issue-ID: EXTAPI-138
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
5 years agoadapt NBI to Beijing 07/56007/1
romaingimbert [Mon, 9 Jul 2018 09:46:10 +0000 (11:46 +0200)]
adapt NBI to Beijing

-change SO Url to "v6"
-add xtransactionid in AAI request header
-add fields Project and OwningEntity in SO request
-fix tests

Change-Id: I014e8731079134dae8754900b00f71f48dd530aa
Issue-ID: EXTAPI-117
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
5 years agoMerge "Clean the doc" 2.0.0-ONAP 2.0.0-ONAP v2.0.0
Eric Debeau [Mon, 4 Jun 2018 09:35:27 +0000 (09:35 +0000)]
Merge "Clean the doc"

5 years agoClean the doc 89/50089/1
Eric Debeau [Mon, 4 Jun 2018 06:11:34 +0000 (06:11 +0000)]
Clean the doc

Remove R1

Change-Id: I5c42db81464f358cdac683c6fa143eb4412f0ac5
Issue-ID: EXTAPI-95
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
5 years agoFix format isse on quick links 07/50007/1
Gildas Lanilis [Sat, 2 Jun 2018 01:37:37 +0000 (18:37 -0700)]
Fix format isse on quick links

Change-Id: I4b3784322b03ec7e0add3f09155252a2b810d107
Issue-ID: DOC-271
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
5 years agoDocument Security section of the Release Notes 11/49611/3
Gildas Lanilis [Wed, 30 May 2018 20:48:41 +0000 (13:48 -0700)]
Document Security section of the Release Notes

Removed trailing tabs and spaces
Change-Id: Ie3c1f8133f295c81a947006c7b2e5c07bf33be65
Issue-ID: DOC-271
Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
5 years agonbi ko when can't reach onap 91/49291/1
romaingimbert [Mon, 28 May 2018 07:41:05 +0000 (09:41 +0200)]
nbi ko when can't reach onap

- fix infinite loop
- change test

Change-Id: I286e7ed9ea4b46ceb9af4d18d40adbf55de62e92
Issue-ID: EXTAPI-94
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
5 years agoorderitem id ko when so returns 202 51/48951/1
romaingimbert [Thu, 24 May 2018 13:43:39 +0000 (15:43 +0200)]
orderitem id ko when so returns 202

- fix code
- change test
- add log

Change-Id: I88830af9600e7356e9ffcba3273a1826ac3ef0ca
Issue-ID: EXTAPI-93
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
5 years agoFix JVM problem with Docker cpu&memory limits 13/48213/1
Quoc Nghia Nguyen [Fri, 18 May 2018 18:27:16 +0000 (20:27 +0200)]
Fix JVM problem with Docker cpu&memory limits

More detail: https://blogs.oracle.com/java-platform-group/java-se-support-for-docker-cpu-and-memory-limits

Change-Id: I9d0fd6ff8caa8f492a79772d81e2937ccd9a3944
Issue-ID: EXTAPI-91
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
5 years agoMerge "Codebase license scan results, May 2018"
Eric Debeau [Wed, 16 May 2018 14:46:37 +0000 (14:46 +0000)]
Merge "Codebase license scan results, May 2018"

5 years agoCodebase license scan results, May 2018 29/47829/1
MatthieuGeerebaert [Wed, 16 May 2018 13:59:24 +0000 (15:59 +0200)]
Codebase license scan results, May 2018

Change-Id: I85320efd75b1ba66481c427a240c8915fe42ce0a
Issue-ID: EXTAPI-87
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
5 years agoMerge "infinite loop when so not responding"
Matthieu Geerebaert [Wed, 16 May 2018 13:37:27 +0000 (13:37 +0000)]
Merge "infinite loop when so not responding"

5 years agoinfinite loop when so not responding 13/47813/1
romaingimbert [Wed, 16 May 2018 12:42:36 +0000 (14:42 +0200)]
infinite loop when so not responding

- fix code
- add test

Change-Id: Idcf9383d38e821418c16e8f72250df238e1a6b78
Issue-ID: EXTAPI-89
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
5 years agoUpdate installation note 29/47629/2
MatthieuGeerebaert [Tue, 15 May 2018 14:25:41 +0000 (16:25 +0200)]
Update installation note

Change-Id: I802ec6821ed206dde39fc3e4b8e1f68212332639
Issue-ID: EXTAPI-88
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
5 years agoAdd default value for NEXUS_DOCKER_REPO in .env 57/47357/1
Quoc Nghia Nguyen [Mon, 14 May 2018 07:52:15 +0000 (09:52 +0200)]
Add default value for NEXUS_DOCKER_REPO in .env

Issue-ID: EXTAPI-83
Change-Id: I76d8db64e2c16611e389f858b47816bb0590e736
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
5 years agoCorrect bad spelling words 37/46837/1
Eric Debeau [Wed, 9 May 2018 13:49:51 +0000 (13:49 +0000)]
Correct bad spelling words

Correct bad spelling words based on the results
provided by the tox -espellcheck command from
Documentation project

Change-Id: If2ebfce04b7cd65f418feb9775385a36c8242dbb
Issue-ID: EXTAPI-85
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
5 years agoFix NBI installation in HEAT 93/46693/1
Gary Wu [Tue, 8 May 2018 21:16:21 +0000 (14:16 -0700)]
Fix NBI installation in HEAT

Change-Id: I6d2b24fb11cec1c7f1634b2394fe232152e93cf9
Issue-ID: EXTAPI-83
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoCorrect release note 07/46407/1
Eric Debeau [Mon, 7 May 2018 14:48:56 +0000 (14:48 +0000)]
Correct release note

Minor editorial corrections
Corrections to pass DOC8
Add link to JIRA Issues

Change-Id: I58e476cfdda50d6a214bebec276d9c32b5d710c2
Issue-ID: EXTAPI-82
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoSonar clean code 03/46203/2
romaingimbert [Fri, 4 May 2018 11:55:38 +0000 (13:55 +0200)]
Sonar clean code

- fix log messages
- fix 2 sonar bugs
- replace LinkedHashMap by Map

Change-Id: I0b7953f09ffa706b5357ac45c7c4290a56bba236
Issue-ID: EXTAPI-81
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoProblems with spaces in AAI requests 75/45575/2
NicolasLaplaud [Wed, 2 May 2018 09:00:04 +0000 (11:00 +0200)]
Problems with spaces in AAI requests

 - Use java.net.uri instead of String to build parameterized url

Change-Id: I11d284dc2c225932df0e1f996df46d018710a2f5
Issue-ID: EXTAPI-59
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agoproblem with when SO not responding 47/45747/3
romaingimbert [Thu, 3 May 2018 08:11:19 +0000 (10:11 +0200)]
problem with when SO not responding

- fix infinite loop when SO not responding
- fix json with task
- fix infinite loop when no service found in SDC

Change-Id: Iddbf80a6c9bd99d0426c95d729b9f49440f1b945
Issue-ID: EXTAPI-80
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoadd release notes 71/45571/1
Rene Robert [Wed, 2 May 2018 08:18:27 +0000 (08:18 +0000)]
add release notes
Issue-ID: EXTAPI-79

Change-Id: I2bc9570eafd46e3de47de1aaf4da0518ef484d76
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoMerge "Find service inventory"
Matthieu Geerebaert [Fri, 27 Apr 2018 12:14:37 +0000 (12:14 +0000)]
Merge "Find service inventory"

6 years agoFind service inventory 87/44887/2
romaingimbert [Thu, 26 Apr 2018 14:27:38 +0000 (16:27 +0200)]
Find service inventory

- fix NPE exception when no service instance
- fix cast exception when use jolt with empty collection

Change-Id: I74d65fbb345946cf65c6cd61433ccb3b2a4416d7
Issue-ID: EXTAPI-78
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agocorrect some rst files 55/44955/1
Rene Robert [Thu, 26 Apr 2018 18:56:42 +0000 (18:56 +0000)]
correct some rst files
Issue-ID: EXTAPI-74

Change-Id: Iafe3a129da0059cc666f30644ea914b1d576a00f
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoMerge "correct rst files Issue-ID: EXTAPI-74"
Matthieu Geerebaert [Thu, 26 Apr 2018 14:43:59 +0000 (14:43 +0000)]
Merge "correct rst files Issue-ID: EXTAPI-74"

6 years agocorrect rst files 73/44873/1
Rene Robert [Thu, 26 Apr 2018 12:08:30 +0000 (12:08 +0000)]
correct rst files
Issue-ID: EXTAPI-74

Change-Id: Ib03bdda0f7f8493d3b3b6cac9f603076bc7bf62b
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoservice inventory empty when no service 31/44831/1
romaingimbert [Thu, 26 Apr 2018 08:56:56 +0000 (10:56 +0200)]
service inventory empty when no service

- fix code when a service type has no service-instance

Change-Id: I6035a459bdf90b724377acb76bb99be747bf03fb
Issue-ID: EXTAPI-78
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoMerge "Can't pass "spaces" on query params SDC API"
Matthieu Geerebaert [Wed, 25 Apr 2018 16:20:00 +0000 (16:20 +0000)]
Merge "Can't pass "spaces" on query params SDC API"

6 years agoCan't pass "spaces" on query params SDC API 89/44689/2
NicolasLaplaud [Wed, 25 Apr 2018 15:52:00 +0000 (17:52 +0200)]
Can't pass "spaces" on query params SDC API

 - update the usage of UriComponentsBuilder, never toString
 - use RestTemplate API calls directly with URI instead of string url
 - remove last slash from serviceSpec string url

Change-Id: Ibf420e3216a85fb030d4c7f6744c12809f24f7bf
Issue-ID: EXTAPI-59
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agohandle security issues 91/44691/1
romaingimbert [Wed, 25 Apr 2018 15:53:24 +0000 (17:53 +0200)]
handle security issues

- upgrade spring version

Change-Id: Ib4efd027f75d1735f0f0d632c0e5fdc108627e8e
Issue-ID: EXTAPI-77
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoMerge "NBI needs to support HTTPS requests to AAI"
Andy Mayer [Wed, 25 Apr 2018 12:46:40 +0000 (12:46 +0000)]
Merge "NBI needs to support HTTPS requests to AAI"

6 years agoNBI needs to support HTTPS requests to AAI 87/44387/5
MatthieuGeerebaert [Tue, 24 Apr 2018 14:30:59 +0000 (16:30 +0200)]
NBI needs to support HTTPS requests to AAI

- add amsterdam aai and beijing Root CA certificates
- will be used and injected to docker instance

Change-Id: I1028fb304f213425b7a4d21aaf81668c15b9d236
Issue-ID: EXTAPI-57
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
6 years agoMerge "change postman collection"
Matthieu Geerebaert [Wed, 25 Apr 2018 09:30:23 +0000 (09:30 +0000)]
Merge "change postman collection"

6 years agochange postman collection 33/44633/1
romaingimbert [Wed, 25 Apr 2018 09:00:35 +0000 (11:00 +0200)]
change postman collection

- change service id to service name

Change-Id: I19b46ed60bdaa179ab6283fb7fbeadef61b3fd0e
Issue-ID: EXTAPI-60
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agostring "null" in temp tosca file 29/44629/1
romaingimbert [Wed, 25 Apr 2018 08:44:26 +0000 (10:44 +0200)]
string "null" in temp tosca file

- change uuid to id

Change-Id: I3eabf0f9eedef18585d0fef00a83ab246f7117ef
Issue-ID: EXTAPI-73
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agosonar clean code 85/44585/1
romaingimbert [Wed, 25 Apr 2018 06:07:59 +0000 (08:07 +0200)]
sonar clean code

- refactor parse tosca
- add test tosca

Change-Id: Ib4c92efdab239dad1e6f2c49deadb3027380485c
Issue-ID: EXTAPI-46
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agomodelCustomizationName from SDC 79/44379/1
romaingimbert [Tue, 24 Apr 2018 14:08:16 +0000 (16:08 +0200)]
modelCustomizationName from SDC

- modelCustomizationName set from resourceInstanceName
- add test case

Change-Id: I5bd870343a5b87464bd06267b38300b51b568154
Issue-ID: EXTAPI-56
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agosonar clean code 29/44329/2
romaingimbert [Tue, 24 Apr 2018 12:02:52 +0000 (14:02 +0200)]
sonar clean code

- refactor parse tosca

Change-Id: Ifbdd5427a24fd549730e59859ede62dd8ba18b93
Issue-ID: EXTAPI-46
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoMerge "NPE in parse tosca file"
Matthieu Geerebaert [Tue, 24 Apr 2018 12:09:31 +0000 (12:09 +0000)]
Merge "NPE in parse tosca file"

6 years agoMerge "Invalid SO payload"
Matthieu Geerebaert [Tue, 24 Apr 2018 12:09:01 +0000 (12:09 +0000)]
Merge "Invalid SO payload"

6 years agoMerge "SubscriptionServiceType is null in request to SO"
Matthieu Geerebaert [Tue, 24 Apr 2018 12:08:50 +0000 (12:08 +0000)]
Merge "SubscriptionServiceType is null in request to SO"

6 years agoMerge "add field in SO Request"
Matthieu Geerebaert [Tue, 24 Apr 2018 12:08:28 +0000 (12:08 +0000)]
Merge "add field in SO Request"

6 years agoNPE in parse tosca file 09/44309/2
romaingimbert [Tue, 24 Apr 2018 09:25:31 +0000 (11:25 +0200)]
NPE in parse tosca file

- check if null
- add test case

Change-Id: I400582cd99941c824ed0ef016d77c3d38beaece0
Issue-ID: EXTAPI-58
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agocorrect title 99/44299/1
Rene Robert [Tue, 24 Apr 2018 07:10:10 +0000 (07:10 +0000)]
correct title
Issue-ID: EXTAPI-74

Change-Id: Ie25b29355a2dc2e7e12a382884645cf6c3c21f03
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agocorrect links and add infos 97/44197/1
Rene Robert [Mon, 23 Apr 2018 15:39:19 +0000 (15:39 +0000)]
correct links and add infos
Issue-ID: EXTAPI-74

Change-Id: Ic219585f889ca9c5fb03e1452c2583753e517d39
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoInvalid SO payload 95/44195/1
NicolasLaplaud [Mon, 23 Apr 2018 15:34:16 +0000 (17:34 +0200)]
Invalid SO payload

 - Modify HttpEntity instanciation

Change-Id: Iadaae85a62891111c7e4cdfd99b3d82dc92c8e72
Issue-ID: EXTAPI-64
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agoMerge "add licence to files Issue-ID: EXTAPI-74"
Andy Mayer [Mon, 23 Apr 2018 15:23:20 +0000 (15:23 +0000)]
Merge "add licence to files Issue-ID: EXTAPI-74"

6 years agoSubscriptionServiceType is null in request to SO 91/44191/1
NicolasLaplaud [Mon, 23 Apr 2018 14:52:59 +0000 (16:52 +0200)]
SubscriptionServiceType is null in request to SO

 - Fix the subscriptionServiceType setter method in RequestParameterType

Change-Id: If00e9cb1b6a2351af1476cd59a517687b335d709
Issue-ID: EXTAPI-63
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agoadd field in SO Request 87/44187/1
romaingimbert [Mon, 23 Apr 2018 14:50:36 +0000 (16:50 +0200)]
add field in SO Request

- add modelVersionId

Change-Id: I19796ed16b1fe7c1937aad037f71a8374e85f50d
Issue-ID: EXTAPI-65
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoMerge "fix NPE SO Response"
Matthieu Geerebaert [Mon, 23 Apr 2018 14:48:49 +0000 (14:48 +0000)]
Merge "fix NPE SO Response"

6 years agoMerge "add info in doc Issue-ID: EXTAPI-74"
Matthieu Geerebaert [Mon, 23 Apr 2018 14:48:12 +0000 (14:48 +0000)]
Merge "add info in doc Issue-ID: EXTAPI-74"

6 years agofix NPE SO Response 77/44177/1
romaingimbert [Mon, 23 Apr 2018 14:15:53 +0000 (16:15 +0200)]
fix NPE SO Response

-change requestReference to requestReferences
-change mocks

Change-Id: Ia8173b6286d04ab78bd6c5766ad1e9c2c61ab153
Issue-ID: EXTAPI-68
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoadd info in doc 79/44179/1
Rene Robert [Mon, 23 Apr 2018 14:15:02 +0000 (14:15 +0000)]
add info in doc
Issue-ID: EXTAPI-74

Change-Id: Iebea5ef0fa56ae0c9c11babdc108acc9b3ee0e40
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoMerge "fix NPE serviceOrder"
Matthieu Geerebaert [Mon, 23 Apr 2018 14:14:55 +0000 (14:14 +0000)]
Merge "fix NPE serviceOrder"

6 years agoMerge "fix NPE on NBI serviceInventory"
Matthieu Geerebaert [Mon, 23 Apr 2018 14:14:32 +0000 (14:14 +0000)]
Merge "fix NPE on NBI serviceInventory"

6 years agofix NPE serviceOrder 69/44169/1
romaingimbert [Mon, 23 Apr 2018 13:59:07 +0000 (15:59 +0200)]
fix NPE serviceOrder

-test when relatedParty is not passed, get generic customer

Change-Id: Iebe542354c7ddf694c8d2b8e1b4aa3e03ce823f4
Issue-ID: EXTAPI-61
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoAdd requestorId in SO requestInfo in NBI request 65/44165/1
NicolasLaplaud [Mon, 23 Apr 2018 13:46:34 +0000 (15:46 +0200)]
Add requestorId in SO requestInfo in NBI request

 - Add requestorId in RequestInfo class
 - Manage SOTaskProcessor to value requestorId with "NBI"

Change-Id: Ie4a0b71bd3825d8dc458b6d2912682d0f188267c
Issue-ID: EXTAPI-66
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agofix NPE on NBI serviceInventory 63/44163/1
romaingimbert [Mon, 23 Apr 2018 13:44:32 +0000 (15:44 +0200)]
fix NPE on NBI serviceInventory

- test with service without vnf

Change-Id: If92057a04e2d3263876d87a54588b4b8ca53a8d0
Issue-ID: EXTAPI-69
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoMerge "Fix Missing requestDetails wrapper in SO payload"
Matthieu Geerebaert [Mon, 23 Apr 2018 13:33:57 +0000 (13:33 +0000)]
Merge "Fix Missing requestDetails wrapper in SO payload"

6 years agoMerge "fix NPE serviceOrder"
Matthieu Geerebaert [Mon, 23 Apr 2018 13:13:46 +0000 (13:13 +0000)]
Merge "fix NPE serviceOrder"

6 years agoMerge "fix NPE on serviceInventory -service without VNF"
Matthieu Geerebaert [Mon, 23 Apr 2018 12:49:05 +0000 (12:49 +0000)]
Merge "fix NPE on serviceInventory -service without VNF"

6 years agoFix Missing requestDetails wrapper in SO payload 51/44151/1
NicolasLaplaud [Mon, 23 Apr 2018 10:02:37 +0000 (12:02 +0200)]
Fix Missing requestDetails wrapper in SO payload

 - Add MSOPayload class to wrap RequestDetail json in the SO Request
 - Manage the new wrapper in SoClient and SOTaskProcessor

Change-Id: Ia7843ea24375321aaab98b624538814fdff1262e
Issue-ID: EXTAPI-67
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agoMerge "Change SO endpoints URI"
Matthieu Geerebaert [Mon, 23 Apr 2018 12:35:44 +0000 (12:35 +0000)]
Merge "Change SO endpoints URI"

6 years agoadd some doc directories 33/44133/1
Rene Robert [Mon, 23 Apr 2018 10:14:55 +0000 (10:14 +0000)]
add some doc directories
Issue-ID: EXTAPI-74

Change-Id: I02840afce01b1c5be2c5015b9ae753676da4d370
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agofix NPE serviceOrder 23/44123/1
romaingimbert [Mon, 23 Apr 2018 09:38:02 +0000 (11:38 +0200)]
fix NPE serviceOrder

-when relatedParty is not passed, get generic customer

Change-Id: I5c2c0ef7e00f660cfb52bd55e25dc82148eafebd
Issue-ID: EXTAPI-61
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agofix NPE on serviceInventory 13/44113/1
romaingimbert [Mon, 23 Apr 2018 09:24:52 +0000 (11:24 +0200)]
fix NPE on serviceInventory
-service without VNF

Change-Id: Ia61b6d63e2a35197074e7df70917d2aa6f53ee96
Issue-ID: EXTAPI-69
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoChange SO endpoints URI 11/44111/1
romaingimbert [Mon, 23 Apr 2018 08:52:52 +0000 (10:52 +0200)]
Change SO endpoints URI

Change-Id: I110ce38c3752ef1bd70fa8783f0743377f2ce6de
Issue-ID: EXTAPI-62
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoadd licence to files 03/44103/1
Rene Robert [Mon, 23 Apr 2018 07:14:21 +0000 (07:14 +0000)]
add licence to files
Issue-ID: EXTAPI-74

Change-Id: I6857f89ce5529cf1f446f64dbb46573e009886dc
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agonbi doc update 13/43913/1
Rene Robert [Fri, 20 Apr 2018 13:12:45 +0000 (13:12 +0000)]
nbi doc update
Issue-ID: EXTAPI-74

Change-Id: Iedf3bad3ac690a3e2e2ffbb77bff6bc5aee20323
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoRight variables for NBI 93/43393/1
Sylvain Desbureaux [Tue, 17 Apr 2018 15:42:05 +0000 (17:42 +0200)]
Right variables for NBI

rename SPRING_SDC_HOST, SPRING_AAI_HOST and SPRING_SO_HOST to SDC_HOST,
AAI_HOST and SO_HOST respectively.

put the right value in these variables (with http(s) and ports and not
only the IP address, my bad).

force restart of nbi container on failure

Issue-ID: EXTAPI-75
Change-Id: I7b179bd1bf4201fe89f31a1d0c50d19fa02c8227
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
6 years agoAdd variables to set IP address of ONAP components 77/43377/1
Sylvain Desbureaux [Tue, 17 Apr 2018 15:03:30 +0000 (17:03 +0200)]
Add variables to set IP address of ONAP components

These variables must be set either inside an `.env` file in the same
folder as docker-compose.yml or via `exports` function of shell.

Currently, 3 (self explanatory) variables must be set:

- SDC_IP
- AAI_IP
- SO_IP

Change-Id: Ie3e00bbcca7aafab9b5b15b1dc03b9df4beaa0e7
Issue-ID: EXTAPI-75
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
6 years agoUpdate NBI docker-compose file 37/43037/4
Rene Robert [Mon, 16 Apr 2018 13:11:04 +0000 (13:11 +0000)]
Update NBI docker-compose file

Issue-ID: EXTAPI-75

Change-Id: I97ff5fe89257034cc2f5c87a592a81d156422c2a
Signed-off-by: Rene Robert <rene.robert@orange.com>
Signed-off-by: mrichomme <morgan.richomme@orange.com>
6 years agoSonar clean code 53/42953/1
MatthieuGeerebaert [Sun, 15 Apr 2018 20:19:46 +0000 (22:19 +0200)]
Sonar clean code

Issue-ID: EXTAPI-46

Change-Id: Iba029badc0ed15e20599902aef23c849a7eb0e86
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
6 years agoExternalized app params for deployment 15/42715/1
Quoc Nghia Nguyen [Fri, 13 Apr 2018 11:56:42 +0000 (13:56 +0200)]
Externalized app params for deployment

- .env: contains environment variables which override application's default properties
- Dockerfile & docker-compose.yml: takes environment variables into account
- application.properties: included external services configurations

Change-Id: I49937e66d514a42a174cff3bf6c383ecfc8e28e0
Issue-ID: EXTAPI-49
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
6 years agoMerge "Fix vulnerability report"
Matthieu Geerebaert [Fri, 13 Apr 2018 09:23:53 +0000 (09:23 +0000)]
Merge "Fix vulnerability report"

6 years agoFix vulnerability report 91/42691/1
NicolasLaplaud [Fri, 13 Apr 2018 09:03:23 +0000 (11:03 +0200)]
Fix vulnerability report

 - Exclude old logback-classic from spring-boot-starter-web
 - Add the latest logback-classic release version

Change-Id: I6c6c35ed9ba2e7d8f0176fe086fda4a42576e4bd
Issue-ID: EXTAPI-71
Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
6 years agoRemove 'All rights reserved.' on apache 2 license 89/42689/1
MatthieuGeerebaert [Fri, 13 Apr 2018 08:44:18 +0000 (10:44 +0200)]
Remove 'All rights reserved.' on apache 2 license

- mvn license:remove
- update LICENSE.TXT
- mvn license:format

Change-Id: I2e7b1c78936b40a7cd181df7a1084535a09eac8c
Issue-ID: EXTAPI-53
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
6 years agoRename Sonar report entry 75/42575/1
Jessica Wagantall [Thu, 12 Apr 2018 19:25:42 +0000 (12:25 -0700)]
Rename Sonar report entry

Rename Sonar report to "externalapi-nbi" to
reflect the name of the repo.

Change-Id: I40a8b5e8759bfcbb8c97b9fee2ec82e2630d0fbc
Issue-ID: EXTAPI-47
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoMerge "Remove mysql-connector-java (license threat)"
Matthieu Geerebaert [Thu, 12 Apr 2018 16:30:37 +0000 (16:30 +0000)]
Merge "Remove mysql-connector-java (license threat)"

6 years agoSonar - activate code coverage 43/42543/2
MatthieuGeerebaert [Thu, 12 Apr 2018 15:59:25 +0000 (17:59 +0200)]
Sonar - activate code coverage

- Add sonar properties
- Add jacoco
- Exclusion on 'model' package containing only pure java bean

Change-Id: I7af3a796c309831bb3f899521e7c834862110d88
Issue-ID: EXTAPI-47
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
6 years agoRemove mysql-connector-java (license threat) 35/42535/1
Quoc Nghia Nguyen [Thu, 12 Apr 2018 14:59:11 +0000 (16:59 +0200)]
Remove mysql-connector-java (license threat)

- pom.xml
- application-localhost.properties: replace mysql by mariadb

Change-Id: I3fab1169f71c3812c6d77b71c4220e525bc8d0a0
Issue-ID: EXTAPI-52
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
6 years agoFix docker image publish issue 93/42293/1
Quoc Nghia Nguyen [Wed, 11 Apr 2018 15:41:16 +0000 (17:41 +0200)]
Fix docker image publish issue

- Dockerfile: parameterized artifact's filename
- pom.xml: added arguments to docker build; update docker-maven-plugin to latest version

Change-Id: Ide871738d0024ffe379ce56ead2183619981cfcf
Issue-ID: EXTAPI-49
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
6 years agoMerge "Fix vulnerability report part1"
Matthieu Geerebaert [Wed, 11 Apr 2018 14:19:47 +0000 (14:19 +0000)]
Merge "Fix vulnerability report part1"

6 years agoMerge "Add license in missing .http and .properties files"
Andy Mayer [Wed, 11 Apr 2018 14:01:00 +0000 (14:01 +0000)]
Merge "Add license in missing .http and .properties files"

6 years agoFix vulnerability report part1 73/42273/2
NicolasLAplaud [Wed, 11 Apr 2018 13:20:17 +0000 (15:20 +0200)]
Fix vulnerability report part1

 - Add a dependency exclusion

Change-Id: Ifb3e3f5f78c6f9c9b0bcdd8238a047caf235f6e1
Issue-ID: EXTAPI-52
Signed-off-by: NicolasLAplaud <nicolas.laplaud@orange.com>
6 years agoFix nexus-staging-maven deployment issue 71/42271/1
Quoc Nghia Nguyen [Wed, 11 Apr 2018 13:32:35 +0000 (15:32 +0200)]
Fix nexus-staging-maven deployment issue

- pom.xml: Recover <distributionManagement> element

Change-Id: I7a848a1e12b1a93a311cad598d86e3d0092d7ff1
Issue-ID: EXTAPI-49
Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
6 years agoAdd license in missing .http and .properties files 39/42239/1
MatthieuGeerebaert [Wed, 11 Apr 2018 10:27:00 +0000 (12:27 +0200)]
Add license in missing .http and .properties files

Change-Id: I363151c3469442f056068346e6d9f9a14b54765b
Issue-ID: EXTAPI-53
Signed-off-by: Matthieu Geerebaert <matthieu.geerebaert@orange.com>
6 years agoAdd license in missing doc files 81/41981/1
Eric Debeau [Tue, 10 Apr 2018 19:13:50 +0000 (19:13 +0000)]
Add license in missing doc files

Change-Id: Icf04d9f25ae2679fbfd97e0930887370225b6ec6
Issue-ID: EXTAPI-53
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoMerge "Add files for build and docker"
Matthieu Geerebaert [Tue, 10 Apr 2018 13:05:41 +0000 (13:05 +0000)]
Merge "Add files for build and docker"

6 years agoAdd files for build and docker 51/41751/4
raag8290 [Mon, 9 Apr 2018 14:23:03 +0000 (16:23 +0200)]
Add files for build and docker

- version.properties
- plugin docker
- application-docker.properties
- docker files
- ready

Change-Id: Ic6884b2df3d31518b70a5d2b8cd1a2fd94d73a15
Issue-ID: EXTAPI-49
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
6 years agoUpdate and correct INFO.yaml 95/41795/1
Eric Debeau [Mon, 9 Apr 2018 19:10:36 +0000 (19:10 +0000)]
Update and correct INFO.yaml

Update INFO.yaml with the committers
Correct file to pass YAML Lint

Change-Id: I7ef4d4f0a495fd2b7dd5ba15679d9b4a68bcbdf3
Issue-ID: EXTAPI-50
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
6 years agoMerge "Add Apache license header per file"
Andy Mayer [Mon, 9 Apr 2018 11:43:52 +0000 (11:43 +0000)]
Merge "Add Apache license header per file"

6 years agoMerge "correct link to DevDoc Issue-ID: EXTAPI-48"
Andy Mayer [Mon, 9 Apr 2018 11:42:46 +0000 (11:42 +0000)]
Merge "correct link to DevDoc Issue-ID: EXTAPI-48"

6 years agocorrect link to DevDoc 75/41475/1
Rene Robert [Fri, 6 Apr 2018 21:52:57 +0000 (21:52 +0000)]
correct link to DevDoc
Issue-ID: EXTAPI-48

Change-Id: Ib78887cc4eb81dcc15004b22a184120f21d03fdc
Signed-off-by: Rene Robert <rene.robert@orange.com>
6 years agoFix groupId in pom 25/41425/2
Jessica Wagantall [Fri, 6 Apr 2018 18:16:13 +0000 (11:16 -0700)]
Fix groupId in pom

Fix groupId variable to match the repo name
"externalapi-nbi"

Change-Id: I6bf43d351f546964706c0309b7a3ed0b5e48d1a1
Issue-ID: EXTAPI-36
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoAdd Apache license header per file 97/41397/2
MatthieuGeerebaert [Fri, 6 Apr 2018 15:33:07 +0000 (17:33 +0200)]
Add Apache license header per file

    - check
    mvn license:check
    - insert license header
    mvn license:format

Change-Id: If2dd3c2ef57527b0f38d3412e73f40b884fd3f6d
Issue-ID: EXTAPI-47
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
6 years agoFix pom file typo 51/41251/1
Jessica Wagantall [Thu, 5 Apr 2018 18:35:39 +0000 (11:35 -0700)]
Fix pom file typo

Remove extra "/" from the repository links

Change-Id: Ia0a8f23a9d5382b15cc8ecff156b91d3c56bba6a
Issue-ID: EXTAPI-36
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoMerge "Add INFO.yaml file"
Andy Mayer [Thu, 5 Apr 2018 14:46:50 +0000 (14:46 +0000)]
Merge "Add INFO.yaml file"