summaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-03-08add href to service inventory responsesaosull012-6/+6
Change-Id: I818902bb04dc9464764ee52efb309df20e18e652 Issue-ID: EXTAPI-210 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-03-07Improve nbi statusromaingimbert36-1/+172
-add components to check connectivity with onap (sdc, aai, so, dmaap) -activate full status with ?fullStatus=true -change test -change mock tests folders Change-Id: Iddcd7fce3c1b3b5abfea14c46b2f611f27057319 Issue-ID: EXTAPI-209 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2019-03-06Reduce log outputMatthieuGeerebaert1-0/+22
At startup and testing phase Disable spring logging Change-Id: Ia357e8528a57204be34be94e45a745380de49653 Issue-ID: EXTAPI-207 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2019-03-05Use SDC Tosca Jar to extract and parse SDC CSARaosull015-242/+348
Change-Id: I0e8261ed338eaafa35bb663f95a19fe97be57652 Issue-ID: EXTAPI-205 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-03-01Add DMaaP Integration to retrieve AAI-EVENTaosull013-62/+188
Change-Id: I94e5eec12fe22b1785a00de530e080a842f37a40 Issue-ID: EXTAPI-201 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-02-21Merge "Update to Spring Boot 2"Eric Debeau2-25/+31
2019-02-08Use node query with format optionaosull014-12/+155
Change-Id: Ie29472147bbbc661a5fe9419407727e84d6f8dfe Issue-ID: EXTAPI-199 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-02-06node query for service instance queryaosull0115-36/+82
Change-Id: I7147f76b65a02e61f804ff5fd1304e47a983e092 Issue-ID: EXTAPI-194 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-02-01Update to Spring Boot 2romaingimbert2-25/+31
-update pom dependencies -fix code -fix test Change-Id: I23c3c702c598ce46e5b861a2fbdfd06f2d439c51 Issue-ID: EXTAPI-192 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2019-01-31multiple identical hubromaingimbert2-3/+18
-change hubresource -add test Change-Id: Ibb8ef363b84d9bcff83b1786cf7547a7660f957e Issue-ID: EXTAPI-187 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2019-01-30fix nbi testromaingimbert10-173/+97
-add karate test -fix listener resource Change-Id: I4904c40d65686c29404cfafd17ae6a5084cc4870 Issue-ID: EXTAPI-196 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2019-01-25force nbi generate id of serviceorderromaingimbert2-78/+82
-fix code -fix test Change-Id: Ie6d7802bed61935b5a675e720d060ee9d7e2c865 Issue-ID: EXTAPI-188 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2019-01-24hub resource format dateromaingimbert4-1/+490
-fix code -add listener for testing -add karate test Change-Id: Ife2d7812c77316b75c55e86056f59d838e117069 Issue-ID: EXTAPI-180 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2019-01-18Fix unit testing instabilityEzekielaRakotoarijaona26-2577/+2852
Migration of most of the unit tests from JUnit to Karate Framework Remove of the scheduling tasks for testing. Change-Id: Ic51378443bd6c12f247fa50b2b08ee881264dac4 Issue-ID: EXTAPI-178 Signed-off-by: EzekielaRakotoarijaona <ezekiela.rakotoarijaona@orange.com>
2018-12-05Integrate sdc-tosca parser jaraosull013-0/+103
Change-Id: Ieef1c4fe9d71164c7696bdb0bd93579a87bc09dc Issue-ID: EXTAPI-171 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
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>