Commit 3c7df3cb authored by 智勇's avatar 智勇

修改为tke的更新服务

parent 3865679b
...@@ -77,16 +77,15 @@ def project_attr(systemName) { ...@@ -77,16 +77,15 @@ def project_attr(systemName) {
} }
def update_microservice(namespace, name, image, tier) { def update_microservice(namespace, name, image, tier) {
dest_url = "http://eos.quantgroups.com/api/qahome/update_microservice" dest_url = "http://172.30.220.22:3003/k8s/service/modifyImage"
response = httpRequest httpMode:"PUT", response = httpRequest httpMode:"POST",
consoleLogResponseBody:true, consoleLogResponseBody:true,
contentType:"APPLICATION_JSON", contentType:"APPLICATION_JSON",
requestBody:"""{ requestBody:"""{
"namespace":"${namespace}", "namespace":"${namespace}",
"name":"${name}", "serviceName":"${name}",
"image":"${image}", "image":"${image}"
"tier":"${tier}"
}""", }""",
url:dest_url url:dest_url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment