aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/controller
AgeCommit message (Collapse)AuthorFilesLines
2021-09-29AAI Query optimization for VIDPATTANAYAK, SAUMYA SWARUP (sp931a)1-2/+110
Issue-ID: VID-986 Change-Id: Ia3e012c41df4e9049ce9a1ae56ec83b276e11611 Signed-off-by: PATTANAYAK, SAUMYA SWARUP (sp931a) <sp931a@att.com>
2021-02-02Unable to delete old service instances created of old ASDC servicePATTANAYAK, SAUMYA SWARUP (sp931a)1-0/+4
Issue-ID: VID-943 Change-Id: I3c395f5332f078ad1a9a2c2c6899d5edc8a6bec7 Signed-off-by: PATTANAYAK, SAUMYA SWARUP (sp931a) <sp931a@att.com>
2020-04-01Configure "portal app_password" in DB by environment variableIttay Stern1-5/+30
Issue-ID: VID-801 Change-Id: Ic29912cdbbfe2cad9de957d190224d873d9c1e8c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-11add new format to fetch requests from MSO to the CMAmichai Hemli1-2/+2
When flag is true VID will use the format=simpleNoTaskInfo parameter in addition to the filter parameter when fetching orchestration requests for the change-management dashboard. Issue-ID: VID-787 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I18d608db5bab6f095f399ac0f58fe5e49944a6b1 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-11Filter owning-entities from /category_parameter by permissionsIttay Stern1-8/+12
Implemented in CategoryParameterServiceWithRoles and injected to MaintenanceController, but still reachable because shouldTreatPermissions() is "false". Issue-ID: VID-758 Change-Id: I716202ca944af9b0de9c151d75d50b5df41a8171 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-29RoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntityEinat Vinouze2-4/+8
PermissionPropertiesOwningEntity is sharing a parent interface with PermissionPropertiesServiceType: WithPermissionProperties. Issue-ID: VID-758 Change-Id: I90c04cb8d4331d68329f3a12329244f09c6bc184 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28create RoleValidatorFactory component.Alexey Sandler1-9/+5
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id444ddbe74b6d28d697e130caa73bd7bfae9ce52
2020-01-28Merge "Introduce WithPermissionProperties as validation-points for ↵Ittay Stern2-3/+9
RoleValidator"
2020-01-28Introduce WithPermissionProperties as validation-points for RoleValidatorEinat Vinouze2-3/+9
Issue-ID: VID-758 Change-Id: Id8f1f6faeb10a92cf20ca9a17879bc7e745526b0 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-27When feature toggle is active then SDNC preload files is enable.Yoav Schneiderman1-0/+34
Issue-ID: VID-752 Change-Id: I96ef914bfe37d82da20085227b930523fcdba8fc Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2020-01-23Revert "Promise Request-id header: Check MDC value if no header"Ittay Stern1-12/+1
This reverts commit 1420dc49 Issue-ID: VID-647 Change-Id: Ib33ae33ba0d1482eddf4d85fcc15f9bc6569e00c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-23Promise Request-id header: Check MDC value if no headerIttay Stern1-1/+12
Issue-ID: VID-647 Change-Id: I9ed97742db1f37de68bfcf1b9cd58afc996da7bf Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-08VidController sets isInstantiationTemplateExists on Browse SDCAlexey Sandler1-2/+14
Issue-ID: VID-739 Change-Id: I8dea890c8518e3c314e5371eaa982ce7550b27a5 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-24move templates API to a intended controllerYoav Schneiderman2-12/+14
Issue-ID: VID-730 Change-Id: Id2aa44803a190333b5a96fda77ca15d254b4c222 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-19move templates API to a intended controllerEinat Vinouze2-11/+60
Issue-ID: VID-730 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ie9b23a0360f902334fd6b877accec322b795c413
2019-12-18on templates - filter only Action==INSTANTIATEEinat Vinouze1-1/+1
Issue-ID: VID-730 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I16b73639f18b49b546868326cc6ed82d14818c1f Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-09Join ExistingElementsCounterMaps with ServiceInstantiationIttay Stern1-4/+9
This new pretty creature is called "ServiceInstantiationTemplate" :-) Issue-ID: VID-724 Change-Id: I1437d76e79512920079b574844b19368c07f501f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-02Merge "Add query param option for filtering services info by service model id"Ittay Stern1-3/+13
2019-12-02Add query param option for filtering services info by service model idSara Weiss1-3/+13
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I72c78dd3c0e156688092ce4ac3793bc3e8c37352
2019-12-02API to get template-topology by job idIttay Stern1-0/+6
..../vid/asyncInstantiation/templateTopology/{jobId} Issue-ID: VID-724 Change-Id: I5704951a595293d10ed6ae09c0113e1cac5b5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-01upgrade some 3rd parties dependenciesEylon Malin1-14/+19
Issue-ID: VID-705 Change-Id: Idd72448ed1b2f033005ff8031856efe06f67cdf4 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-26improve debug logging formatAmichai Hemli2-3/+5
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ifa9105455dabdfad3179c36b516fe9833e0e6e60 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-11-07fix - when retrieve topology we are using threadPool and the MDC values are ↵Ittay Stern1-3/+2
not updated This time for homing-by-vnf-id parallel requests. Issue-ID: VID-253 Change-Id: Ic0be1470445c6fef0e18f9b9d8f1604df508265b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-06print user-id in partner name record of audit logEylon Malin1-1/+3
Issue-ID: VID-253 Also add more verifications for audit log format Change-Id: I00976a63fd1a795a972c13ad975d6a71248e5c8b Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-30use onap logging 1.6.1 with needed workaroundsEylon Malin1-2/+2
Issue-ID: VID-253 Onap logging 1.6.1 has some mismatches regards invocationId. This commit fix these mismatches by fixing the MDC when needed. Change-Id: Ic8d35318ae511667dfa6f9c4297d562fd976a717 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-24log VID is started on startupEylon Malin1-1/+3
Issue-ID: VID-253 Logging api tests use this indication for getting only relevant log lines Change-Id: I3cb829ab5a0f3cead3db50859da2ba12df75a971 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-23Install incoming-requests auditorIttay Stern1-1/+9
Issue-ID: VID-253 Change-Id: I62aa4c0b1ab360f01eb00bb6aa83fe0e30e362ac Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-23use logging interceptor in SDC clientEylon Malin2-2/+4
Issue-ID: VID-253 Change-Id: I67947886fd8945a224ee81d5eb0a8fedf1f7317c Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-10-17AaiController testsMichal Kabaj1-3/+1
added new unit tests to AaiControllerTest Issue-ID: VID-684 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com> Change-Id: Ib6a7aaa932ff2909b8a1fd81d5128713d1dc3eb5
2019-10-03Verify audit logs format `audit2019`Ittay Stern1-2/+4
Issue-ID: VID-253 Change-Id: Ic62c455c101311dc3ac3022912390209e3fd86e7 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-10-02MsoRestClientNew not extends RestMsoImplementationEylon Malin2-4/+13
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I2e67f31bee79e05286fec4152ae5c85a96186047
2019-09-24Introduce request-id headers enumIttay Stern1-12/+12
Issue-ID: VID-253 Change-Id: I4df5756d14969a2c0daa777c75c1365837f9ad1f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Remove injections from filter, as filter is not Spring-controlledIttay Stern1-7/+1
Change-Id: Iecb4d6fbb79c5920d088fe536e6622690f8f881e Issue-ID: VID-253 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-22Let request-id value derive from alternative request-headersIttay Stern1-17/+51
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-16Add cloud-region and nf-role as an optional search criteriaAlexey Sandler1-1/+2
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-12Reduce vnf data response from A&AI in change management flowsas221v1-5/+26
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 Malin1-25/+3
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-12make Logging a service and inject it to SyncRestClientEylon Malin2-17/+29
Issue-ID: VID-611 Change-Id: I120782884351c55b2e0d1b4ca8bae1e2479d1d0a Signed-off-by: Eylon Malin <eylon.malin@intl.att.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-02remove not used feature RoleGeneratorEylon Malin1-48/+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 Malin1-0/+7
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-08-27Merge "Immediately return this expression instead of assigning it to the ↵Ittay Stern1-2/+2
temporary variable "responseWrapper2""
2019-08-26Merge "Immediately return this expression instead of assigning it to the ↵Ittay Stern1-3/+2
temporary variable "exceptionResponse""
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-22Add MsoController deletion testskurczews1-2/+0
Change-Id: I534fb06e7bf742f2fe6931e5b6f279f499aeed08 Issue-ID: VID-470 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>