aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-16Run pods as non-root userMichaelMorris25-130/+87
Summary of changes: sdc-cassandra-init Added user sdc (in base image base_sdc-cqlsh - https://gerrit.onap.org/r/103436) Run entrypoint as user sdc Moved relevant files from /root/ to /home/sdc/ sdc-backend-init Added user sdc (in base image base_sdc-python - https://gerrit.onap.org/r/103436) Run entrypoint as user sdc Moved relevant files from /root/ to /home/sdc/ sdc-backend Run entrypoint as user jetty Moved relevant files from /root/ to /var/lib/jetty/ Moved cadi & cert files from /opt/app/jetty to /var/lib/jetty/ Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh sdc-frontend Run entrypoint as user jetty Moved relevant files from /root/ to /var/lib/jetty/ Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh sdc-onboard-backend-docker Run entrypoint as user jetty Moved relevant files from /root/ to /var/lib/jetty/ Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh sdc-onboard-db-init-docker Run entrypoint as user sdc Added user sdc (in base image base_sdc-cqlsh - https://gerrit.onap.org/r/103436) Moved relevant files from /root/ to /home/sdc/ Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-2798 Change-Id: I85be320a4a5e1cc5aeebbb98c4484d5d6fd06dfc
2020-03-15Remove duplicated data typearibeiro1-16/+0
Issue-ID: SDC-2826 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I6cb4ecd9b6e479363158c6bcb1b0f1f1f52528e1
2020-03-15Allow other entries for SOL004 Tosca.metaandre.schmid10-122/+149
Besides the mandatory entries, any other entry will be accepted in the TOSCA.meta file, as far as it has a valid format <name>: <value>. Change-Id: I941a62dbb43167e7e0424deae11a2664e61c8a6c Issue-ID: SDC-2781 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-03-12Disable SecurityFilterOfir Sonsino166-180/+181
Bumping version to 1.7.0 Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff Issue-ID: SDC-2825 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-03-12Support Tosca DependsOn root node relationship​andre.schmid7-53/+55
tosca.nodes.Root supports the use of a DependsOn relationship to indicate a general dependency relationship between two nodes. SDC currently disallows this relationship to be created in the VF/Service composition view. Change-Id: Ie5f1f5d2e5173b59f878986ee625b27aaa81e4f6 Issue-ID: SDC-2768 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-03-11portal url fixOfir Sonsino1-2/+2
Change-Id: Iab8c7cd48f7210d1833928e7ea075e2221db94c7 Issue-ID: SDC-2799 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-03-11Fix CBA artifact recognition by SDCDmitry Puzikov2-1/+9
This patch fixes CBA artifact recogntion as 'OTHER' instead of 'CONTROLLER_BLUEPRINT_ARCHIVE'. Change-Id: I15d8ef62a57e4a0f627949e267209cba3cbe4c56 Issue-ID: SDC-2776 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-03-10Added new unit testsk.kedron3-20/+1627
Added new unit tests to GraphMLDataAnalyzer class. Fixed the Sonar issue. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I9a61dff2e9b0be1733de00b06c255abb8a3d5a8f
2020-03-06Fix docker_run.sh scriptDmitry Puzikov1-3/+31
Add check of plugins-configuration.yaml file. If file doesn't exist don't mount volume to container. Added changes proposed in ticket discussion. Change-Id: I7025330afd9eb4e701ffc7dccaf0932ae72d8e11 Issue-ID: SDC-2759 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-03-05Fix broken CSITvasraz1-1/+2
Change-Id: I92785294ef0e49477e8c33e30285b7d5978910a9 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2759
2020-03-05Fix update the policy in SDC UIk.kedron2-5/+10
Refresh the property.value which is sent to the backend to properly update the policy property. Issue-ID: SDC-2797 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If87c7acb5324cf933e9c8a4ebd5616a11d8b4c71
2020-03-05portal and cadi properties fixOfir Sonsino3-9/+7
Change-Id: Id83f0ddd1846e4887d1d5a7c3fb5bf8db406186a Issue-ID: SDC-2799 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-03-05Stepping base_sdc-jetty and base_sdc-cassandra versionMichaelMorris5-5/+5
Change-Id: Ia26fa595502c677dc1014e280cee09581f013452 Issue-ID: SDC-2761 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-03-05Fix policy property type issueDmitry Puzikov1-15/+14
When VF is exported as csar, policy properties are typed regardless types in the related shemas. This patch fixes this issue. Change-Id: Ib34f329888d454283c89a8a1aec6349069ea7234 Issue-ID: SDC-2773 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-03-04Fixed the navbar stylek.kedron1-1/+1
Now all time contains all elements in the one line. Issue-ID: SDC-2308 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ic424f6bef0bc2ba83375b1339bbc451bd14ddff9
2020-02-26Fix dev config designer user in catalog-uiandre.schmid3-83/+98
The userId for the mocked user used in the catalog-ui development environment was incorrect. Small adjustments in the webpack.server.js file. Improves the README.md for better understanding of some configuration options. Change-Id: I231f4349a868a2544a6b1ab9e9deb68873850e2b Issue-ID: SDC-2779 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-02-25configuration alignmentOfir Sonsino2-17/+17
Change-Id: Ieff9791620f9e7bbebdd7410bc0ab128434228cd Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-25Policies import when import VSPDmitry Puzikov19-120/+528
Polices import implemented. Error type added for invalid policies. Import tests added. Fix test failures. Got rid of Either in the new code. Change-Id: I3e91cc6d24433c2b3862f407348e71e1e67c3b4e Issue-ID: SDC-2728 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-02-25Support import of custom node type namearibeiro9-290/+436
Issue-ID: SDC-2760 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I3645c737ba367a3576d58afb581c8118eb0f6011
2020-02-24PM_Dictionary Support in GABTomasz Golabek8-10/+329
Generic Artifact Browser is visible for PM_DICTIONARY artifacts Two agreed formats of the artifact are supported (examples in tests) Small fix for searchable fields and introduced new once for PM_DICTIONARY: measType measDescription measObjClass measFamily measInfoId Change-Id: I2cb609bab6405b55e8099da023ae035205dcd1ab Issue-ID: SDC-2095 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2020-02-24Fix layout of the artifacts iconsAleksandra Maciaga2-11/+20
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Issue-ID: SDC-2095 Change-Id: Ib5bbb214b1b25604db643a0c220aff5a97e7afd6
2020-02-24Fix Null Pointer Exception when loading resources from home page.aribeiro1-5/+7
Issue-ID: SDC-2777 Change-Id: Ia25f34736a8926b6ebe622114b0beb1f806f4791 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-02-24configuration alignment fixOfir Sonsino1-2/+2
Change-Id: I740a4181be400391cb9b7e87ec85a8042947ae05 Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-23configuration alignmentOfir Sonsino2-32/+17
Change-Id: I24193515352973a8f5244c1089448ed5e9bac173 Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-21Fix logging date format to avoid parse errorSatoshi Fujii2-5/+20
When MDCSetup class in logging-filter-base tries to calculate an elapsed time, it expects a datetime is given in ISO format. But date format in LogFieldsMdcHandler is not compatible with ISO format therefore 'Unable to calculate elapsed time due to error' occurs. This change fixes date format in the class so that the date string can be parsed by logging-filter. Change-Id: I07c8f103f46493fe0764f904f3f00f66f35dbcf6 Issue-ID: SDC-2767 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
2020-02-19Fix typo in PMSH data typedfarrelly1-1/+1
Issue-ID: DCAEGEN2-1940 Change-Id: I50d15f24e015eaac43a175c9bceef80f6d0d5900 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2020-02-18Backend extensibilityMichaelMorris7-2/+105
Issue-ID: SDC-2761 Change-Id: I9287e0255fdda8da61cafc4b761190c8992b9aff Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-02-18Configuration file runtime reloadandre.schmid27-266/+190
Reloads the backend configuration file when the file listener catches a change. Forces validations errors when the configuration file could not be parsed. Remove not used configurations. Change-Id: Ic6fcb2b557d52ec53074c38ab8e0fcfa96e9be67 Issue-ID: SDC-2758 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-02-16Move Jacoco to xmlOfir Sonsino1-1/+3
Change-Id: I9730c49b431715835f04f8579da944b096e2480e Issue-ID: SDC-2740 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-13Update PMSH Data Typesdfarrelly1-4/+14
*Update PMSH Data Types to support multiple measurementGroups Issue-ID: DCAEGEN2-1940 Change-Id: Iba6f8c0d88490a554de2b5e079508a3882aa14b8 Signed-off-by: dfarrelly <david.farrelly@est.tech>
2020-02-13Fix PropertyConvertor initialization (use spring)talig25-812/+458
refactor static InterfacesOperationsToscaUtil to be non-static InterfacesOperationsConverter (as it uses PropertyConvertor), move logic from static ToscaExportUtils to ToscaExportHandler (as it uses PropertyConvertor) Change-Id: I917351ca59ee1e792c7b0850d6a8b246b71b4b03 Issue-ID: SDC-2765 Signed-off-by: talig <talig@amdocs.com>
2020-02-13Update to Portal SDK v2.6Ofir Sonsino3-14/+3
Change-Id: I602891d783ce4c80fca6e9da3c765218d19da993 Issue-ID: SDC-2684 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-12Migrate sdc docsJessica Wagantall9-0/+145
Merging this will create https://onap-sdc.readthedocs.io This build will run in parallel to the current docs generation method until we are ready to cut over. Issue-ID: CIMAN-364 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I04c354d75404565e7bc640f5f0b585865f1a92e4
2020-02-10Move to version 1.6.1shrek20001-0/+20
Move SDC to version 1.6.1 Issue-ID: SDC-2755 Change-Id: Ie9fcbacad5f0403bb98250928aff78b2354877bf Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-02-10Add modeling consumer to SDCdyh1-1/+1
Change-Id: I5ef0070af934d901202c14d544a082ed3a41dff2 Issue-ID: MODELING-308 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-02-06Increase code coverage1.6.21.6.1shrek20001-544/+114
Moving to lombok. ComponentMetadataDataDefinition did not use lombok. The Equal, hashCode and toString functions were too completed to maintain. Issue-ID: SDC-2690 Change-Id: Ie83b6754579d2776cd0222d61ad4eb9be9e35e6c Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-02-06Increase code coverageshrek20001-186/+24
Moving to lombok. ServiceMetadataDataDefintion did not use lombok. The Equal, hashCode and toString functions were too completed to maintain. Issue-ID: SDC-2690 Change-Id: I2e361ca790df8a271602c36bc57912ba2b7ed5fe Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-02-05Fix for sanityUiTestsaribeiro1-1/+1
Issue-ID: SDC-2757 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I90d1bb36fb527dd2f610ad610bfa88eccbbcc6d7
2020-02-05Fix loader for unready pluginsilanap1-1/+7
Checks whether plugin was ready and will reset loader and ready event when moving between windows if not. Issue-ID: SDC-2715 Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: I9c3d637135153f0607a6588e5f588450c1708b99
2020-02-05Fix for sdc-api-tests dockeraribeiro1-2/+2
Issue-ID: SDC-2756 Change-Id: I87e319a71931881fdef5c5095c79df3a13f4515a Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-02-05Fix sdc-backend-init heat type upgradeandre.schmid4-118/+98
Removes all heat and normative items from typesToUpgrade.json. Add verbose to pycurl if is in debug mode, to print request information. Adjust to upgradeONAPNormative.py to the correct python syntax and removing unused imports. Change-Id: Id4ee601dd70b337c5eeb84965843305300ef7fe3 Issue-ID: SDC-2752, SDC-2753 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-02-05Remove ES & Kibanavasraz64-2081/+2
Change-Id: I983a0fe570b1a2cbf641f4285ef030be686bed32 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2724
2020-02-02Move to version 1.6.1shrek2000163-164/+164
Move SDC to version 1.6.1 Issue-ID: SDC-2755 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: If5c55fdebb5bc2591190ee4389487f6dbb0e1831 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-30Upgrade to Cassandra 3shrek200035-176/+150
Creating base dockers suitable for Cassandra 3 remove cqlsh version Change-Id: I996bad2341410cdf45c49f191e998acf4781fc5d Issue-ID: SDC-2596 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-29Implement policy element convertion during onboarding VSPDmitry Puzikov13-154/+997
Implement absent policy convertion. Add test data for policies section convertion and explicit test for checking if policies been converted. Change-Id: I7d431a22922e1f9da0fbf0de4654995c3da42fcb Issue-ID: SDC-2727 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-01-29Fix CLM job for NexusIQ scanOfir Sonsino1-7/+0
Deploying common-app-api so it can be found in Nexus Change-Id: I71401f70fa9c027be3a27be8ff253716961805d4 Issue-ID: SDC-2737 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-01-29Fixed sonar issuesDmitry Puzikov3-357/+574
Refactored overcomplicated methods by splitting into the more simple. Remove redundant conditional checks. Move common checks into the utils class. Fixed raw types usage where it is possible. Add some tests. Fixed typos in test names. Fixed lost switch branch. Issue-ID: SDC-2698 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com> Change-Id: Ifb5887401be4b397267b2f922cc9ad3f01c757f6
2020-01-28fix ui-ci testsYuli Shlosberg9-16/+17
Issue-ID: SDC-2730 Signed-off-by: Yuli Shlosberg <ys9693@att.com> Change-Id: I45500daf397a523d450b30836dda188573de04a3
2020-01-27Remove favicon logoOfir Sonsino4-3/+0
Change-Id: I168b8ca43c438fc189a79585312b50b29082a82e Issue-ID: SDC-2735 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-01-26Remove ES + KibanaOfir Sonsino5-72/+1
Remove logo from ci report Change-Id: Idef648bc04feffc64ac513e0dbf212256e740978 Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>