summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-17K8sPlugin Healthcheck API and API refactoringLukasz Rajewski5-29/+171
K8sPlugin Healthcheck API and API refactoring Issue-ID: CCSDK-3146 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ic3040c888bf78b6d3c91f282200e6f32a3f69816
2021-02-17Fixed null pointer exception for JSON RALukasz Rajewski1-1/+3
Fixed null pointer exception for JSON RA Issue-ID: CCSDK-3170 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I721ff7966a1c1bd99ab948cdc410f05688ddea23
2021-02-151. Wrap configuration-template DAY2 APIGrzegorz Wielgosinski4-0/+441
2. Create config-template component Issue-ID: CCSDK-2922 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I124c5995294c2c05eab471eb3a2658368a49cf06
2021-02-11Added Kafka metrics for CDS workersJulien Fontaine17-44/+243
Added counters to gather metrics on CDS Kafka workers. This will enable us to get metrics on how many messages we consumer and produce to/from kafka. For consumers we count how many messages we consume and how many failed ie. consumed but not able to be processed (parsing error). For producers we count how many messages we produce and how many failed ie. failed to be pushed to the cluster (unavailable brokers, network error, ...). Relocated metrics tag constants to BlueprintConstants so that they can be use by any CDS module. If they make sense for other metrics then they should be shared. Issue-ID: CCSDK-3155 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: Iad6aba588766f655f3a74cd626e0f74e29188f96
2021-02-11Improve logging for CDS Kafka workersJulien Fontaine4-28/+47
Modified CDS Kafka consumersand producers logs to provide more details about the topic of the consumer record being consumed or published. Refactored the publish callback to make it more readable. Refactored audit service log error messages. Issue-ID: CCSDK-3154 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Change-Id: I7b42930e926bc15ce175974a78d3bfe2f219b0a8
2021-02-10K8sPlugin Instance API HandlersLukasz Rajewski12-41/+487
Issue-ID: CCSDK-3146 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I404957d5e782b8943bbe0d8bc501bbe88d524483
2021-02-10Merge "Remove Save scenario from Function Attributes Side"KAPIL SINGAL2-15/+7
2021-02-10Merge "detect paste change in ace-editor"KAPIL SINGAL3-149/+180
2021-02-10Remove Save scenario from Function Attributes SideSarah Abouzainah2-15/+7
Issue-ID: CCSDK-3150 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I8ba17be31214a78941bcc262cc9f911ec6c458c7
2021-02-10detect paste change in ace-editorEltanany Shaaban3-149/+180
Issue-ID: CCSDK-3149 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: I0d636ba3d2a7b6097083f18763f8eba92187d179
2021-02-09Instance dependencies in ComponentScriptExecutorLukasz Rajewski2-1/+15
Issue-ID: CCSDK-3146 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I6502abd0d2a3fa85cefc3bc6a900f27171b51569
2021-02-09Move configuration beans out of profile.upload packageGrzegorz Wielgosinski7-100/+170
Issue-ID: CCSDK-3130 Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: Id7a69e7c0a84c0b5556b5ae2a02835de647345c2
2021-02-03Issue-ID: CCSDK-3130Grzegorz Wielgosinski10-6/+8
1. Change module name to k8s-connection-plugin 2. Move K8sPluginApi.kt and K8sUploadFileRestClientService.kt out of profile.upload package Signed-off-by: Grzegorz Wielgosinski <g.wielgosins@samsung.com> Change-Id: I1708428ce986bc97e69dfbef9cf837a8039ccfe8
2021-02-02Merge "fixing input and output action"KAPIL SINGAL3-8/+21
2021-02-02add properties for dictionary sourcesAhmedeldeeb503-14/+40
Issue-ID: CCSDK-3093 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I5141ae40df5a81495f903f8e443953f695c3dd4b
2021-02-02fixing input and output actionEltanany Shaaban3-8/+21
Issue-ID: CCSDK-2779 Issue-ID: CCSDK-3025 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: Ie9a89b5312a173925d44b9868d796775912304a8
2021-01-26PV/PVC eliminationOleg Mitsura12-110/+627
Issue-ID: CCSDK-3086 1. initial commit 2. fix accidental paste / rebased cleaned up unneeded validation call in cmd-exec upload Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ife5460c5be59aa8d8592d82099b27c507b08c6c6
2021-01-24Merge "solving showing icon and filter by tags"KAPIL SINGAL2-2/+2
2021-01-24enable user to add sources to the DictionaryAhmedeldeeb504-90/+122
Issue-ID: CCSDK-3083 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: Ia8365cbad47d40849a65162829cee1c812bf433b
2021-01-24solving showing icon and filter by tagsEltanany Shaaban2-2/+2
Issue-ID: CCSDK-2432 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: Id90a8706374f67959c43b616e4b123baa782354b
2021-01-22Renaming Files having BluePrint to have BlueprintKAPIL SINGAL460-4470/+4470
Replacing BluePrint with Blueprint throughout Issue-ID: CCSDK-3098 Signed-off-by: KAPIL SINGAL <ks220y@att.com> Change-Id: Ibee8bad07ae7d9287073db2d4f2f2cd730fa8b96
2021-01-21Fixing Blueprint Typo's and docsSingal, Kapil (ks220y)4-7/+5
Issue-ID: CCSDK-3098 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I0cd5ba75a9ebb0363e7eab15ee0710b01e76b897
2021-01-19Add new rst guide filesSarah Abouzainah16-337/+1232
Issue-ID: CCSDK-3070 Issue-ID: CCSDK-3081 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I25c2488ac1ad12966a357f11ecca6e630f440ec0
2021-01-19Merge "Modify Data Dictionary style and add source option items"KAPIL SINGAL8-220/+349
2021-01-19Modify Data Dictionary style and add source option itemsSarah Abouzainah8-220/+349
Issue-ID: CCSDK-3092 Issue-ID: CCSDK-3093 Issue-ID: CCSDK-3094 Issue-ID: CCSDK-3095 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I395761081646510c1c4bab244496e11139cade01
2021-01-19change 'update-by' key in Resource-Dictionary JSONAhmedeldeeb501-3/+3
Issue-ID: CCSDK-3083 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: Ie88c9d8f61b7e692c665940c29027b4e405c91e1
2021-01-19Merge "Remove save button from function Attributes tab"KAPIL SINGAL3-14/+37
2021-01-18create dictionary resource from metadata tabAhmedeldeeb505-85/+128
enable the user to add source from the UI Issue-ID: CCSDK-3083 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I1f656fe303863373723a1285d5e1a473a9a47dec
2021-01-17Remove save button from function Attributes tabAhmedeldeeb503-14/+37
Issue-ID: CCSDK-3088 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I009b2b12826286e017a5f3dcad00b30350bf1a6f
2021-01-14Merge "enable 2-way binding between metadata and editor tabs"KAPIL SINGAL6-43/+109
2021-01-13enable 2-way binding between metadata and editor tabsAhmedeldeeb506-43/+109
Issue-ID: CCSDK-3083 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I9073e6c9a50e5d2ba34ab60666135cead718e059
2021-01-13Apply style modifications to done development tasksSarah Abouzainah5-28/+30
Issue-ID: CCSDK-2525 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I7c676a1fe469d91df7b4f185a1b1e52c5c91c17b
2021-01-13fixing bugs import inputs and outputs from functions into actionsEltanany Shaaban1-12/+5
Issue-ID: CCSDK-2779 Issue-ID: CCSDK-3025 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: Ic70fc13f782ef9594bfa2ce3e21c1d17ce4001c6
2021-01-12Add icon beside the selected templates in Function attributes tabAhmedeldeeb507-176/+216
update create_resource_dictionary API Issue-ID: CCSDK-3082 Issue-ID: CCSDK-3078 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: Ic5038dfba0c7b59c5e51096b9864aa0baff56c2b
2021-01-12Merge "Update committer list"KAPIL SINGAL1-5/+3
2021-01-11Update committer listDan Timoney1-5/+3
Remove Jack Lucas as committer - Jack has moved on to other work and resigned as committer from CCSDK Issue-ID: CCSDK-3080 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I080fabe257fe32b45d214cd4dbc36268c85bbcb6
2021-01-11Enable user to create new resource dictionary with jsonAhmedeldeeb5010-67/+98
Issue-ID: CCSDK-3078 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I2136eb5b2cec1e9db4c7124af9f09046ff5c15f0
2021-01-10changing json handling with function inputsEltanany Shaaban2-8/+8
Issue-ID: CCSDK-3051 Signed-off-by: Eltanany Shaaban <shaaban.eltanany.ext@orange.com> Change-Id: I325d31d18eeb639013b518c007a69799cdb29701
2021-01-08CDS add Swagger annotations for Model Type APIPiotr Stanior4-1/+426
Issue-ID: CCSDK-3014 Change-Id: I469151beef8ebf63b3a24ca4ce9a047c0b80850a Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl>
2021-01-04Create local build profile for designer-clientAhmedeldeeb505-4/+70
update loader logo Issue-ID: CCSDK-3072, CCSDK-2433 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I47bdc099727342ca449a14085f648ae9aa07cf69
2020-12-30[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save spacePratik raj2-4/+3
using "--no-cache-dir" flag in pip install ,make sure downloaded packages by pip don't cached on system . This is a best practice which make sure to fetch from repo instead of using local cached one . Further , in case of Docker Containers , by restricting caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: CCSDK-3071 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: I9c957bda7fbcf631ce9be65bd5bcc41d2c9ada48
2020-12-27Add create script modal in script tab.Ahmedeldeeb503-61/+102
Issue-ID: CCSDK-3051 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I34f5e40a9871c003df03028a17f7c2f237c76fca
2020-12-21Merge "CDS API Reference add workflow tutorial"KAPIL SINGAL7-46/+273
2020-12-21CDS API Reference add workflow tutorialJakobKrieg7-46/+273
Issue-ID: CCSDK-3060 Change-Id: I9e3465f4fff816ad8dcdb74f54713e11d9d246cd Signed-off-by: JakobKrieg <jakob.krieg@bcmsolutions.de>
2020-12-20add new build scriptAhmedeldeeb502-5/+6
add highlighting for action output selection Issue-ID: CCSDK-3042 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: I630776b256fa35c588fb45d69da0281b9d0aa575
2020-12-17Merge "Fixed NoClassDefFoundError when USE_SCRIPT_COMPILE_CACHE is set to false"KAPIL SINGAL17-48/+192
2020-12-16Refactoring assembly.id and name.spaceSingal, Kapil (ks220y)7-12/+5
Upgrading base onap/ccsdk-alpine-j11-image to version 1.1.0 Issue-ID: CCSDK-3053 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I135893a4ab1d4d3f7c1297d6e66de133bd3c7150
2020-12-16Fixed NoClassDefFoundError when USE_SCRIPT_COMPILE_CACHE is set to falseJulien Fontaine17-48/+192
USE_SCRIPT_COMPILE_CACHE set to false cleans the Class Loader cache after each kotlin script execution. When several kotlin script are executed in parallel (ie no dependency between them) and USE_SCRIPT_COMPILE_CACHE=false then the class loader from the cache may be deleted before one of those executed kotlin script get the time to finish which to the NoClassDefFoundError. Removed cleanupInstance method for kotlin script executors that where causing the class loader to be removed prematurely. Now the behaviour is to remove the class loader from the cache only when we publish a new CBA which was already the case when CDS run with a single instance. In cluster mode, a topic has been added to hazelcast to allow the instance publishing the updated CBA to communicate to the other instances by sending a message to clean the class loader for this CBA from their cache. Added mutex on kotlin script compilation to fix race condition. For concurrent kotlin script execution each process wanted to compile an executable but it was causing a race condition if a process tries to execute while another still compile. Mutex on the execution path prevent this behaviour Issue-ID: CCSDK-3052 Signed-off-by: Julien Fontaine <julien.fontaine@bell.ca> Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I6ab002352b3272898ad0b183341ee664652c8ae3
2020-12-16Merge "Add Deploy status icon and fix Script form design"KAPIL SINGAL6-94/+93
2020-12-16Add Deploy status icon and fix Script form designSarah Abouzainah6-94/+93
Issue-ID: CCSDK-2320 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I485436bf9c98ed24cfa23a808620d12ff571e456