summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2020-05-05Add pause after completion for vfModuleEinat Vinouze4-1/+34
Issue-ID: VID-821 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ie3088cd2795c94121c45874d15c319151a10cc95 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-05-04When cloud region is missing then omit the cloudConfiguration objectAmichai Hemli2-10/+12
Issue-ID: VID-820 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: I0780649982c0a1ae0a5bc56da438d422a710e4bf Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2020-05-04CleanupIttay Stern1-21/+4
Issue-ID: VID-822 Change-Id: I0ba8c54c81b32adcf0ef3f942c26b087b5bce900 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-05-03Change Management: Support PNF software upgradeEricMoore1-0/+4
Issue-ID: VID-505 Change-Id: I128b22092b78cf05a904648c276807a7ebb21aca Signed-off-by: Ittay Stern <ittay.stern@att.com> Signed-off-by: EricMoore <eric.e.moore@est.tech>
2020-04-20Add select a subscriber for the source VNF on the PMC instantiation formAlexey Sandler1-0/+1
Add the "Source Subscriber Name" drop down for the source VNF on the PMC (Port Mirroring Configuration) instantiation form. Issue-ID: VID-809 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Ifa37aa38c96153f60ad020225d0a215c6b67bbfe Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-04-19add "new view/edit" button in the Instantiation Status pageAlexey Sandler1-0/+1
Issue-ID: VID-805 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I2883ce3ddb8e5eb7eb5eb405f9ae2aeb554252bc Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-04-07Limit the length of logged responses in outgoingRequestLogIttay Stern1-2/+23
Currently truncated after 1 MB. Issue-ID: VID-804 Change-Id: Ic99c33eede488db60c296d7272850cadee9f2925 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-04-01Configure "portal app_password" in DB by environment variableIttay Stern3-6/+34
Issue-ID: VID-801 Change-Id: Ic29912cdbbfe2cad9de957d190224d873d9c1e8c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-04-01allow LOB multi-selection for vnf - fix cypressEinat Vinouze1-0/+1
Issue-ID: VID-785 Change-Id: I3a11bad5b6da532b23049ce09ea439849143e941 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-03-16allow LOB multi-selection for network - add FFEinat Vinouze1-0/+1
Issue-ID: VID-788 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I5358252a336730697bca3486c461f23354c823c0 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-03-11add new format to fetch requests from MSO to the CMAmichai Hemli3-5/+23
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-03-08Merge changes Ibbc7da3a,I8efee06fAmichai Hemli11-65/+65
* changes: Don't use EELFLoggerDelegate.errorLogger in Async jobs isVfModuleBaseModule() will not throw on model mismatch
2020-03-08Don't use EELFLoggerDelegate.errorLogger in Async jobsIttay Stern10-33/+35
The Logger.error(EELFLoggerDelegate.errorLogger, ...) idiom is flawed. Using direct invocation of LOGGER.error("msg..."). Issue-ID: VID-253 Issue-ID: PORTAL-835 Change-Id: Ibbc7da3a081675d2edbbb782732a14de9c865a3a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-08allow platform multi-selection for networkEinat Vinouze1-0/+1
Issue-ID: VID-785 Change-Id: I4e6a4c2f0dc8c0e11f2571eec0789ad5672a9147 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-03-08isVfModuleBaseModule() will not throw on model mismatchIttay Stern2-32/+30
In addition, the model-info comparision is by customization id or customization name instead of the version id. Issue-ID: VID-603 Change-Id: I8efee06f470e5d5681c264de01ed1315ee1f8cc6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-04Upgrade AAI API version to v166.0.3Ittay Stern1-6/+0
v16 is the recommended Dublin version: https://wiki.onap.org/display/DW/AAI+REST+API+Documentation+-+Dublin Issue-ID: VID-365 Change-Id: I3c84525382477d453dcdc0e5c1e061dc41526dc0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-01when signaling the frontend about templates check the correct flag ↵Amichai Hemli1-1/+1
FLAG_2004_CREATE_ANOTHER_INSTANCE_FROM_TEMPLATE Issue-ID: VID-739 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Iaed25f1932eed675310c8d0003d415352991d19e
2020-02-27Bump opencsv, c3p0, snakeyaml, h2 database to latestsIttay Stern1-11/+11
Issue-ID: VID-755 Change-Id: If34239ebc6c9e4b067c22a3fae0a680a160cb00b Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-26Test many POJOs getters/settersIttay Stern3-6/+13
Issue-ID: VID-768 Change-Id: I891af541bec9aaddaf4d68c8c2b0ae15690bde2c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-23Topology tree: test fetchCustomizationIdsFromToscaModelsWhileNeededIttay Stern1-2/+4
Issue-ID: VID-771 Change-Id: I5c1bf1f4eba8b5f53702ae2192b8ac9a962f1344 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Topology tree: enrich vfModules data from other versions of same modelIttay Stern5-20/+104
Depends on FLAG_EXP_TOPOLOGY_TREE_VFMODULE_NAMES_FROM_OTHER_TOSCA_VERSIONS Issue-ID: VID-771 Change-Id: Ib25c6cf7269614f2f4d332b3aa84b3307a59ebda Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Topology tree: extract AAITreeNodesEnricher out of AAIServiceTreeIttay Stern2-84/+129
Issue-ID: VID-771 Change-Id: I138a89b7b2f00e6e603ff26addefc494aeb019b0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Learn to get all model versions sorted from high to lowIttay Stern2-5/+22
Issue-ID: VID-771 Change-Id: I9c7cc3f319aa13a2dab33e8c584f7f7ed90cf847 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-20Learn to inflate models by Customization uuidsIttay Stern1-13/+24
Issue-ID: VID-771 Change-Id: I3996639745e77b8754e8bfa82c153690df683925 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-16Limit vfmodule tenant and region dictation to "create"Ittay Stern1-2/+5
Other flows (e.g. Delete) are expected to have literal designation. Verified in API test "delete1VnfWithVfModulesAndCreate1VnfFromService". Issue-ID: VID-758 Change-Id: Ib543ff98ecf96e1df0e5741fbdbba2e64e602528 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-13translate owning entity name to owning entity IDEinat Vinouze1-7/+34
Issue-ID: VID-758 Change-Id: Ic89829ac4590537f0279052ceb9e8432ea0de878 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-02-12Feature toggle for owning-entities filteringIttay Stern2-5/+8
Add roles for all tests' users for all tests' owning-entities; namely "aaa1", "WayneHolland" and "Melissa". Issue-ID: VID-758 Change-Id: I54cac487325b6fd1fb9ef0f7a0d18c05c5e353c0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-11Filter owning-entities from /category_parameter by permissionsIttay Stern3-8/+74
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-02-10remove check in order to accept upgrade even if the service in latest model ↵Alexey Sandler1-3/+0
version Issue-ID: VID-771 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I0303422f32f285447d3d7af4aee98427002a679c
2020-02-06vfmodule tenant and region are dictated by parent VNF valuesIttay Stern3-6/+50
Issue-ID: VID-758 Change-Id: Ie48240442e5b2f858e530858d2e25827e799e4c2 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-05Merge "create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNF"Ittay Stern1-0/+1
2020-02-05create the flag FLAG_2006_VFMODULE_TAKES_TENANT_AND_REGION_FROM_VNFAlexey Sandler1-0/+1
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I149df1c6b1245542a6083c8cdec7ea3bbb50e933 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-02-05Respect permissions by owning-entity-id when searching instances by owning ↵Eylon Malin1-3/+1
entity Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I98d3e551231bb5aca3150da99f3431268f3373d8
2020-02-04add owningEntityId to each result of getServicesByOwningEntityIdEylon Malin1-5/+7
Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I4546b5d86e6a1b929b3430aa41f13980f07cfdaf
2020-02-04regression unit test for getServicesByProjectNamesEylon Malin3-3/+4
Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ibb4f6b63448dfb53bae5c262b3d8ce4f253935e0
2020-02-03regression unit test for getServicesByOwningEntityIdEylon Malin3-3/+4
Issue-ID: VID-758 Change-Id: I4e080b6d775feb890f597b1db006e00f8108a987 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-02-03Respect owning-entity-id when searching instances by SubscriberIttay Stern5-11/+73
Issue-ID: VID-758 Change-Id: Ife6d8679b3ea00d4bb9efb24810b5a50652f5d76 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-29RoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntityEinat Vinouze11-53/+92
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-29RoleValidatorFactory respects owning-entity feature flagAlexey Sandler1-3/+14
Add FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY flag to response with correct type of RoleValidator Issue-ID: VID-758 Change-Id: I464fc1a155e72fedbe3f15d9745c80817db22391 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-28create RoleValidatorFactory component.Alexey Sandler4-22/+65
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id444ddbe74b6d28d697e130caa73bd7bfae9ce52
2020-01-28Rename Role's subscriberId fieldIttay Stern6-22/+22
It was named subscriberName, although containing the id. Issue-ID: VID-758 Change-Id: I28fd174a6eab642d34aef207e9d3ca69e8091884 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28RoleValidatorsComposer composite several RoleValidators togetherIttay Stern1-0/+16
Issue-ID: VID-758 Change-Id: I7bd5a4ebc8a0a451716af09cc76e6db6cd5362f7 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28Merge "Introduce WithPermissionProperties as validation-points for ↵Ittay Stern9-57/+79
RoleValidator"
2020-01-28Introduce WithPermissionProperties as validation-points for RoleValidatorEinat Vinouze9-57/+79
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-27Merge "When feature toggle is active then SDNC preload files is enable."Ittay Stern2-0/+35
2020-01-27When feature toggle is active then SDNC preload files is enable.Yoav Schneiderman2-0/+35
Issue-ID: VID-752 Change-Id: I96ef914bfe37d82da20085227b930523fcdba8fc Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
2020-01-27create RoleValidatorByOwningEntity class.Alexey Sandler1-0/+44
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9c2e2a376e4c1bfb05dc05e1c5187b912f31db1d Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-26Merge "create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev."Ittay Stern1-0/+1
2020-01-26Rename RoleValidatorByRoles to RoleValidatorBySubscriberAndServiceTypeEinat Vinouze2-3/+3
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I61fbfc902afee62e1099e491494065abae523b2e
2020-01-26create a flag FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY in dev.Alexey Sandler1-0/+1
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I6f5b9717b63ab1cffd8f27024f0752a2699db736