mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
* Feat: support to manage the integrations by the CLI and the workflow Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: remove the xml Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: add the unit test for the nacos writer Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add the integration API Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: make the provider commands to be deprecated Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: make the unit test work Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: rename the integration to the config Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: make the unit test cases work Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: refactor the config commands Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add the distribution status for the config Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: sort the import packages Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: refine the code style Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: refine the code style Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: get the content format before render the content Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add some examples Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: the command test cases Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Feat: add the definitions of the workflow step Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: add some tests Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: add some tests Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: change the name Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: retry the CI Signed-off-by: barnettZQG <barnett.zqg@gmail.com> * Fix: refine some words Signed-off-by: barnettZQG <barnett.zqg@gmail.com> Signed-off-by: barnettZQG <barnett.zqg@gmail.com>
50 lines
803 B
CUE
50 lines
803 B
CUE
metadata: {
|
|
name: "nacos"
|
|
alias: "Nacos Config"
|
|
}
|
|
|
|
template: {
|
|
nacos: {
|
|
// can not references the parameter
|
|
endpoint: {
|
|
name: "nacos"
|
|
namespace: "default"
|
|
}
|
|
format: "properties"
|
|
|
|
// could references the parameter
|
|
metadata: {
|
|
dataId: parameter.dataId
|
|
group: parameter.group
|
|
if parameter.appName != _|_ {
|
|
appName: parameter.appName
|
|
}
|
|
}
|
|
content: parameter.content
|
|
}
|
|
outputs: {
|
|
"test": {
|
|
kind: "ConfigMap"
|
|
apiVersion: "v1"
|
|
metadata: {
|
|
name: context.name
|
|
namespace: context.namespace
|
|
}
|
|
data: {
|
|
"string": "string"
|
|
}
|
|
}
|
|
}
|
|
parameter: {
|
|
dataId: string
|
|
group: *"DEFAULT_GROUP" | string
|
|
appName?: string
|
|
content: {
|
|
mysqlHost: string
|
|
mysqlPort: int
|
|
username?: string
|
|
password?: string
|
|
}
|
|
}
|
|
}
|