aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-09-21Tests failed randomlyromaingimbert1-4/+14
-remove thread.sleep in tests Change-Id: Ia7eb1a44725915648d3aa77bfcd93e42a93310d8 Issue-ID: EXTAPI-153 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-09-19Merge "adjust msb integration"Eric Debeau1-0/+2
2018-09-19EXTAPI-150 Correct SO Pathsaosull018-19/+19
Issue-ID: EXTAPI-150 Change-Id: I488803bf97b427ee6e0324b427cbe202bd91b352 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2018-09-19adjust msb integrationQuoc-Nghia Nguyen1-0/+2
Change-Id: Ie74c85404935652548d682f33c3b52c819a81c2b Issue-ID: EXTAPI-90 Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
2018-09-14Add API Documentation for Casablancaromaingimbert2-7/+13
-update docs -update version related code -change properties MSB Change-Id: I7fb2a257ec035c53e93666d7571a2c74a0624524 Issue-ID: EXTAPI-141 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-09-13Merge "Poll for 6 hrs instead of 3 times."Matthieu Geerebaert3-19/+17
2018-09-13Add HubRessource TestNicolasLaplaud1-3/+16
- Improve junit test coverage on HubResource method Change-Id: Icef152f6065fa999bedc2e32ffd7bf07892bb82c Issue-ID: EXTAPI-135 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-09-13Poll for 6 hrs instead of 3 times.Prabhu2017133-19/+17
Issue-ID: EXTAPI-140 Change-Id: I7d4bec505cca820ac87826159241e3e91c407b73 Signed-off-by: Prabhu201713 <prabhu.balan1@vodafone.com>
2018-09-12Add HubRessource TestNicolasLaplaud2-14/+152
- Improve junit test coverage on HubResource method Change-Id: I90e96ed57b4cb781a2454ac26953f5384a60c032 Issue-ID: EXTAPI-135 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-09-11service order constraints controlromaingimbert2-0/+12
-check data constraints of the service order -add test Change-Id: I73a0c405555938f191b594a4cfd2737c9c1563ec Issue-ID: EXTAPI-148 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-09-07Merge "EXTAPI-125 Percent Progress"Matthieu Geerebaert1-1/+1
2018-09-07state attribute for ServiceInventoryromaingimbert2-0/+68
-change jolt mapping to add field state -manage when no VNF found -add test Change-Id: I68d885678aab031176a130349b2fb73838fff683 Issue-ID: EXTAPI-134 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-09-06EXTAPI-125 Percent ProgressMariosIakovidis1-1/+1
Change-Id: I57c9ee5f814a72aa50e716948f4e356de683b6e4 Issue-ID: EXTAPI-125 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>
2018-09-05Update API version to v3romaingimbert1-2/+2
-change application.properties to v3 -change .env docker to v3 -change Dockerfile to v3 Change-Id: I95dd0a29494e8fdebe29ac7bcfcfccf03a9a1c6c Issue-ID: EXTAPI-143 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-08-30ServiceOrder Modification Implementationromaingimbert1-3/+121
-add modify action -add tests Change-Id: Ie41cdefb46774dba7804123264ee71b755df2728 Issue-ID: EXTAPI-133 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-08-22Help NBI user to get informationromaingimbert1-0/+54
-add orderMessage 105 (service name already exists) -add tests Change-Id: I62ead9c22af49ee14d3a99eb97dddbf4fcd91e3c Issue-ID: EXTAPI-116 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-08-21EXTAPI-102 Initial commitaosull016-0/+297
Issue-ID: EXTAPI-102 Change-Id: I8a24d9ea73ecfc9c386be12bd35f4d6141d6f2e9 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Co-authored-by: MariosIakovidis <marios.iakovidis@huawei.com> Co-authored-by: Prabhu201713 <Prabhu.balan1@vodafone.com>
2018-08-10Help NBI user to get informationromaingimbert2-1/+220
-add orderMessage to order and orderItem -add tests Change-Id: Ibb9e54ec03f8b8f736390501fc16c9b96c0f987a Issue-ID: EXTAPI-116 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-08-03rollback EXTAPI-108 call toscaromaingimbert3-9/+287
Change-Id: Icfe3594f7b34b7dabdc7941ce5fff3b52fd4703f Issue-ID: EXTAPI-108 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-07-13add option to disable registration with msbQuoc-Nghia Nguyen2-29/+1
Issue-ID: EXTAPI-101 Change-Id: I54911da3fde479f1a387f931fdcc72341c5b2092 Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
2018-07-11Register with MSB after being launchedQuoc Nghia Nguyen2-0/+42
Change-Id: I96c84f8b8e0757d68461a0e631d6ed432f64ecad Issue-ID: EXTAPI-90 Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
2018-07-06adapt NBI to Beijingromaingimbert5-7/+11
-change SO Url to "v6" -add xtransactionid in AAI request header -add fields Project and OwningEntity in SO request -fix tests Change-Id: I61f3ef9f99f4d200cc8f04e7f4929dc1fddf130a Issue-ID: EXTAPI-117 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-07-05serviceSpecInputSchemaromaingimbert3-282/+12
- remove call to tosca file - add new field in serviceCharacteristics - change test Change-Id: Iad840360cff2920e8995e9d6dc73ded84ca86146 Issue-ID: EXTAPI-108 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-06-28fix service order enumromaingimbert1-2/+2
- fix service order enum value for getServiceOrder Change-Id: Ib9aaa3a4efb78f653f240537732374638db83493 Issue-ID: EXTAPI-109 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-05-28nbi ko when can't reach onapromaingimbert1-0/+91
- 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/+1
- 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 respondingromaingimbert1-8/+26
- fix code - add test Change-Id: Idcf9383d38e821418c16e8f72250df238e1a6b78 Issue-ID: EXTAPI-89 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-05-03problem with when SO not respondingromaingimbert2-27/+123
- 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-26service inventory empty when no serviceromaingimbert1-1/+13
- 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 APINicolasLaplaud1-1/+1
- 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-25sonar clean coderomaingimbert2-18/+1999
- 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-0/+1
- modelCustomizationName set from resourceInstanceName - add test case Change-Id: I5bd870343a5b87464bd06267b38300b51b568154 Issue-ID: EXTAPI-56 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-24NPE in parse tosca fileromaingimbert2-0/+175
- check if null - add test case Change-Id: I400582cd99941c824ed0ef016d77c3d38beaece0 Issue-ID: EXTAPI-58 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-23Merge "fix NPE SO Response"Matthieu Geerebaert2-2/+2
2018-04-23fix NPE SO Responseromaingimbert2-2/+2
-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-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-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-23Change SO endpoints URIromaingimbert2-2/+2
Change-Id: I110ce38c3752ef1bd70fa8783f0743377f2ce6de Issue-ID: EXTAPI-62 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-04-13Externalized app params for deploymentQuoc Nghia Nguyen1-1/+7
- .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 licenseMatthieuGeerebaert7-13/+7
- 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-11Add license in missing .http and .properties filesMatthieuGeerebaert1-0/+16
Change-Id: I363151c3469442f056068346e6d9f9a14b54765b Issue-ID: EXTAPI-53 Signed-off-by: Matthieu Geerebaert <matthieu.geerebaert@orange.com>
2018-04-06Add Apache license header per fileMatthieuGeerebaert6-0/+96
- 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 servicesMatthieuGeerebaert15-185/+925
- 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 inventoryMatthieuGeerebaert14-2/+645
- 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 servicesMatthieuGeerebaert8-2/+920
- 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 sourcesMatthieuGeerebaert1-0/+41
- Springboot application - Apache license 2.0 - Healthcheck Change-Id: I0dedfbe3348195f7be00ec8d27fbf25dfcda52b0 Issue-ID: EXTAPI-36 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>