<commit_before>Thank you for installing {{ .Chart.Name }}.

Your release is named {{ .Release.Name }}.

To learn more about the release, try:

  $ helm status {{ .Release.Name }}
  $ helm get {{ .Release.Name }}



1. Get the application URL by running these commands:
{{- if .Values.ingress.hostname }}
  http://{{- .Values.ingress.hostname }}
{{- else if contains "NodePort" .Values.service.type }}
  export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "fullname" . }})
  export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
  echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
     NOTE: It may take a few minutes for the LoadBalancer IP to be available.
           You can watch the status of by running 'kubectl get svc -w {{ template "fullname" . }}'
  export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
  echo http://$SERVICE_IP:{{ .Values.service.externalPort }}
{{- else if contains "ClusterIP" .Values.service.type }}
  export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:8080 to use your application"
  kubectl port-forward $POD_NAME 8080:{{ .Values.service.externalPort }}
{{- end }}


For more informations about this template you can take a look in this github https://github.com/PierreFeillet/IBM-ODM-Kubernetes <commit_msg>close #19<commit_after>Thank you for installing {{ .Chart.Name }}.

Your release is named {{ .Release.Name }}.

To learn more about the release, try:

  $ helm status {{ .Release.Name }}
  $ helm get {{ .Release.Name }}

Username/Password : 
  - For Business Console : rtsAdmin/rtsAdmin
  - For RES : resAdmin/resAdmin
  - For Decision Runner: resDeployer/resDeployer

1. Get the application URL by running these commands:
{{- if .Values.ingress.hostname }}

  http://{{- .Values.ingress.hostname }}
   * Team Server 
  http://{{- .Values.ingress.hostname }}/teamserver
   * Decision Runner
  http://{{- .Values.ingress.hostname }}/DecisionRunner
  * Decision Service Console (RES Console)
  http://{{- .Values.ingress.hostname }}/res
  * Decision Service Runtime
  http://{{- .Values.ingress.hostname }}/DecisionService

{{- else if contains "NodePort" .Values.service.type }}

-- Decision Center / Business Console
  export NODE_PORT_DC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm-decisioncenter)
  export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
  * Decision Center / Business Console
  echo http://$NODE_IP:$NODE_PORT_DC/decisioncenter

  * Team Server 
  echo http://$NODE_IP:$NODE_PORT_DC/teamserver

-- Testing and Simulation 
  export NODE_PORT_DR=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm-decisionrunner)
  export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
  * Decision Runner
  echo http://$NODE_IP:$NODE_PORT_DR/DecisionRunner


-- Decision Service Console (RES Console)
  export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm-decisionserverconsole)
  export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
  * Decision Service Console (RES Console)
  echo http://$NODE_IP:$NODE_PORT_DSC/res


-- Decision Service Runtime (Htds)
 export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm-decisionserverruntime)
  export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
  * Decision Service Runtime
  echo http://$NODE_IP:$NODE_PORT_DSC/DecisionService


{{- else if contains "LoadBalancer" .Values.service.type }}
     NOTE: It may take a few minutes for the LoadBalancer IP to be available.
         
 -- Decision Center / Business Console
  export SERVICE_IP_DC=$(kubectl get svc --namespace {{ .Release.Namespace }} odm-decisioncenter -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
  * Decision Center / Business Console
  echo http://$SERVICE_IP_DC:{{ .Values.service.externalPort }}/decisioncenter

  * Team Server 
   echo http://$SERVICE_IP_DC:{{ .Values.service.externalPort }}/teamserver

-- Testing and Simulation 
  export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm-decisionrunner -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
  echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/DecisionRunner

-- Decision Service Console (RES Console)
  export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm-decisionserverconsole -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
  echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/res

-- Decision Service Runtime (Htds)
  export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm-decisionserverruntime -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
  echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/DecisionServicde

{{- else if contains "ClusterIP" .Values.service.type }}

-- Testing and Simulation 
  TODO.

{{- end }}


For more informations about this template you can take a look in this github https://github.com/ODMDev/odm-docker-kubernetes
{'fraction_non_alphanumeric': 0.15256588072122051, 'fraction_numerical': 0.006761442441054091, 'mean_word_length': 4.141711229946524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4635400', 'n_tokens_mistral': 1859, 'n_tokens_neox': 1796, 'n_words': 464}