...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
apiVersion: v1 kind: Service metadata: labels: app: yuuvis yuuvis: "true" name: sothook name: sothook namespace: yuuvis spec: ports: - name: http port: 80 protocol: TCP targetPort: 10779 selector: name: sothook type: ClusterI |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
apiVersion: apps/v1 kind: Deployment metadata: namespace: yuuvis labels: app: yuuvis name: sothook name: sothook spec: replicas: 1 selector: matchLabels: name: sothook template: metadata: labels: app: yuuvis name: sothook spec: initContainers: - name: init-sothook image: busybox command: ["sh", "-c", "until wget -q --spider http://configservice/manage/health; do echo waiting for configservice; sleep 11; done;"] imagePullPolicy: IfNotPresent containers: - name: sothook image: docker.yuuvis.org/yuuvis/sandbox/sot-hook:1.0.0-RC01 imagePullPolicy: Always env: - name: JAVA_OPTS value: -Xmx256m - name: SPRING_PROFILES_ACTIVE value: prod,kubernetes - name: SPRING_CLOUD_CONFIG_URI value: "http://configservice/config" ports: - containerPort: 10779 restartPolicy: Always imagePullSecrets: - name: flexsecret |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "enable": true, "predicate": "spel:T(java.util.List).of(100,101).contains(options['action']) && properties['system:secondaryObjectTypeIds'] != null && properties['system:secondaryObjectTypeIds']['value'].contains('appClientsystem:leadingType')", "type": "dms.request.objects.upsert.database-before", "url": "http://sothook/api/dms/request/import/databasebefore", "useDiscovery": true }, { "enable": true, "predicate": "spel:T(java.util.List).of(300).contains(options['action']) && properties['system:secondaryObjectTypeIds'] != null && properties['system:secondaryObjectTypeIds']['value'].contains('appClientsystem:leadingType')", "type": "dms.request.objects.upsert.database-before", "url": "http://sothook/api/dms/request/updatemetadata/databasebefore", "useDiscovery": true } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "enable": true, "predicate": "spel:(options==null || options['currentVersion']==null)", "type": "dms.request.import.storage.before", "url": "http://sothook/api/dms/request/import", "useDiscovery": true }, { "enable": true, "predicate": "spel:options!=null && options['currentVersion']!=null && options['currentVersion']['properties']['system:secondaryObjectTypeIds'] != null && options['currentVersion']['properties']['system:secondaryObjectTypeIds']['value'].contains('appClientsystem:leadingType')", "type": "dms.request.update.metadata", "url": "http://sothook/api/dms/request/update/metadata", "useDiscovery": true } |
...