Commit dcbfc97c authored by Sheng Wang's avatar Sheng Wang
Browse files

add server_port to 80 in deployment.yaml

parent 75a989b7
Pipeline #24357 failed with stages
in 21 minutes and 42 seconds
......@@ -63,3 +63,5 @@ spec:
secretKeyRef:
name: active-directory
key: application-appid
- name: server_port
value: "80"
......@@ -59,6 +59,7 @@ public class EntityUtil {
String path = String.format("storage/v1/%s/%s", type, id);
Map<String, String> headers = HeaderUtils.getHeaders(TenantUtils.getTenantName(), token);
ClientResponse response = TestUtils.send(getEntityUrl(), path, "DELETE", headers, "", "");
System.out.println(String.format("response status: %d %s", response.getStatus(), response.getStatusInfo().getReasonPhrase()));
Assert.assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatus());
System.out.println(String.format("deleted entity: %s", id));
return response;
......@@ -68,6 +69,7 @@ public class EntityUtil {
String path = String.format("storage/v1/%s/%s:purge", type, id);
Map<String, String> headers = HeaderUtils.getHeaders(TenantUtils.getTenantName(), token);
ClientResponse response = TestUtils.send(getEntityUrl(), path, "DELETE", headers, "", "");
System.out.println(String.format("response status: %d %s", response.getStatus(), response.getStatusInfo().getReasonPhrase()));
Assert.assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatus());
System.out.println(String.format("purged entity: %s", id));
return response;
......@@ -87,6 +89,7 @@ public class EntityUtil {
String path = String.format("storage/v1/%s/%s/%d", type, id, version);
Map<String, String> headers = HeaderUtils.getHeaders(TenantUtils.getTenantName(), token);
ClientResponse response = TestUtils.send(getEntityUrl(), path, "DELETE", headers, "", "");
System.out.println(String.format("response status: %d %s", response.getStatus(), response.getStatusInfo().getReasonPhrase()));
Assert.assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatus());
System.out.println(String.format("deleted entity version: %s:%d", id, version));
return response;
......@@ -96,6 +99,7 @@ public class EntityUtil {
String path = String.format("storage/v1/%s/%s/%d:purge", type, id, version);
Map<String, String> headers = HeaderUtils.getHeaders(TenantUtils.getTenantName(), token);
ClientResponse response = TestUtils.send(getEntityUrl(), path, "DELETE", headers, "", "");
System.out.println(String.format("response status: %d %s", response.getStatus(), response.getStatusInfo().getReasonPhrase()));
Assert.assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatus());
System.out.println(String.format("purged entity version: %s:%d", id, version));
return response;
......
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