github.com/verrazzano/verrazzano@v1.7.1/tests/testdata/test-applications/weblogic/hello-weblogic/hello-wls-cluster-app.yaml (about)

     1  # Copyright (c) 2023, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  apiVersion: core.oam.dev/v1alpha2
     5  kind: ApplicationConfiguration
     6  metadata:
     7    name: hello-appconf
     8    annotations:
     9      version: v1.0.0
    10      description: "Sample application to validate deployment of VerrazzanoWebLogicWorkload"
    11  spec:
    12    components:
    13      - componentName: hellodomain-configmap
    14      - componentName: hello-domain
    15        traits:
    16          - trait:
    17              apiVersion: oam.verrazzano.io/v1alpha1
    18              kind: MetricsTrait
    19              spec:
    20                scraper: verrazzano-system/vmi-system-prometheus-0
    21          - trait:
    22              apiVersion: oam.verrazzano.io/v1alpha1
    23              kind: IngressTrait
    24              spec:
    25                rules:
    26                  - paths:
    27                      - path: "/hello"
    28                        pathType: Prefix
    29                    destination:
    30                      host: hellodomain-cluster-cluster1
    31                      port: 8001