aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor
AgeCommit message (Collapse)AuthorFilesLines
2020-01-24Use released version 1.5.1 of CCSDK parent pomsDan Timoney1-0/+2
Use released version 1.5.1 of CCSDK parent poms Change-Id: I3644ef502540210e873a3f93ab4b1990c0bd92af Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-22Enhancement better error messages.Oleg Mitsura2-4/+33
Issue-ID: CCSDK-2036 rev1: initial commit. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I0bc31a2a17a6dfedbb1870470e8bf6304be782b5
2020-01-20Add four functions to support 5G NRM CMHuang Cheng5-0/+319
Those four functions are designed to support the operations: createMOI getMOIAttributes modifyMOIAttributes and deleteMOI Issue-ID: CCSDK-2002 Change-Id: I631797cd041c5aa60dcc14f6bdacd0c14ea937e1 Signed-off-by: Huang Cheng <duke.huangcheng@huawei.com>
2020-01-17Fix scheduler shutdown config function.Brinda Santh7-19/+17
Optimize application name accessing in Docker Compose. Issue-ID: CCSDK-1917 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I6b055de7ef5a8ac4a0c103499997ed272bd74ac6
2020-01-16Prioritization Optional NATS consumer supportBrinda Santh26-119/+678
Add prioritization NATS consumer service and configuration data beans. Optimizing message prioritization service interface. Added Integration testing for NATS simulation. Updated sample docker compose for NATS support Issue-ID: CCSDK-1917 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Icd21e5e2ab7b64d6e6e4b0610599ca947555ee15
2020-01-13Prioritization expiry and clean scheduler serviceBrinda Santh18-221/+391
Add prioritization expiry and clean scheduler service implementation. Optimizing message passing between processors. Added message sorting utils. Issue-ID: CCSDK-1917 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I049ea3bae2e2c546244136f15c3d89deda1e7053
2020-01-13Add uri-encoding to webclientJozsef Csongvai1-6/+9
Path params are not uri-encoded, which can cause failed rest calls if resolved params include characters such as whitespace Issue-ID: CCSDK-2024 Change-Id: Iac57219260ac94897e09e3cb9d1d5884d86b83ae Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-01-12Refactoring Pom and Fixing JunitsSingal, Kapil (ks220y)19-62/+104
Refactoring DepeendencyManagement section in parent pom and fixed Junit failing over Windows Issue-ID: CCSDK-2023 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I5e09c4c6d6307c1dd93a40ab3601713b956dfc72
2020-01-08Merge "Add custom header configuration for aai calls"Brinda Santh Muthuramalingam2-1/+6
2020-01-08Merge "Add new endpoint for posting data-dictinary as ResourceDefinition"Brinda Santh Muthuramalingam4-25/+109
2020-01-08Add new endpoint for posting data-dictinary as ResourceDefinitionJozsef Csongvai4-25/+109
Starter-dictionaries and examples in the documentation have the type ResourceDefinition. The existing endpoint accepts ResourceDictionary which is the wrapping entity of ResourceDefinition. Issue-ID: CCSDK-1725 Change-Id: I07f925ba4f607a6eaecf5907ac6e08691578c3b5 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-01-08Rest endpoint for message PrioritizationBrinda Santh20-352/+448
Refactored to support both Kafka and Rest endpoint prioritization. Simplified number for Kafka processors. Issue-ID: CCSDK-1917 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Iba77ed94be3398940840ff01a298f0bec785401f
2020-01-08Add custom header configuration for aai callsJozsef Csongvai2-1/+6
Issue-ID: CCSDK-2020 Change-Id: Ibd63a00bf59b0e955612da69fa1d4970381b9a64 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2020-01-07Include correlationId in group lock.Brinda Santh6-30/+144
Message prioritization optimization by checking and including correlation Id, so that non related correlation message won't get locked. Optimized Atomix Junit Test cases. Issue-ID: CCSDK-2011 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I090ed4c193c7f9af4014cfeee4c6208c12b542c1
2020-01-02Message Prioritization message group lock.Brinda Santh11-11/+108
Implementation to avoid concurrent procession of message group while prioritization. Sample message prioritization Kafka listener properties. Issue-ID: CCSDK-2011 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ifbf39985b03c662b6ccf7740be711cfeb7bfbebb
2019-12-31Flexible DSL Types and Templates definition.Brinda Santh21-108/+447
Easy search definitions Types and Templates inside ServiceTemplate DSL builder. Unit test modifications to support this change. Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ie944ff5f75f80c852555306e1a4e0fa7f5b803d7
2019-12-30Runtime services for Relationship Type and TemplatesBrinda Santh18-142/+857
Added and improved blueprint runtime service property resolution api. Relationship template CBA sample Performance improvement on Artifact resolutions. Added connection config DSL for DB, GRPC connections. Added starter relationship connection config models. Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I73e1deed708dc924352867ddd1d1b2271c8ea106
2019-12-30Relationship Type and Templates modelsBrinda Santh28-191/+1398
Enrichment Support for Relationship Types and Templates. Relationship DSL support for ConnectTo connections ( RestClient, SshClient, MessageProducer, MessageConsume, Nats) Moved datatype map from collection to complex type Issue-ID: CCSDK-1054 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I0f18db2cb52e1e93dfab04498b8298587cba2540
2019-12-30Cluster partition master APIBrinda Santh9-26/+81
Added cluster lock close method. Added NATS connection name and default services. Junit test cases improvements. Issue-ID: CCSDK-2011 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I44c7c1aaeae2ddbf768903152fb00bc160172fc1
2019-12-30Merge "add package creation component and fixing designer compilation and ↵Brinda Santh Muthuramalingam2-5/+10
linting"
2019-12-30add package creation component and fixing designer compilation and lintingshaaban Altanany2-5/+10
Issue-ID: CCSDK-2014 Issue-ID: CCSDK-1780 Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com> Change-Id: I65e02ba498516edb27eefd2448d50a61779cc22c
2019-12-26Merge "add logging to value not found from properties"KAPIL SINGAL1-1/+10
2019-12-26add logging to value not found from propertiesOleg Mitsura1-1/+10
Issue-ID: CCSDK-1995 rev1: commit rev2: formatting rev3: cleanup rev4: review comment from Brinda Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I5a575dad5191b72934667d2c4e965882ccc2a905
2019-12-26Fixing SDCListenerCustomIndicator issuesShaabanEltanany1-2/+2
Issue-ID: CCSDK-1669 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: Ifa69221c9008c344b712728f26b94f1e7114baaf
2019-12-24Merge "add group notation to resource dictionary"KAPIL SINGAL6-0/+30
2019-12-24Refactoring log-protect for hiding sensitive data in logsJozsef Csongvai8-46/+136
Issue-ID: CCSDK-2010 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I72a4d8d49a202cea0fa1a200c7466300de1ff0b0
2019-12-24add group notation to resource dictionaryshaaban Altanany6-0/+30
-including changes to (starter-dictionary,test-dictionary)json files -add column in resource dictionary table in database -expose api for getting unique group from resource dictionary table Issue-ID: CCSDK-2004 Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com> Change-Id: I0998709af2e692717b9b1b4937943c323144594a
2019-12-23Cluster distributed lock service.Brinda Santh10-70/+217
Included and fixed clustered env properties and utils. Fixed docker compose instance sequence numbers. Issue-ID: CCSDK-2011 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ie28935ae7cb3de8c77cd7110993304eb49799b6c
2019-12-19Cluster communication channelsBrinda Santh20-29/+942
Add NATS property and library services both . NATS Messaging Services with Token Auth and TLS Auth implementation Docker Compose for NATS Streaming instance. Documentation : https://docs.nats.io/ Issue-ID: CCSDK-2007 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ieebaa8f2b18ae89d02a4f38a8027eda495a9db43
2019-12-16Cluster distributed data storeBrinda Santh20-2/+834
Add experimental cluster co-ordination service using Atomic framework. Included distributed data store creation utilities. Sample docker compose data cluster between cds controller and resource-resolution instances. Issue-ID: CCSDK-2000 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I4de00e773a996e08fd1d260fc27ed18832433883
2019-12-11Metadata for name, version, tags and typeBrinda Santh26-121/+252
Mandate Tosca.meta template name, version, type and tags. Auto copy metadata from Tosca.meta to ServiceTemplate definitions. Optimize Blueprint context and runtime creation from file path. Removed attached CBA zip file in test repository dirs Issue-ID: CCSDK-1992 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I5d9d7a4599234a38d431328dbd9b74bd831e0115
2019-12-11Separate jython implementation and dependencies.Brinda Santh15-172/+203
Refactored cds python capabilities to python-executor function, so that it will easy to disable and deprecation This change is not jython depreciation, just separating out Issue-ID: CCSDK-1865 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I3727d72d7195c49d670c30a6fc4245f5a8599e3a
2019-12-10Merge "Added option to disable kotlin script cache"KAPIL SINGAL4-62/+89
2019-12-09Cli executor doesn't keep/support execution contextSteve Siani5-55/+288
Issue-ID: CCSDK-1927 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ib417bfd62662676fe7520a5500df82ade716f66c
2019-12-09Added option to disable kotlin script cacheSebastien Premont-Tendland4-62/+89
using environment variable USE_SCRIPT_COMPILE_CACHE. Disabling the cache allow to scale out the BP pod without having lock file issue when using k8s NFS provisioner for PV. It also forces each pod to read the jar from disk at every request. This way they always create an instance with the latest jar file. Issue-ID: CCSDK-1969 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I05afbdb4d49847761142542d1beca78947f032f3
2019-12-09Merge "Add default values for health-api properties"KAPIL SINGAL2-11/+22
2019-12-06Refractor controller blueprint modulesBrinda Santh168-52/+17581
Move controller blueprints modules to blueprints processor and change the maven group name. Fix test cba and model type paths Fix dependencies issues. Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I3654e6f04811470327acba90e8a452b66e3e189b
2019-12-06Remote Script Executor ComponentBrinda Santh15-53/+658
Define and Implement component-remote-script-executor component and DSL. Get the timeout from model definitions fix the dat pattern issues Define API data extension functions. Issue-ID: CCSDK-1975 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I41a429eb21a050e5ab512a7a73a394b975543f31
2019-12-04Add default values for health-api propertiesShaabanEltanany2-11/+22
Issue-ID: CCSDK-1669 Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com> Change-Id: I28d6c829a8f6d41aee52a21b9391b7f642359756
2019-11-29Upgrade py executor ms GRPC version.Brinda Santh7-84/+142
Regenerate TLS certs with config file. Issue-ID: CCSDK-1737 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I2b0982c4e230524ad1e58f150da2a05e4474a0fa
2019-11-29Optimize spring data JPA UT.Brinda Santh47-198/+712
Test case based database configuration, so that we can define what repositories and entities can be used for testing. Issue-ID: CCSDK-1735 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I4f8a7eb4ed47fec9ab17eb9552648ebd0de01236
2019-11-27Upgrade CDS GRPC implementations.Brinda Santh10-38/+71
Dependent on : https://gerrit.onap.org/r/c/ccsdk/parent/+/98823 Issue-ID: CCSDK-1737 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I0b5087f7e98490d7066f389af29424aed40a6520
2019-11-26Formatting Code base with ktlintSingal, Kapil (ks220y)354-4421/+6582
No Business logic change, just the code format. Competible with IntelliJ: https://github.com/pinterest/ktlint#option-3 To format run: mvn process-sources -P format Issue-ID: CCSDK-1947 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ic9e9209fb7023d77f434693ad5a01229f8d09331
2019-11-22CCSDK-1864 : PNF Use Case Move from Jython to Kotlin using CDS Frameworkgummar3-13/+21
Change-Id: I58eb134a07345d25be6d64dc614f25fc73ecf554 Signed-off-by: gummar <raj.gumma@est.tech> Issue-ID: CCSDK-1864
2019-11-21Bootstrap Rest and GRPC APIBrinda Santh8-60/+114
CDS loads model types, dictionaries and CBA multiple times based on cluster size. This commits avoid auto loading, and provides an API to bootstrap, if necessity. Issue-ID: CCSDK-1950 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ibe6266ebfd399efbaf0c5ccb1019c3a73b08ddac
2019-11-21Merge "Fix relativePath in ms/blueprintsprocessor/application"KAPIL SINGAL1-1/+1
2019-11-21Merge "Changes return value from boolean to typical process return code; ↵Dan Timoney1-23/+29
Also ensure that if environment preparation does not succeed the processing fails."
2019-11-21Fix relativePath in ms/blueprintsprocessor/applicationTimoney, Dan (dt5972)1-1/+1
relativePath tag in ms/blueprintsprocessor/application points to parent directory (..) instead of to directory of parent pom (../parent) Change-Id: I971dc31522181bb154b643420d6be8f4df4bea48 Issue-ID: CCSDK-1932 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-19Changes return value from boolean to typical process return code;Serge Simard1-23/+29
Also ensure that if environment preparation does not succeed the processing fails. Issue-ID: CCSDK-1855 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: Iab2ec8b44a0e9e7edef68d0d5c13860eedc5be67 Signed-off-by: Serge Simard <serge@agilitae.com>
2019-11-19Fix relativePathTimoney, Dan (dt5972)1-1/+1
Fix relativePath in ms/blueprintprocessor/pom.xml Change-Id: Icb7192132c29927c14b01de3e9e6288c8a65ae96 Issue-ID: CCSDK-1932 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>