summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-12Java 11 Migration work for 'openecomp-sdc-translator-core'Chris André2-12/+8
- Replaced Corn CPS with ClassGraph Issue-ID: SDC-3029 Signed-off-by: Chris Andre <chris.andre@yoppworks.com> Change-Id: I3002f3aa01a647d6ab2f4c32c399833034241800
2020-08-11Fix policy element typeDmitry Puzikov6-54/+30
CSAR onboarding phase: policy element type fixed from map to list according TOSCA format documentation. Change-Id: I654f4b049a8f5129938a5d5f8307e105e2bed024 Issue-ID: SDC-3152 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-08-11Fix workflow designer issuexuegao1-0/+1
Fix the issue so that the workflow bpmn will be packed into csar again. Issue-ID: SDC-3181 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I5f8ca112fe1bd2a7abf1529f491400237d88ce56
2020-08-10Revert "Refactor CsarUtils::addInnerComponentsToCSAR"Sébastien Determe3-260/+161
This reverts commit f4165e2af8ae596d574aecae2fcf174420396b2e. Reason for revert: This PR has broken the API tests and the csar generation (csar.meta) is not present anymore. Therefore some components may not be able to open the CSAR with the sdc-tosca libraries We must rollback for now, until a fix is provided Change-Id: I3af8b9f08dd28b6abdb4df9acdcf9ab2623d10e5 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Issue-ID: SDC-3225
2020-08-07Add substitution filter UI supportaribeiro16-7/+719
Issue-ID: SDC-3195 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Idc6301a1ab7442f8d2d59931abf0a0741cc8e410
2020-08-07Add component unique id to plugin context viewaribeiro1-0/+1
Issue-ID: SDC-3224 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib65bbc13766e2ae794ff26c41ee4f94770a362ee
2020-08-06Remove needless Getter/Setter testingvasraz2-92/+10
Change-Id: I4802e15a57b01d520e875db295df2eb826b6b5c0 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2708
2020-08-05Fix broken UI & API testssebdet6-35/+33
Due to issues in the log4j files, the tests can't be started and crash Issue-ID: SDC-3223 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I77909d98c716a8a232f5cc8ae8baddebb4ee581f
2020-08-03Update css file name in conf.pylf-jobbuilder1-1/+1
ribbon.css is the correct name of the css file. Issue-ID: CIMAN-376 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Change-Id: I29b22c8abb88c055ff40b64599498c5fc3bfe8dd
2020-07-31Fix broken transitive dependencyvasraz2-3/+3
Change-Id: I8890eeca62826ee36bac43709761079acf21f235 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3218
2020-07-29Upgrade Vulnerable Direct Dependencies [log4j]amohamad39-310/+363
Signed-off-by: amohamad <a.mohamad@queensu.ca> Issue-ID: SDC-3051 Upgrade from the vulnerable log4j 1.x to log4j 2.13.1 Add a log4j version property in sdc-main pom.xml Add two maven dependencies to respective child pom.xml Change name of log4j .properties and .xml config files to reflect log4j2 naming Update the configuration files to the totally new log4j 2 config syntax Replace PropertyConfigurator with LoggerContext Remove the abandoned log4j.lf5.util.ResourceUtils Signed-off-by: amohamad <a.mohamad@queensu.ca> Change-Id: Ie0f141eb2e0337ee5b63b61dc1395ccd8040558d
2020-07-29Optimization in git clone using --depthPratik Raj1-1/+1
optimize the git clone using --depth flag in term of size of clone and also in term's of time taken to fetch the files and commit history of whole repository . More detail can be found at blog https://www.atlassian.com/git/tutorials/big-repositories Issue-ID: SDC-3089 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Ib806bf0c172bd304abe9a138e2f85fcf14e07675
2020-07-29Improve Utils coverage and improve Sonar scoreJulienBe3-202/+165
Issue-ID: SDC-3131 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I784a0ad563141dfb546ec1d227b3eb03e08faef3
2020-07-29Config. allowed instances in component compositionandre.schmid20-238/+747
During the creation of Resource and Services components, the allowed types to add in its composition are hard-coded. This change allows those types to be configurable using the configuration.yaml backend file. Change-Id: If48849b57fe5124468db3d55f2f06391348935fb Issue-ID: SDC-3177 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-07-28Release Master 1.7.0sebdet1-0/+20
Release first draft Master Guilin 1.7.0 Issue-ID: SDC-3220 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic99b1f57ab3375e3bfa05f743216870ad82ef103
2020-07-23Update Release Note1.7.0ChrisC1-0/+59
Update Release note for Frankfurt Maintenance release Issue-ID: SDC-3189 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I5b0fb24938646b1ef4344449301caf056bd8cac4
2020-07-22Fix CRITICAL BUGvasraz1-28/+49
https://sonarcloud.io/project/issues?fileUuids=AXF_8JZ3aPDFCRVJURGa&id=onap_sdc&resolved=false&types=BUG Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3204 Change-Id: I55f1c6c95c4de59d9ca5493d99c7fd3569379622
2020-07-20Update INFO.yamlChrisC1-43/+49
Update committer list as per : https://lists.onap.org/g/onap-tsc/topic/75373026#6714 Issue-ID: SDC-3203 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ida7f9a6a36fe0cbc8f3c3f7fae0693e9e0bc9320
2020-07-15Align onap/base_sdc-xyz versionsvasraz9-9/+9
Change-Id: Ic2e53bb76b0b6bc54de3336f5e5916eba189fe18 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3201
2020-07-15Fix missing referenced node_typesKrupaNagabhushan5-0/+46
Issue-ID: SDC-3153 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I0b17ac92a49e1f006f5708b20af82a62ee769a9e
2020-07-12Refactor CsarUtils::addInnerComponentsToCSARFrancis Toth3-161/+260
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I4f9a52950d4d6ffadf9a5cb170c99d229ac83a35 Issue-ID: SDC-2812
2020-07-12Add substitution_filter endpoints unit testsaribeiro1-0/+440
Issue-ID: SDC-3166 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ie01f7abc5eccc36e8f1159cbece329a7fadeacd5
2020-07-12Add endpoints for supporting substitution_filteraribeiro4-59/+335
Issue-ID: SDC-3160 Change-Id: Ibc722f283451fecde7655e867654880ae50cc645 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-07-09Add substitution_filter business logic unit testsaribeiro1-0/+482
Issue-ID: SDC-3165 Change-Id: I91f3075c43d04add450c16614b07f08219ad743d Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2020-07-09Clean ValidatorExecutor hierarchyFrancis Toth15-484/+133
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I9d919b1d57eac1d25c8b3874366c2cb9e906923a Issue-ID: SDC-2499
2020-07-09Add support for substitution_filter business logicaribeiro40-1017/+1628
Tosca simple YAML profile allows for substitution_filter to be specified for a topology template to provide processing instructions to the orchestrator. Issue-ID: SDC-3147 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia94b8c447d3157e614f9d1524ad4520b3980ba4d
2020-07-07Add test contracts for ValidatorExecutor and TopologyTemplateValidatorExecutorFrancis Toth7-103/+76
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I10f0de565588e0bc7cd0f47ba7f714eab3f1f7f7 Issue-ID: SDC-2499
2020-07-05Fix sonar issuessebdet3-105/+95
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I33638b39d39b7e918437cb9f3e0f15d52fa92218
2020-07-05Fix sonar issuessebdet4-45/+58
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I004b0f579ff1f273f39a155217972f5efcdcf5cb
2020-07-05Fix sonar issuessebdet1-43/+25
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ib6ee78fd5756d615c2a103ac0d7d26070fd24206
2020-07-05Fix sonar issuessebdet3-63/+45
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Change-Id: Ic29f9233838e25c195d2b349bfac8e6d56888609 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-07-05Fix sonar issuessebdet2-66/+56
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3158 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0ae188c5f0e2d96fd94de66fe0dcd0c47bcd9af5
2020-07-05Fix sonar issuessebdet5-150/+110
Fix sonar/checkstyle issues in sdc code Issue-ID: SDC-3116 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic29f9233838e15b195d1a339bfac8e6d56888609
2020-07-05Clean CsarUtils::MainYamlWithDependenciesFrancis Toth11-220/+116
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I593dd7bb6a20445899a14da793e8c550e1e14e09 Issue-ID: SDC-2812
2020-06-30Refactor MapDataDefinitionTestxuegao1-74/+57
Adding more tests and adding assert for old tests. Issue-ID: SDC-3146 Signed-off-by: xuegao <xg353y@intl.att.com> Change-Id: I0b3ebb3d46b26ecdf52c78ee29b2777f6ecc73e5 Signed-off-by: xuegao <xg353y@intl.att.com>
2020-06-30Fix typo in package name and classesFrancis Toth24-66/+66
Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I55a6efeb4a0c2b4734dc3a091afbc6295599c74b Issue-ID: SDC-2499
2020-06-30Fix issue introduced by #109494vasraz1-7/+1
use maven checkstyle.skip remove duplicated dependency Change-Id: I942a9612df7093206d0019d69a8f28c6dff7bcf6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3148
2020-06-30Fix test coverage drop introduced by #109510vasraz20-113/+36
Change-Id: Ic74f11f60ff7673330a8c3521da49a92f70ae0fb Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3149
2020-06-29Fix for NullPointerException while onboarding VFKrupaNagabhushan1-1/+1
Issue-ID: SDC-3161 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I6eefcb86c6ef97fb19449e1fc45cee3cb91b3a2a
2020-06-25Rationalize maven dependenciesJulienBe58-531/+35
Issue-ID: SDC-3149 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: I1ee42494a4cc5b185b6dfcbee44399d2960cf880
2020-06-25Cleaned up ArtifactValidatorExecuter and IArtifactValidatorExecutorFrancis Toth19-286/+189
This commit intends to clean the tests related to ArtifactValidatorExecuter and IArtifactValidatorExecutor by introducing the concept of test contract. Some renaming have to be done to fix the typo in Executer (it should be named Executor), hence the number of changes. Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: I5cd4512c425ae01f4f1118c9d61e6fce3df94f1d Issue-ID: SDC-2499
2020-06-25add a new profil for fast buildJulienBe13-1/+43
Issue-ID: SDC-3148 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: Ie98194fe6d136f57491a0590ab2afc9db59fbfbd
2020-06-25Fix Security VulnerabilityChrisC1-1/+1
Fix Sonar Major by switching to better protocol Issue-ID: SDC-3116 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I9f5d8640c991ae895a41dadf67a11872952fe38a
2020-06-25Fix AssertChrisC1-3/+3
Fix Sonar Asserts Issue-ID: SDC-3116 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I92dcd21a3cec903792c20275be8b955c5910e566
2020-06-24Fix for name clash in csar generationKrupaNagabhushan1-2/+6
Issue-ID: SDC-3144 Change-Id: Ia9b66bb14bbff3add70eed8dfe41acc55c72b35b Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
2020-06-24Improvement sdc-BE-init python scriptsk.kedron18-105/+253
- Implemented retries when request fail - Moved configuration variables to the Properties file - Extended sdcBeProxy - Implemented script to run import/update (should fix deployment glitch) - Updated the import_Normatives recipes to use new script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I83fab898783ad8d3b3d532af43d75bc54d033c33
2020-06-24Refactoring the check backend, create consumersk.kedron13-174/+138
Continue refactoring: - added script for healthCheck, create new consumers - also update chef recipes to use new script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I158d816362f91f74b217fe85112cf7c14da8f1ec
2020-06-24Add Node Filter Business Logic Unit Testsaribeiro4-28/+509
Issue-ID: SDC-3125 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I80c755f4fffa813396ceb85c6aa7fde5b32590cd
2020-06-24Refactoring the sdc-BE-init python scriptsk.kedron75-3543/+1571
Deeper refactoring of python script: - create the python package with init script - support for python 3.x - reuse code - new design - support for .json conf file - update the docker chef script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I02169eb7d0e3e90851ba1811536d1712c3b4145f
2020-06-23Decouple TXT Report file writing and formatting logic (6/6)Francis Toth20-222/+136
This commit moves the writeReportLineToFile from ReportManager to ReportFile, deletes ReportManager (as it's not longer used), and finalizes the decoupling between the writing and the formatting logic of the TXT Report file. Signed-off-by: Francis Toth <francis.toth@yoppworks.com> Change-Id: Ia5cce71535ea808e6e24807ed62ae9b262eab6ad Issue-ID: SDC-2499