aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04Sonar clean coderomaingimbert18-79/+91
- 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>
2018-05-04Problems with spaces in AAI requestsNicolasLaplaud1-13/+11
- 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>
2018-05-03problem with when SO not respondingromaingimbert15-308/+424
- 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>
2018-04-27Find service inventoryromaingimbert5-54/+69
- 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>
2018-04-26service inventory empty when no serviceromaingimbert3-7/+32
- 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>
2018-04-25Can't pass "spaces" on query params SDC APINicolasLaplaud3-23/+29
- 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>
2018-04-25Merge "NBI needs to support HTTPS requests to AAI"Andy Mayer2-0/+54
2018-04-25NBI needs to support HTTPS requests to AAIMatthieuGeerebaert2-0/+54
- 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>
2018-04-25string "null" in temp tosca fileromaingimbert1-11/+14
- change uuid to id Change-Id: I3eabf0f9eedef18585d0fef00a83ab246f7117ef Issue-ID: EXTAPI-73 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-25sonar clean coderomaingimbert3-22/+2009
- refactor parse tosca - add test tosca Change-Id: Ib4c92efdab239dad1e6f2c49deadb3027380485c Issue-ID: EXTAPI-46 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-24modelCustomizationName from SDCromaingimbert3-1/+2
- modelCustomizationName set from resourceInstanceName - add test case Change-Id: I5bd870343a5b87464bd06267b38300b51b568154 Issue-ID: EXTAPI-56 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-24sonar clean coderomaingimbert1-38/+47
- refactor parse tosca Change-Id: Ifbdd5427a24fd549730e59859ede62dd8ba18b93 Issue-ID: EXTAPI-46 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-24Merge "NPE in parse tosca file"Matthieu Geerebaert3-21/+198
2018-04-24Merge "Invalid SO payload"Matthieu Geerebaert1-6/+2
2018-04-24Merge "SubscriptionServiceType is null in request to SO"Matthieu Geerebaert1-1/+1
2018-04-24Merge "add field in SO Request"Matthieu Geerebaert2-4/+21
2018-04-24NPE in parse tosca fileromaingimbert3-21/+198
- check if null - add test case Change-Id: I400582cd99941c824ed0ef016d77c3d38beaece0 Issue-ID: EXTAPI-58 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Invalid SO payloadNicolasLaplaud1-6/+2
- Modify HttpEntity instanciation Change-Id: Iadaae85a62891111c7e4cdfd99b3d82dc92c8e72 Issue-ID: EXTAPI-64 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-04-23SubscriptionServiceType is null in request to SONicolasLaplaud1-1/+1
- Fix the subscriptionServiceType setter method in RequestParameterType Change-Id: If00e9cb1b6a2351af1476cd59a517687b335d709 Issue-ID: EXTAPI-63 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-04-23add field in SO Requestromaingimbert2-4/+21
- add modelVersionId Change-Id: I19796ed16b1fe7c1937aad037f71a8374e85f50d Issue-ID: EXTAPI-65 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Merge "fix NPE SO Response"Matthieu Geerebaert5-12/+12
2018-04-23fix NPE SO Responseromaingimbert5-12/+12
-change requestReference to requestReferences -change mocks Change-Id: Ia8173b6286d04ab78bd6c5766ad1e9c2c61ab153 Issue-ID: EXTAPI-68 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Merge "fix NPE serviceOrder"Matthieu Geerebaert1-0/+18
2018-04-23Merge "fix NPE on NBI serviceInventory"Matthieu Geerebaert3-0/+54
2018-04-23fix NPE serviceOrderromaingimbert1-0/+18
-test when relatedParty is not passed, get generic customer Change-Id: Iebe542354c7ddf694c8d2b8e1b4aa3e03ce823f4 Issue-ID: EXTAPI-61 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Add requestorId in SO requestInfo in NBI requestNicolasLaplaud2-2/+18
- 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>
2018-04-23fix NPE on NBI serviceInventoryromaingimbert3-0/+54
- test with service without vnf Change-Id: If92057a04e2d3263876d87a54588b4b8ca53a8d0 Issue-ID: EXTAPI-69 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Merge "Fix Missing requestDetails wrapper in SO payload"Matthieu Geerebaert3-30/+55
2018-04-23Fix Missing requestDetails wrapper in SO payloadNicolasLaplaud3-30/+55
- 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>
2018-04-23fix NPE serviceOrderromaingimbert1-20/+22
-when relatedParty is not passed, get generic customer Change-Id: I5c2c0ef7e00f660cfb52bd55e25dc82148eafebd Issue-ID: EXTAPI-61 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23fix NPE on serviceInventoryromaingimbert1-8/+11
-service without VNF Change-Id: Ia61b6d63e2a35197074e7df70917d2aa6f53ee96 Issue-ID: EXTAPI-69 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Change SO endpoints URIromaingimbert3-4/+4
Change-Id: I110ce38c3752ef1bd70fa8783f0743377f2ce6de Issue-ID: EXTAPI-62 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-16Update NBI docker-compose fileRene Robert1-10/+10
Issue-ID: EXTAPI-75 Change-Id: I97ff5fe89257034cc2f5c87a592a81d156422c2a Signed-off-by: Rene Robert <rene.robert@orange.com> Signed-off-by: mrichomme <morgan.richomme@orange.com>
2018-04-15Sonar clean codeMatthieuGeerebaert9-147/+150
Issue-ID: EXTAPI-46 Change-Id: Iba029badc0ed15e20599902aef23c849a7eb0e86 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-04-13Externalized app params for deploymentQuoc Nghia Nguyen4-131/+46
- .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>
2018-04-13Remove 'All rights reserved.' on apache 2 licenseMatthieuGeerebaert100-196/+100
- mvn license:remove - update LICENSE.TXT - mvn license:format Change-Id: I2e7b1c78936b40a7cd181df7a1084535a09eac8c Issue-ID: EXTAPI-53 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-04-12Remove mysql-connector-java (license threat)Quoc Nghia Nguyen1-2/+2
- 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>
2018-04-11Add license in missing .http and .properties filesMatthieuGeerebaert4-0/+64
Change-Id: I363151c3469442f056068346e6d9f9a14b54765b Issue-ID: EXTAPI-53 Signed-off-by: Matthieu Geerebaert <matthieu.geerebaert@orange.com>
2018-04-10Add files for build and dockerraag82901-0/+48
- 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>
2018-04-06Add Apache license header per fileMatthieuGeerebaert96-0/+1536
- 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>
2018-04-03Add serviceOrder rest servicesMatthieuGeerebaert80-208/+6970
- Add create, get, find serviceOrder operations - Add tests - Add Mongo / Mysql / H2 datasource management ( H2 test ) - Add VSCode restclient samples with .settings to play with serviceOrder operations - Resolve conflict 40291, with cherry pick Change-Id: I81a76a211fe5526a3a31deb945770f0a5e2c195f Issue-ID: EXTAPI-42 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-04-03Add service inventoryMatthieuGeerebaert26-6/+1132
- Add service inventory operations get and find - Consumes AAI - Add tests Change-Id: If04ada259b7a172c1dbaac3649047cdb2d9dd5bc Issue-ID: EXTAPI-39 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-04-03Add serviceCatalog rest servicesMatthieuGeerebaert27-3/+1895
- Add get and find serviceSpecification operations - Add API exceptions management - Consumes SDC apis - Add tests - Fix pom.xml conflict Change-Id: Id103d83dc8a981885100daabe868cdf18a922975 Issue-ID: EXTAPI-39 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-03-27Add initial sourcesMatthieuGeerebaert16-0/+746
- Springboot application - Apache license 2.0 - Healthcheck Change-Id: I0dedfbe3348195f7be00ec8d27fbf25dfcda52b0 Issue-ID: EXTAPI-36 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>