{{- if eq .Values.license "accept" -}}
Chart: {{ .Chart.Name }}-{{ .Chart.Version }}

WebSphere Commerce V9 {{ .Release.Name }} release startup will take average 10-15 minutes with sequence.

To test this release, use the helm test command: helm test {{ .Release.Name }} --cleanup=true --timeout=300

Access Environment:

1. Check ingress server IP address.
kubectl get ingress -n <Namespace>


2. Create the ingress server IP and hostname mapping on your server by editing the  /etc/hosts file.

<Ingress_IP>  store.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }} cmc.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }} org.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }} accelerator.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }} admin.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }} tsapp.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}

{{- if eq .Values.common.environmentType "auth" }}
<Ingress_IP> search.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}
{{- end }}

{{- if eq .Values.common.environmentType "live" }}
<Ingress_IP> searchrepeater.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}
{{- end }}


3. Access the environment with following URLs:

StoreFront:
https://store.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}/wcs/shop/en/auroraesite

Management Center (with default user wcsadmin/wcs1admin):
https://cmc.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}/lobtools/cmc/ManagementCenter

Organization Admin Console (with default user wcsadmin/wcs1admin):
https://org.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}/webapp/wcs/orgadmin/servlet/ToolsLogon?XMLFile=buyerconsole.BuyAdminConsoleLogon

Accelerator (with default user wcsadmin/wcs1admin):
https://accelerator.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}/webapp/wcs/tools/servlet/ToolsLogon?XMLFile=common.mcLogon

WebSphere Application Server Admin Console (with default user wcsadmin/wcs1admin):
https://admin.{{ .Values.common.tenant }}{{ .Values.common.environmentName }}{{ .Values.common.environmentType }}{{ .Values.common.externalDomian }}/webapp/wcs/admin/servlet/ToolsLogon?XMLFile=adminconsole.AdminConsoleLogon

{{- end }}

{{- if eq .Values.license "view" }}
**************************************************************************
    LICENSE
**************************************************************************

{{ .Files.Get "LICENSES/LICENSE" }}

**************************************************************************
{{- end }}





