aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2018-09-13HUB ResourceNicolasLaplaud1-5/+12
- manage notification based on subscription - manage event body based on subscriptionType Change-Id: Ia3918da46b8279c852e720082fcfa1bf4e2e56f6 Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-09-12Add HubRessource TestNicolasLaplaud2-20/+30
- 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 controlromaingimbert19-1146/+62
-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 Geerebaert2-1/+24
2018-09-07state attribute for ServiceInventoryromaingimbert1-4/+7
-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-06Merge "EXTAPI-139 : use fixedDelay"Matthieu Geerebaert1-2/+2
2018-09-06EXTAPI-139 : use fixedDelayaosull011-2/+2
Issue-ID: EXTAPI-139 Change-Id: I59d0601b397a30df50dc52e42c2cc9234cf6ac28 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2018-09-06EXTAPI-125 Percent ProgressMariosIakovidis2-1/+24
Change-Id: I57c9ee5f814a72aa50e716948f4e356de683b6e4 Issue-ID: EXTAPI-125 Signed-off-by: MariosIakovidis <marios.iakovidis@huawei.com>
2018-09-05Fix critical security issuesromaingimbert3-3/+6
-change pom dependencies version Change-Id: Ib378ac1d8a05345494dcda0299dd5715b04de14e Issue-ID: EXTAPI-126 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-09-04Fix bug reported by SONAR.Prabhu Balan5-18/+58
Issue-ID: EXTAPI-132 Change-Id: I57ea6dbcb618079a77cdb2c327bba795edd5f358 Signed-off-by: Prabhu Balan <prabhu.balan1@vodafone.com>
2018-09-03Fix critical security issuesromaingimbert3-9/+9
-change pom dependencies version Change-Id: I8ea5410575f95e7054ca2d93a1c712a12607893a Issue-ID: EXTAPI-126 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-08-30ServiceOrder Modification Implementationromaingimbert5-356/+544
-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 informationromaingimbert5-20/+46
-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 commitaosull0118-8/+1189
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 informationromaingimbert11-100/+630
-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 toscaromaingimbert2-5/+19
Change-Id: Icfe3594f7b34b7dabdc7941ce5fff3b52fd4703f Issue-ID: EXTAPI-108 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-07-20HUB Resource2.1.0NicolasLaplaud7-25/+163
- manage notification based on subscription - manage event body based on subscriptionType Change-Id: Ibaf3de69419ca20a5c5a53d97be107311237d7cc Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-07-18HUB ResourceNicolasLaplaud10-47/+154
- Adding DELETE, GET, FIND operations on subscriptions Change-Id: If0c326ffc6a3d0ec456e5258a04b3110bb8df583 Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-07-16HUB ResourceNicolasLaplaud1-0/+8
- adding SubscriberNotifier based on event types - storing subscriptions - merge Change-Id: I2290dd7afea10cd95bb7ec2b62fbb81031c4cef4 Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-07-13HUB ResourceNicolasLaplaud15-61/+456
- adding SubscriberNotifier based on event types - storing subscriptions Change-Id: I5729717699f6e903de4c541c43951e2d2d56cea7 Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com> Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
2018-07-13add option to disable registration with msbQuoc-Nghia Nguyen1-0/+5
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 Nguyen1-0/+114
Change-Id: I96c84f8b8e0757d68461a0e631d6ed432f64ecad Issue-ID: EXTAPI-90 Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
2018-07-10HUB ResourceNicolasLaplaud6-49/+86
- adding AOP pointcut to intercept event around ServiceOrderService Change-Id: I4c4036ad6f2020c6015a7b2005fe92c745e592e5 Issue-ID: EXTAPI-96 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com>
2018-07-06adapt NBI to Beijingromaingimbert8-5/+136
-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-05Merge "HUB Resource"Matthieu Geerebaert3-0/+168
2018-07-05HUB ResourceNicolasLaplaud3-0/+168
- init EventSubscription model and repository - init hub resource - add licences Change-Id: I329864e3e82c72365b4f61fc2782704dc32bb200 Signed-off-by: NicolasLaplaud <nicolas.laplaud@orange.com> Issue-ID: EXTAPI-96
2018-07-05serviceSpecInputSchemaromaingimbert3-24/+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 enumromaingimbert5-1/+28
- fix service order enum value for getServiceOrder Change-Id: Ib9aaa3a4efb78f653f240537732374638db83493 Issue-ID: EXTAPI-109 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-06-25fix sonar alertromaingimbert20-110/+91
- fix some sonar alerts Change-Id: I98f28b343f0e7fcac685e7aa92d198df500deb80 Issue-ID: EXTAPI-107 Signed-off-by: romaingimbert <romain.gimbert@orange.com>
2018-06-22add serviceorder serviceromaingimbert6-78/+153
- change code to have in the service all the update state Change-Id: I01a409224984ae831da0f07edcda5bb34dc537dc Issue-ID: EXTAPI-106 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>