| Name | Description | Value |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
-| `service.type` | Service type | `LoadBalancer` |
+| `service.type` | Service type | `ClusterIP` |
| `service.ports.http` | Service HTTP port | `80` |
| `service.ports.https` | Service HTTPS port | `443` |
| `service.nodePorts` | Specify the nodePort(s) value(s) for the LoadBalancer and NodePort service types. | `{}` |
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
-limitations under the License.
\ No newline at end of file
+limitations under the License.
service:
## @param service.type Service type
##
- type: LoadBalancer
+ type: ClusterIP
## @param service.ports.http Service HTTP port
## @param service.ports.https Service HTTPS port
##
echo @main_path@ $main_path
JAVA_PATH="$JAVA_HOME/bin/java"
-JAVA_OPTS="-Xms50m -Xmx128m"
+JAVA_OPTS="-XX:MaxRAMPercentage=${MAX_RAM_PERCENTAGE:-70}"
echo @JAVA_PATH@ $JAVA_PATH
echo @JAVA_OPTS@ $JAVA_OPTS
spec:
selector: {{- include "common.selectors" . | nindent 4 }}
replicas: {{ .Values.replicaCount }}
+ revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
replicaCount: 1
nodeSelector: {}
affinity: {}
+revisionHistoryLimit: 1
service:
type: ClusterIP
echo @main_path@ $main_path
JAVA_PATH="$JAVA_HOME/bin/java"
-JAVA_OPTS="-Xms50m -Xmx128m"
+JAVA_OPTS="-XX:MaxRAMPercentage=${MAX_RAM_PERCENTAGE:-70}"
echo @JAVA_PATH@ $JAVA_PATH
echo @JAVA_OPTS@ $JAVA_OPTS
spec:
selector: {{- include "common.selectors" . | nindent 4 }}
replicas: {{ .Values.replicaCount }}
+ revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
replicaCount: 1
nodeSelector: {}
affinity: {}
+revisionHistoryLimit: 1
service:
type: ClusterIP
metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
spec:
replicas: 1
+ revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector: {{- include "common.selectors" . | nindent 4 }}
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
- name: http-upload
port: *upload_port
+revisionHistoryLimit: 1
liveness:
initialDelaySeconds: 300
#enable shutdown
endpoints.shutdown.enabled=true
endpoints.shutdown.sensitive=false
+
+intents.scheduledTask.enabled=false
+
+management.endpoints.web.exposure.include=*
+management.tracing.enabled={{ default .Values.global.tracing.enabled .Values.tracing.enabled }}
+management.tracing.sampling.probability={{ default .Values.global.tracing.sampling.probability .Values.tracing.collector.baseUrl }}
+management.zipkin.tracing.endpoint={{ default .Values.global.tracing.collector.baseUrl .Values.tracing.collector.baseUrl }}/api/v2/spans
+
+uui-server.client.aai.baseUrl={{ .Values.uuiServer.client.aai.baseUrl }}
+uui-server.client.aai.username={{ .Values.uuiServer.client.aai.username }}
+uui-server.client.aai.password={{ .Values.uuiServer.client.aai.password }}
+uui-server.client.so.baseUrl={{ .Values.uuiServer.client.so.baseUrl }}
+uui-server.client.so.username={{ .Values.uuiServer.client.so.username }}
+uui-server.client.so.password={{ .Values.uuiServer.client.so.password }}
+uui-server.client.sdc.baseUrl={{ .Values.uuiServer.client.sdc.baseUrl }}
+uui-server.client.sdc.username={{ .Values.uuiServer.client.sdc.username }}
+uui-server.client.sdc.password={{ .Values.uuiServer.client.sdc.password }}
+uui-server.slicing.service-invariant-uuid={{ .Values.uuiServer.slicing.serviceInvariantUuid }}
+uui-server.slicing.service-uuid={{ .Values.uuiServer.slicing.serviceUuid }}
+uui-server.slicing.global-subscriber-id={{ .Values.uuiServer.slicing.globalSubscriberId }}
+uui-server.slicing.service-type={{ .Values.uuiServer.slicing.serviceType }}
+uui-server.ccvpn.globalCustomerId={{ .Values.uuiServer.ccvpn.globalCustomerId }}
+uui-server.ccvpn.serviceType={{ .Values.uuiServer.ccvpn.serviceType }}
+uui-server.ccvpn.subscriberName={{ .Values.uuiServer.ccvpn.subscriberName }}
+uui-server.ccvpn.subscriberType={{ .Values.uuiServer.ccvpn.subscriberType }}
spec:
selector: {{- include "common.selectors" . | nindent 4 }}
replicas: {{ .Values.replicaCount }}
+ revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
template:
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
# Global configuration defaults.
#################################################################
global:
- nodePortPrefix: 302
+ tracing:
+ collector:
+ baseUrl: http://jaeger-collector.istio-system:9411
+ sampling:
+ probability: 1.0
secrets:
- uid: pg-root-pass
# application image
repository: nexus3.onap.org:10001
-image: onap/usecase-ui-server:15.0.0
+image: onap/usecase-ui-server:15.0.2
pullPolicy: Always
+revisionHistoryLimit: 1
# application configuration
periodSeconds: 10
service:
- type: NodePort
+ type: ClusterIP
name: uui-server
- internalPort: 8082
- nodePortPrefixOverride: 303
ports:
- name: http
port: 8082
- nodePort: '99'
- annotations:
- msb.onap.org/service-info: |
- {{ if .Values.global.msbEnabled -}}[
- {
- "serviceName": "usecaseui-server",
- "version": "v1",
- "url": "/api/usecase-server/v1",
- "path":"/iui/usecaseui",
- "protocol": "REST",
- "visualRange":"1",
- "port": "{{ include "common.getPort" (dict "global" . "name" "http" "getPlain" true) }}",
- "enable_ssl": false
- }
- ]{{ end }}
ingress:
enabled: false
name: "uui-server"
port: 8082
+##
+## Use this to override the global defaults
+tracing:
+# enabled: false
+ collector: {}
+# baseUrl: http://jaeger-collector.istio-system:9411
+ sampling: {}
+# probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
+
+
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
cpu: "1.5"
memory: "2Gi"
requests:
- cpu: "1"
+ cpu: "300m"
memory: "1Gi"
large:
limits:
# "helm.sh/hook": "pre-upgrade,pre-rollback,post-install"
# "helm.sh/hook-delete-policy": "before-hook-creation"
# "helm.sh/hook-weight": "1"
+
+uuiServer:
+ client:
+ aai:
+ baseUrl: http://aai.onap
+ username: AAI
+ password: AAI
+ so:
+ baseUrl: http://so.onap:8080
+ username: InfraPortalClient
+ password: password1
+ sdc:
+ baseUrl: http://sdc-be:8080
+ username: aai
+ password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ slicing:
+ serviceInvariantUuid: defaultServiceInvariantUuid
+ serviceUuid: defaultServiceUuid
+ globalSubscriberId: defaultGlobalSubscriberId
+ serviceType: defaultServiceType
+ ccvpn:
+ globalCustomerId: defaultGlobalCustomerId
+ serviceType: defaultServiceType
+ subscriberName: defaultSubscriberName
+ subscriberType: defaultSubscriberType
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
- nodePortPrefix: 302
+ tracing:
+ enabled: false
+ collectorHost: jaeger-collector.istio-system
+ collectorPort: 9411
subChartsOnly:
enabled: true
flavor: small
# application image
-image: onap/usecase-ui:15.0.0
+image: onap/usecase-ui:15.0.1
pullPolicy: Always
# application configuration
periodSeconds: 10
service:
- type: NodePort
+ type: ClusterIP
name: uui
- internalPort: 8080
- nodePortPrefixOverride: 303
ports:
- name: http
port: 8080
- nodePort: '98'
- annotations:
- msb.onap.org/service-info: |
- {{ if .Values.global.msbEnabled -}}[
- {
- "serviceName": "usecaseui-ui",
- "version": "v1",
- "url": "/usecase-ui",
- "path":"/iui/usecaseui",
- "protocol": "UI",
- "visualRange":"1",
- "port": "{{ include "common.getPort" (dict "global" . "name" "http" "getPlain" true) }}",
- "enable_ssl": false
- }
- ]{{ end }}
ingress:
enabled: true
proxy_set_header X-Forwarded-Proto $scheme;
}
- # backend
- location /api {
+ # uui-server
+ location /api/usecaseui-server {
proxy_pass http://uui-server:8082;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
+ # intent-service
+ location /api/usecaseui-intent-analysis {
+ proxy_pass http://uui-intent-analysis:8083;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ }
+ # llm-service
+ location /api/usecaseui-llm-adaptation {
+ proxy_pass http://uui-nlp:33011;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ }
}