aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2018-07-09adapt NBI to Beijingromaingimbert8-3/+125
-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>
2018-05-28nbi ko when can't reach onapromaingimbert2-13/+22
- fix infinite loop - change test Change-Id: I286e7ed9ea4b46ceb9af4d18d40adbf55de62e92 Issue-ID: EXTAPI-94 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-05-24orderitem id ko when so returns 202romaingimbert1-1/+11
- fix code - change test - add log Change-Id: I88830af9600e7356e9ffcba3273a1826ac3ef0ca Issue-ID: EXTAPI-93 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-05-16infinite loop when so not respondingromaingimbert2-23/+28
- fix code - add test Change-Id: Idcf9383d38e821418c16e8f72250df238e1a6b78 Issue-ID: EXTAPI-89 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
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 respondingromaingimbert13-281/+301
- 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 serviceromaingimbert2-6/+19
- 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 APINicolasLaplaud2-22/+28
- 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-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 coderomaingimbert1-4/+10
- 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 SDCromaingimbert1-1/+0
- 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 Geerebaert1-21/+23
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 fileromaingimbert1-21/+23
- 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 Geerebaert3-10/+10
2018-04-23fix NPE SO Responseromaingimbert3-10/+10
-change requestReference to requestReferences -change mocks Change-Id: Ia8173b6286d04ab78bd6c5766ad1e9c2c61ab153 Issue-ID: EXTAPI-68 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-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 URIromaingimbert1-2/+2
Change-Id: I110ce38c3752ef1bd70fa8783f0743377f2ce6de Issue-ID: EXTAPI-62 Signed-off-by: romaingimbert <romain.gimbert@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-13Remove 'All rights reserved.' on apache 2 licenseMatthieuGeerebaert90-180/+90
- 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-06Add Apache license header per fileMatthieuGeerebaert90-0/+1440
- 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 servicesMatthieuGeerebaert63-21/+6016
- 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 inventoryMatthieuGeerebaert9-4/+403
- 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 servicesMatthieuGeerebaert15-0/+861
- 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 sourcesMatthieuGeerebaert14-0/+699
- Springboot application - Apache license 2.0 - Healthcheck Change-Id: I0dedfbe3348195f7be00ec8d27fbf25dfcda52b0 Issue-ID: EXTAPI-36 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>