diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 277b15e..4d5bc61 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,7 +3,8 @@
@@ -68,7 +69,7 @@
Application Id
{e.serviceId}
- { - let rawSession: string | null = localStorage.getItem("session_key"); + {e.hostnames.map((host)=>{ + return ( + + ) + })} - if(rawSession != null) { - let session: SessionKey = JSON.parse(rawSession); - await enableSSL(account!.id!, e.serviceId, session); - } - }}>Enable SSL ); })} diff --git a/src/nws-api/types.ts b/src/nws-api/types.ts index d5012ef..7d9f33d 100644 --- a/src/nws-api/types.ts +++ b/src/nws-api/types.ts @@ -48,12 +48,19 @@ export type Account = { status?: string }; +export type Host = { + serviceId: string, + isSslEnabled: boolean, + hostname: string +}; + export type Service = { serviceId: string, serviceName: string, namespace: string, containerUrl: string, - ownerId: string + ownerId: string, + hostnames: Host[] } export type ApiError = {