aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
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>
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>