Commit Graph
5 Commits
Author SHA1 Message Date
e80659dfab feat: UI write support CMP (#11754) (#12137)
* #11602 fix : Object options menu truncated when selected in ApplicationListView.

Signed-off-by: schakradari <[email protected]>

* CMP parameter changes

Signed-off-by: schakradari <[email protected]>

* fix: pointers to param values

Signed-off-by: Michael Crenshaw <[email protected]>

better?

Signed-off-by: Michael Crenshaw <[email protected]>

fix silliness

Signed-off-by: Michael Crenshaw <[email protected]>

terrible hacks

Signed-off-by: Michael Crenshaw <[email protected]>

maybe better codegen

Signed-off-by: Michael Crenshaw <[email protected]>

fix tests

Signed-off-by: Michael Crenshaw <[email protected]>

* same prefix issue fixed

Signed-off-by: schakradari <[email protected]>

* fix for delete param name

Signed-off-by: schakradari <[email protected]>

* lint changes

Signed-off-by: schakradari <[email protected]>

* lint fix

Signed-off-by: schakradari <[email protected]>

* lint fix

Signed-off-by: schakradari <[email protected]>

* finalChanges

Signed-off-by: schakradari <[email protected]>

* Delete application-resource-list.tsx

Not needed for this PR.

Signed-off-by: schakrad <[email protected]>

* added file which was deleted as it was not the change needed for this feature.

Signed-off-by: schakradari <[email protected]>

* refactored MapValuField and added fix for some edge cases

Signed-off-by: schakradari <[email protected]>

* Update application-resource-list.tsx

Reverting the change as this is not related to this PR.

Signed-off-by: schakrad <[email protected]>

* Reverting the change in application-resource-list

Signed-off-by: schakradari <[email protected]>

* Showing application parameter values irrespective of parameter present or not in plugin.yaml

Signed-off-by: schakradari <[email protected]>

* fix for lint errors

Signed-off-by: schakradari <[email protected]>

* fix false source mismatch

Signed-off-by: Michael Crenshaw <[email protected]>

* fix equals

Signed-off-by: Michael Crenshaw <[email protected]>

* fix swagger doc

Signed-off-by: Michael Crenshaw <[email protected]>

* Tooltip description change.

Signed-off-by: schakrad <[email protected]>

* fixed lint

Signed-off-by: schakrad <[email protected]>

* CMP fix for empty array.

Signed-off-by: schakrad <[email protected]>

---------

Signed-off-by: schakradari <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: schakrad <[email protected]>
Signed-off-by: schakrad <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2023-03-21 14:39:10 -04:00
5918367282 feat: parameterized config management plugins (#9135) (#9216)
* feat: parameterized CMPs

Signed-off-by: Michael Crenshaw <[email protected]>

* values types for parameters

Signed-off-by: Michael Crenshaw <[email protected]>

* Add types for CMP announcement

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Reorg

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* finish type

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* First pass at working GetParametersAnnouncement

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Typos

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Make all fields optional

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Make sure response makes it to repo server

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* Refactor for testing

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* send build env to param announcement gen

Signed-off-by: Michael Crenshaw <[email protected]>

* test parameter announcement

Signed-off-by: Michael Crenshaw <[email protected]>

* tests

Signed-off-by: Michael Crenshaw <[email protected]>

* environ tests

Signed-off-by: Michael Crenshaw <[email protected]>

* Rename workdir to app dir

Signed-off-by: zachaller <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

* handle empty command, start ui work (#11)

* Add types for CMP announcement

Signed-off-by: zachaller <[email protected]>

* Reorg

Signed-off-by: zachaller <[email protected]>

* finish type

Signed-off-by: zachaller <[email protected]>

* First pass at working GetParametersAnnouncement

Signed-off-by: zachaller <[email protected]>

* Typos

Signed-off-by: zachaller <[email protected]>

* Make all fields optional

Signed-off-by: zachaller <[email protected]>

* Make sure response makes it to repo server

Signed-off-by: zachaller <[email protected]>

* Refactor for testing

Signed-off-by: zachaller <[email protected]>

* values types for parameters

Signed-off-by: Michael Crenshaw <[email protected]>

* lint

Signed-off-by: Michael Crenshaw <[email protected]>

* send build env to param announcement gen

Signed-off-by: Michael Crenshaw <[email protected]>

* test parameter announcement

* tests

Signed-off-by: Michael Crenshaw <[email protected]>

* environ tests

Signed-off-by: Michael Crenshaw <[email protected]>

* Rename workdir to app dir

Signed-off-by: zachaller <[email protected]>

* handle empty command, start ui work

Signed-off-by: Michael Crenshaw <[email protected]>

* fix order

Signed-off-by: Michael Crenshaw <[email protected]>

* fix map merging, make params read-only

Signed-off-by: Michael Crenshaw <[email protected]>

Co-authored-by: zachaller <[email protected]>

* Add helm PoC example plugin

Signed-off-by: zachaller <[email protected]>

* example as kustomize overlay

Signed-off-by: Michael Crenshaw <[email protected]>

* Parameterized cmps docs (#12)

* use printf instead of echo

Signed-off-by: Michael Crenshaw <[email protected]>

* docs

Signed-off-by: Michael Crenshaw <[email protected]>

* test for temp dir cleanup

Signed-off-by: Michael Crenshaw <[email protected]>

* handle empty params

Signed-off-by: Michael Crenshaw <[email protected]>

* handle empty values

Signed-off-by: Michael Crenshaw <[email protected]>

* consolidate types

Signed-off-by: Michael Crenshaw <[email protected]>

* fix tests

Signed-off-by: Michael Crenshaw <[email protected]>

* docs

Signed-off-by: Michael Crenshaw <[email protected]>

* docs

Signed-off-by: Michael Crenshaw <[email protected]>

* remove duplicate info

Signed-off-by: Michael Crenshaw <[email protected]>

* add warning about param announcements vs param values

Signed-off-by: Michael Crenshaw <[email protected]>

* tests (#13)

Signed-off-by: Michael Crenshaw <[email protected]>

* tests

Signed-off-by: Michael Crenshaw <[email protected]>

* fix types

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

* fix codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* fix codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* revert test hack

Signed-off-by: Michael Crenshaw <[email protected]>

* docs correction

Signed-off-by: Michael Crenshaw <[email protected]>

* fix indentation

Signed-off-by: Michael Crenshaw <[email protected]>

* fix spacing

Signed-off-by: CI <[email protected]>

* move util function to util file and add test

Signed-off-by: CI <[email protected]>

* wrap error

Signed-off-by: CI <[email protected]>

* correct version number

Signed-off-by: CI <[email protected]>

* document necessity of collectionType param

Signed-off-by: CI <[email protected]>

* remove part of error message that's not useful (dir name is now randomized)

Signed-off-by: CI <[email protected]>

* fix things so that they are not broken

Signed-off-by: CI <[email protected]>

* don't close file before caller gets a chance to use it

Signed-off-by: CI <[email protected]>

* codegen

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

* comments

Signed-off-by: Michael Crenshaw <[email protected]>

* fix test

Signed-off-by: Michael Crenshaw <[email protected]>

* DON'T PANIC

Signed-off-by: Michael Crenshaw <[email protected]>

Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: zachaller <[email protected]>
Signed-off-by: CI <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: zachaller <[email protected]>
2022-11-29 13:08:32 -05:00
Michael CrenshawandGitHub bf1ba47490 docs: remove unused plugin config fields (#10304)
* docs: remove unused plugin config fields

Signed-off-by: CI <[email protected]>

* fix codegen

Signed-off-by: CI <[email protected]>

Signed-off-by: CI <[email protected]>
2022-10-07 19:42:25 -04:00
Leonardo Luz AlmeidaandGitHub 5dee23fb72 feat: remove shared repo volume between repo-server and cmp-server (#8600)
feat: remove shared repo volume between repo-server and cmp-server (#8600)

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2022-03-15 12:06:21 -07:00
Leonardo Luz AlmeidaandGitHub 8f49251203 chore: configure cmp-server in goreman (#8495)
chore: configure cmp-server in goreman (#8495)

Signed-off-by: Leonardo Luz Almeida <[email protected]>
2022-02-18 08:46:55 -08:00