summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org
AgeCommit message (Collapse)AuthorFilesLines
2019-09-22Let request-id value derive from alternative request-headersIttay Stern2-17/+71
Issue-ID: VID-253 Change-Id: Icae6caf5f720da0c7587f62380d1783669e69d9f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Rename PromiseRequestIdFilter, extract isWrapNeeded and incomingRequestId ↵Ittay Stern1-22/+30
methods Change-Id: Idb39f7d5e723598e34e737522c4f73d8de3df93c Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-19Merge "Disable homing_solution"6.0.0Ittay Stern3-9/+37
2019-09-19Disable homing_solutionwsliwka3-9/+37
Send Homing_solution=none during macro instantiation Add flag 'FLAG_DISABLE_HOMING' (by default set to true) which defines whether homing_solution should be in request to so or not Issue-ID: VID-576 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com> Change-Id: I6151151a0256a5bb4e637acf08ae511f4b265dc2 Signed-off-by: wsliwka <wojciech.sliwka@nokia.com>
2019-09-18Merge "remove duplicated label InternalState.REPLACE_MYSELF"Ittay Stern1-5/+0
2019-09-18remove duplicated label InternalState.REPLACE_MYSELFEinat Vinouze1-5/+0
Issue-ID: VID-646 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ifc6a43f9b34c5c792a05cc3502c1e8fcf5023210
2019-09-18add new flag FLAG_1911_INSTANTIATION_ORDER_IN_ASYNC_ALACARTEEylon Malin1-0/+1
Issue-ID: VID-646 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I533221a6115c4a2d00ce3ed02eef4d1ad882df3a
2019-09-16Add cloud-region and nf-role as an optional search criteriaAlexey Sandler3-7/+32
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I72d9c2c9dc3f39fcc3c87e083ac230d20135e979
2019-09-15Remove redundant get vnf data endpoint of aaiController (fix)Amichai Hemli1-12/+0
As we are now using AaiController2, the AaiController endpoint of change-management is redundant Issue-ID: VID-596 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I68289eb5acb02af75c052e891dc6f77a48dc62c7
2019-09-15Merge "logging of HttpResponse use raw body"Ittay Stern1-1/+5
2019-09-12Merge "logging requests and responses in SyncRestClient"Ittay Stern1-14/+80
2019-09-12logging of HttpResponse use raw bodyEylon Malin1-1/+5
print raw body for cases like errors make sure the response can be read logging it Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: If138531f515fb2927a13417040b68e81babebc4e
2019-09-12logging requests and responses in SyncRestClientEinat Vinouze1-14/+81
Issue-ID: VID-611 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I0e64e9520e566f9317f3fcbf0495b67349993ce4
2019-09-12Reduce vnf data response from A&AI in change management flowsas221v4-17/+78
Issue-ID: VID-596 Signed-off-by: Amir Skalka <as221v@intl.att.com> Change-Id: I4462ef0c2dbc9880d1a0d204f6552e3842aad821 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-09-12create JoshworksJacksonObjectMapper and use it everywhere neededEylon Malin3-47/+20
Create class that implement joshworks object mapper that used jackson object mapper that support kotlin. Use it instead local anonymous classes where needed Issue-ID: VID-611 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie00dce0ec9b366515c5e40d9f37b9e64a2ceb357
2019-09-12Merge "make Logging a service and inject it to SyncRestClient"Ittay Stern10-127/+171
2019-09-12make Logging a service and inject it to SyncRestClientEylon Malin10-127/+171
Issue-ID: VID-611 Change-Id: I120782884351c55b2e0d1b4ca8bae1e2479d1d0a Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-12add Feature Flag for cloud-region and nf-role as an optional searchAlexey Sandler1-0/+1
Issue-ID: VID-596 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I36e5ea4842816dfa8a6734299bf667150600a375
2019-09-11Add flag flag_flash_more_actions_button_in_old_view_edit (fixup)Einat Vinouze1-1/+2
Issue-ID: VID-603 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: If50a1f810a7851e4eaa88ac07fe3a09f381c0e4a
2019-09-10update MSO create service instance URLEylon Malin3-16/+10
align MSO create service instance URL to /serviceInstantiation/v7/serviceInstances also unify some system properties variables Issue-ID: VID-622 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I7a0744f5d6cfe776ce2f17b11aa5ebba4c8e65fb Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-09Adding feature: Replace vfmoduleEinat Vinouze8-31/+227
Issue-ID: VID-603 Change-Id: I59068a0979d6fb733e4243c8f78921f396dc9d17 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-08send different request id on each mso callEylon Malin1-24/+30
Don't use static headers for ECOMP_REQUEST_ID and ONAP_REQUEST_ID but getting them from request / generate them each time Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1be4e8e86195901975d613694acf0082cd555886 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-05send X-ONAP-RequestID header from MSO clientEylon Malin1-1/+5
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icf215cf8b9711a63561740b22c035595f5281f58 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-04Add the "@Override" annotation above this method signatureThugutla sailakshmi1-0/+1
Add the "@Override" annotation Issue-ID: VID-561 Change-Id: I86d14dbd8357e92baef111f1ac6db2fdfd963ba1 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-09-04Remove the illegalStateExceptionHandler, as it's already in parent classThugutla sailakshmi1-16/+11
Issue-ID: VID-561 Change-Id: Ie27eea2f8219575bcdcaba6f7796acdd1dd07aa9 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-09-03Merge "Add to SimpleDateFormat function locale us parameter"Wojciech Sliwka1-1/+2
2019-09-02Add to SimpleDateFormat function locale us parameterIttay Stern1-1/+2
Change-Id: I27866be89b95d2c164909248f3bbd45373bf39a9 Issue-ID: VID-605 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-02remove not used feature RoleGeneratorEylon Malin3-264/+0
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I0eea2c7305f6faabcb1e54a7f4dd9f51fe37586f
2019-09-01add getNewestModelVersionByInvariant to controller and serviceEylon Malin3-0/+15
Also add testGetActiveNetworkList UT Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I97c2ae029272aba915d5f9699bccff0eb9d49329 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-09-01handle non OK response from SDC while getting modelEylon Malin3-16/+47
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Idc6e587abb24fbec65ed159db7008e50abee2581
2019-08-29edit of macro services in new view edit screenEylon Malin2-7/+7
Fix Vid Notion Builder behavior according - all macro non transport services should open the new view edit screen Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Icd45fcbfcb4bf8928f44f73fb3ddd84ac1f1d341
2019-08-29add UT to ToscaParserImpl and fix little bugEylon Malin1-1/+1
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5ea0f09c2898c3a7e1db60d37dde754138a86121 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-29fix url and payload for getting latest modelEylon Malin1-6/+9
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I5b2dc7df0202838898ab060a71c144f69a54900f
2019-08-27Merge "Immediately return this expression instead of assigning it to the ↵Ittay Stern1-2/+2
temporary variable "responseWrapper2""
2019-08-26Merge "Log request-id even when no HttpServletRequest param or no user-session"Amichai Hemli1-10/+74
2019-08-26Merge "Immediately return this expression instead of assigning it to the ↵Ittay Stern1-3/+2
temporary variable "exceptionResponse""
2019-08-26Merge "Move this variables to comply with Java Code Conventions."Ittay Stern1-1/+3
2019-08-26Log request-id even when no HttpServletRequest param or no user-sessionIttay Stern1-10/+74
1. Catch controllers under org.onap.vid.controller.open. 2. Get HttpServletRequest from Spring's context, if needed. 3. Fix the way SetRequestBasedDefaultsIntoGlobalLoggingContext is used. Change-Id: Iecd46dc10a458bc20d4b3e0bd72ecae37e3218cf Issue-ID: VID-598 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-26Make Scheduler's client more Gennerics-tolerantIttay Stern1-1/+2
1. Use t.getClass, instead of new TypeReference<T>. The latter it not behaving as expected on run-time. 2. Store the raw response in restObject.setRaw (just because we can) Change-Id: Ic7087af18ded212447cb67334a9e373759f4da1f Issue-ID: VID-378 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-26Immediately return this expression instead of assigning it to the temporary ↵Thugutla sailakshmi1-2/+2
variable "responseWrapper2" return the expression Issue-ID: VID-561 Change-Id: I2a036a8181601c6cb6c5fd498c631ce9e5f5cbdb Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-26Merge "AaiController tests"Wojciech Sliwka1-14/+7
2019-08-26AaiController testsMichal Kabaj1-14/+7
- improved existing testcases by including spring integration - added new testcases Change-Id: I64abbd91b9c9fc7cdc27ca25f90954b29f065096 Issue-ID: VID-478 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2019-08-25Immediately return this expression instead of assigning it to the temporary ↵Thugutla sailakshmi1-3/+2
variable "exceptionResponse" return the expression Issue-ID: VID-561 Change-Id: Ie06a589a74438df8dac525c5d8380beb948dc48e Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Move this variable to comply with Java Code ConventionsThugutla sailakshmi1-1/+3
Move this variable to comply with Java Code Conventions Issue-ID: VID-561 Change-Id: Ibf8099258145a2ae591cd0acce9bbe75b592eccd Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
2019-08-22Merge "Move this variable to comply with Java Code Conventions"Ittay Stern1-6/+8
2019-08-22Merge "Move this constructor to comply with Java Code Conventions"Ittay Stern1-5/+6
2019-08-22Merge "Move this constructor to comply with Java Code Conventions"Ittay Stern1-4/+5
2019-08-22Merge "make scheduler client tolerance to error messages"Amichai Hemli2-8/+14
2019-08-22make scheduler client tolerance to error messagesEylon Malin2-8/+14
Read response from scheduler as String save them as raw, and only then parse them Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I38ed8f211b2c111b57741254cb5e90317fefdc7d Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-08-22Merge "probe mso by retrieving empty list of request status"Amichai Hemli4-23/+47