aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/functions/netconf-executor/src
AgeCommit message (Collapse)AuthorFilesLines
2020-09-02Adding parent pom referenceSingal, Kapil (ks220y)3-3/+3
Adding parent pom to cba-assembly-descriptor as it needs to inherit repository from parent so maven-deploy-plugin works Issue-ID: CCSDK-2720 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I44ce3721f280555b81475580ca47539ae83d07ca
2020-06-09Add ResourceResolutionResult to ResourceResolutionServiceJozsef Csongvai1-1/+1
In order to ensure consistent behavior for assignment-map, supporting occurences and multiple artifact-prefixes, ResourceResolutionService needs to return assignment-map alongside generated template content. Issue-ID: CCSDK-2389 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I54c1991d23d65217f3492b08a2170a6d41b6482d
2020-03-19Fix kotlin cache lazy loadingSebastien Premont-Tendland1-0/+3
When USE_SCRIPT_COMPILATION_CACHE is set to false the classLoader is closed after the class is instantiated. This is causing an issue when lazy loading is happening during the script execution. Lazy loading occurs when a suspendible function returning something is called from "processNB", kotlin will create a second class that will be loaded during execution (needs to be in the classpath during execution). Issue-ID: CCSDK-2150 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I64780287352d762325662e0e5d5b94038dedee7f
2020-02-13add support for reply-time-out in cds blueprintAbdelmuhaimen Seaudi1-2/+2
Issue-ID: CCSDK-2089 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ic325aaa37df2db27713728b1d1fb7903298b02d5 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-12-30Runtime services for Relationship Type and TemplatesBrinda Santh1-2/+2
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-11-26Formatting Code base with ktlintSingal, Kapil (ks220y)26-439/+636
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-09Convert component functions IT to UT.Brinda Santh1-27/+29
Issue-ID: CCSDK-1735 Convert Netconf and Restconf Executor IT to UT. Remove duplicate BluePrintProperties. Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I2eafdbabb17a4df72541ab93c46e7fc9eb0fe8d7
2019-11-07Merge "netconf lib bugfixes: invoke_rpc + timeouts."Dan Timoney5-21/+64
2019-11-06Fixed typo...Oleg Mitsura1-1/+1
Issue-ID: CCSDK-1908 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I962db89c620c46f8979df03c20c26d3bfc32fb73
2019-11-05netconf retry disconnect()Oleg Mitsura1-2/+10
Issue-ID: CCSDK-1908 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I90ca822c042ec84fda717a152c4f699bacdd87ad
2019-10-31netconf lib bugfixes: invoke_rpc + timeouts.Oleg Mitsura5-21/+64
Issue-ID: CCSDK-1886 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I0a33199d4b4cbd5e3355d1e7596d22bd7cdbd075
2019-09-26Fixing distribution and propertiesSingal, Kapil (ks220y)2-2/+2
Excluding to embedd Target path, and renaming blueprint to blueprints in properties Issue-ID: CCSDK-1758 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ie6f0ff177e0945fb252710a425a16afade1b01a3
2019-09-18Optimizing Imports and Formatting codeSingal, Kapil (ks220y)1-7/+7
No Business logic change, no code change.. just optimizing imports and reformatting code Issue-ID: CCSDK-1744 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I1fb2ed10525a6f392f3c0d963c2ed03cfe8dec7e
2019-09-18Refactoring Netconf NetconfMessageUtilsSingal, Kapil (ks220y)15-94/+60
Appending New Line before and after request body within doWrapRpc and removing new line is child API's which forms the request body Issue-ID: CCSDK-1743 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ic58566e24a21c71d545c45fb95a667c17de2fe66
2019-09-16Changing line separator type to LFSINGAL, KAPIL (ks220y)1-37/+37
Changed Line Separator for all files using find . -type f -not -name .* -exec dos2unix {} \; Issue-ID: CCSDK-1733 Signed-off-by: SINGAL, KAPIL (ks220y) <ks220y@att.com> Change-Id: I2efa3276c35c0a0159c6d4debe21c0bd0b4a7b85
2019-08-27Add Get function in Netconf execution service for operational commandsSteve Siani6-2/+94
Issue-ID: CCSDK-1657 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I12b82a7f1233fce256190ec0d35a5b85ad937b7b
2019-08-27Make source-db consistent across samplesOleg Mitsura1-9/+9
Issue-Id: CCSDK-1623 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iec7c6909c39c34894be11bfdac45f6394010d9cf
2019-07-23Refactor Netconf script component parent.Brinda Santh3-5/+20
Change-Id: Ibbec8cd5785372a89e14a86d4e6ff7f9fed4aad2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com> Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-07-18Resolve Attribute and properties fails with subPropertyNameSteve Siani1-1/+6
Issue-ID: CCSDK-1489 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: If27c0dd301f2c0e63cecc662cd89b1a72d1b21f1
2019-07-08Adding tests to NetconfMessageUtilsTest.ktRodrigo Ottero18-0/+293
Change-Id: If7a0d90ce264e7362e7118132303653eaaef9e69 Issue-ID: CCSDK-1046 Signed-off-by: Rodrigo Ottero <rodrigo.ottero@est.tech>
2019-07-08Re-enabled @Ignored tests on NetconfSessionImplTestEliezio Oliveira1-13/+13
Change-Id: I7d223956c95d4effc6a6d6c4cc3bf6648ada28be Issue-ID: CCSDK-1451 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Re-enabled test for happy-path case on NetconfDeviceCommunicatorTestEliezio Oliveira1-10/+9
Change-Id: I741e87f889b346ab63c29ce17231815a87a4e94d Issue-ID: CCSDK-1450 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Fix interrupt state left ON on NetconfSessionImpl.syncRpc()Eliezio Oliveira1-1/+0
Change-Id: Ib1a58ff94f88f352636b5f0af7a6fe5244a8fe7e Issue-ID: CCSDK-1455 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-06-25Refractor blueprint script dependencyBrinda Santh2-20/+70
Change-Id: I2e6b4dd278c1a4a3069a44f648129599365909d4 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-25Store resolution and expose with REST APIAlexis de Talhouët1-5/+0
Change-Id: Ie1fe9c02542ccd5fbfa18f1e2d6ddb633f55c214 Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-14Correct netconf capability matching regexAbdelmuhaimen Seaudi1-2/+2
Issue-ID: CCSDK-1403 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I0e8efc620f09af4fc776fbbf9d4e08e721dc8c63
2019-05-23Add cli executor optionsBrinda Santh2-0/+31
Change-Id: I55abe099997bad1666b762b7f8355b084f691001 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-11netconf-executor: NetconfSessionImp removed useless methodOleg Mitsura1-12/+1
Issue-ID: CCSDK-1126 Change-Id: I40fa7a5d83d14a33d8e06fe28394828f86f857fd Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-11netconf-executor: NetconfSessionImplTest improvementsOleg Mitsura3-34/+42
Issue-ID: CCSDK-1126 Change-Id: Ied0360a37f8f22801c63c2aeb70ee73d45cc7b4b Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-10Merge "netconf-executor: NetconfSessionImplTest"Dan Timoney6-313/+580
2019-04-10netconf-executor: NetconfSessionImplTestOleg Mitsura6-313/+580
Issue-ID: CCSDK-1126 patchset 6: test: undid most of NetconfSessionImpl and muted some tests it affected Change-Id: Iff406705fa06a00c2629d248010192354d9e2a41 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-10netconf-executor: RpcMessageUtilsTest improvementOleg Mitsura2-5/+33
Issue-ID: CCSDK-1126 Change-Id: I245661bb6ca1afa6aece98c83a1758a7a6f93621 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-10netconf-executor: Moving NetconfSessionListenerImpl out of ↵Oleg Mitsura3-14/+162
NetconfSessionImpl, and adding test for it. Issue-ID: CCSDK-1126 Change-Id: I8674c247e64efdf48faf35b8d21eae5eaed14d95 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-09netconf-executor: NetconfDeviceCommunicator testsOleg Mitsura2-0/+270
Issue-ID: CCSDK-1126 Change-Id: I524dbc9b8edcdf3922f762b77cfbb13b7b69df16 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-09Merge "netconf-executor: adding pojo tests"Dan Timoney2-0/+102
2019-04-09netconf-executor: adding pojo testsOleg Mitsura2-0/+102
Issue-ID: CCSDK-1126 Change-Id: Id98f437cbdb04dac445afb7c6c6089664366ac1f Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-08netconf-executor tests: adding MessageStateTestsOleg Mitsura4-54/+191
Issue-ID: CCSDK-1126 Change-Id: I6351163cf6e157eda41a47b07e53dfaac00f5da5 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-08Adding NetconfRpcServiceImplTest for netconf-executorOleg Mitsura4-116/+325
Issue-ID: CCSDK-1126 Change-Id: Ib223ed93bbc8a81dea1d1fdf8c2aa12ef91ff9a8 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-04Improve step data access.Muthuramalingam, Brinda Santh1-18/+25
Change-Id: I3917905b1e38cebcb26e4422784a5553e2dbac9f Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-01Improve bulk processingMuthuramalingam, Brinda Santh1-6/+8
Change-Id: Ia8bd447563072284aa71e00eab0ef9b93e1776b1 Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-01Improve function interfacesMuthuramalingam, Brinda Santh2-10/+9
Change-Id: I24f45d39ac05491a4217101e00bcbf8d122e4e1a Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-29Update sshd to 2.2.0Alexis de Talhouët3-7/+4
Change-Id: I1bc052cfc7681d0f5d6793aa08e2083332ee88b3 Issue-ID: CCSDK-1137 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët22-77/+77
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-20Netconf executor code coveragevinal patel4-29/+272
Change-Id: Ia7b6ece822e4ad551f2b562d11842f3a8be03219 Issue-ID: CCSDK-1126 Signed-off-by: vinal patel <vinal.narendrabhai.patel@ibm.com>
2019-03-15Improve scripting component.Muthuramalingam, Brinda Santh2-19/+6
Change-Id: I1e0c319e4117553695fa9161e7ffcd91f605be05 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-11Add support to invoke device specific RPCAlexis de Talhouët2-0/+31
Change-Id: Ia003ed669cc88a4c24a495e79db620b5034bc3ca Issue-ID: CCSDK-790 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-07Add support for resource-resolution storageAlexis de Talhouët3-15/+52
Change-Id: I0113191075804f6b77ce54c741bf0a1ccd356c77 Issue-ID: CCSDK-338 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-20Add support for commit confirmed capabilityAlexis de Talhouët4-9/+168
Change-Id: I3608a6a62469d4b5dfc5fc69f610f9da186156c2 Issue-ID: CCSDK-790 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-20Add component function scripting serviceMuthuramalingam, Brinda Santh3-16/+41
Change-Id: I7c5b49617823dd623566fb4be4d431012420e17c Issue-ID: CCSDK-959 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-18Simplify NetconfRpcServiceAlexis de Talhouët8-203/+116
Change-Id: I6daac25c272ab6b437c07602167a76a2d61816db Issue-ID: CCSDK-790 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>