|
1 | 1 | { |
2 | 2 | "AlertNotificationKey": { |
3 | | - "searchPatterns": [ |
4 | | - "file:Tests/CloudEnvironmentTests/resources/non-existing-file.json", |
5 | | - "env:kubeEVINVALID", |
6 | | - "cloudfoundry:AlertNotificationService" |
7 | | - ] |
| 3 | + "credentials": { |
| 4 | + "searchPatterns": [ |
| 5 | + "file:Tests/CloudEnvironmentTests/resources/non-existing-file.json", |
| 6 | + "env:kubeEVINVALID", |
| 7 | + "cloudfoundry:AlertNotificationService" |
| 8 | + ] |
| 9 | + } |
8 | 10 | }, |
9 | 11 | "AlertNotificationEVKey": { |
10 | | - "searchPatterns": [ |
11 | | - "file:Tests/CloudEnvironmentTests/resources/non-existing-file.json", |
12 | | - "cloudfoundry:my-cloudant-instance-1", |
13 | | - "env:KUBE_ENV" |
14 | | - ] |
| 12 | + "credentials": { |
| 13 | + "searchPatterns": [ |
| 14 | + "file:Tests/CloudEnvironmentTests/resources/non-existing-file.json", |
| 15 | + "cloudfoundry:my-cloudant-instance-1", |
| 16 | + "env:KUBE_ENV" |
| 17 | + ] |
| 18 | + } |
15 | 19 | }, |
16 | 20 | "AlertNotificationFileNoKey": { |
17 | | - "searchPatterns": [ |
18 | | - "file:Tests/CloudEnvironmentTests/resources/config_file_no_key.json", |
19 | | - "env:KUBE_ENV_WRONG", |
20 | | - "cloudfoundry:my-cloudant-instance-1" |
21 | | - ] |
| 21 | + "credentials": { |
| 22 | + "searchPatterns": [ |
| 23 | + "file:Tests/CloudEnvironmentTests/resources/config_file_no_key.json", |
| 24 | + "env:KUBE_ENV_WRONG", |
| 25 | + "cloudfoundry:my-cloudant-instance-1" |
| 26 | + ] |
| 27 | + } |
22 | 28 | }, |
23 | 29 | "AlertNotificationFileWithKey": { |
24 | | - "searchPatterns": [ |
25 | | - "file:Tests/CloudEnvironmentTests/resources/config_file_with_key.json:alertnotification", |
26 | | - "env:KUBE_ENV_WRONG", |
27 | | - "cloudfoundry:my-cloudant-instance-1" |
28 | | - ] |
| 30 | + "credentials": { |
| 31 | + "searchPatterns": [ |
| 32 | + "file:Tests/CloudEnvironmentTests/resources/config_file_with_key.json:alertnotification", |
| 33 | + "env:KUBE_ENV_WRONG", |
| 34 | + "cloudfoundry:my-cloudant-instance-1" |
| 35 | + ] |
| 36 | + } |
29 | 37 | }, |
30 | 38 | "CloudantKey": { |
31 | | - "searchPatterns": [ |
32 | | - "cloudfoundry:CloudantService", |
33 | | - "env:my-kube-secret-os-credentials", |
34 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
35 | | - ] |
| 39 | + "credentials": { |
| 40 | + "searchPatterns": [ |
| 41 | + "cloudfoundry:CloudantService", |
| 42 | + "env:my-kube-secret-os-credentials", |
| 43 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 44 | + ] |
| 45 | + } |
36 | 46 | }, |
37 | 47 | "PushNotificationKey": { |
38 | | - "searchPatterns": [ |
39 | | - "cloudfoundry:PushNotificationService", |
40 | | - "env:my-kube-secret-os-credentials", |
41 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
42 | | - ] |
| 48 | + "credentials": { |
| 49 | + "searchPatterns": [ |
| 50 | + "cloudfoundry:PushNotificationService", |
| 51 | + "env:my-kube-secret-os-credentials", |
| 52 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 53 | + ] |
| 54 | + } |
43 | 55 | }, |
44 | 56 | "ConversationKey": { |
45 | | - "searchPatterns": [ |
46 | | - "cloudfoundry:ConversationService", |
47 | | - "env:my-kube-secret-os-credentials", |
48 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
49 | | - ] |
| 57 | + "credentials": { |
| 58 | + "searchPatterns": [ |
| 59 | + "cloudfoundry:ConversationService", |
| 60 | + "env:my-kube-secret-os-credentials", |
| 61 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 62 | + ] |
| 63 | + } |
50 | 64 | }, |
51 | 65 | "NLUKey": { |
52 | | - "searchPatterns": [ |
53 | | - "cloudfoundry:NLUService", |
54 | | - "env:my-kube-secret-os-credentials", |
55 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
56 | | - ] |
| 66 | + "credentials": { |
| 67 | + "searchPatterns": [ |
| 68 | + "cloudfoundry:NLUService", |
| 69 | + "env:my-kube-secret-os-credentials", |
| 70 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 71 | + ] |
| 72 | + } |
57 | 73 | }, |
58 | 74 | "AutoScalingKey": { |
59 | | - "searchPatterns": [ |
60 | | - "cloudfoundry:AutoScalingService", |
61 | | - "env:my-kube-secret-os-credentials", |
62 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
63 | | - ] |
| 75 | + "credentials": { |
| 76 | + "searchPatterns": [ |
| 77 | + "cloudfoundry:AutoScalingService", |
| 78 | + "env:my-kube-secret-os-credentials", |
| 79 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 80 | + ] |
| 81 | + } |
64 | 82 | }, |
65 | 83 | "AppIDKey": { |
66 | | - "searchPatterns": [ |
67 | | - "cloudfoundry:AppIDService", |
68 | | - "env:my-kube-secret-os-credentials", |
69 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
70 | | - ] |
| 84 | + "credentials": { |
| 85 | + "searchPatterns": [ |
| 86 | + "cloudfoundry:AppIDService", |
| 87 | + "env:my-kube-secret-os-credentials", |
| 88 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 89 | + ] |
| 90 | + } |
71 | 91 | }, |
72 | 92 | "RedisKey": { |
73 | | - "searchPatterns": [ |
74 | | - "cloudfoundry:RedisService", |
75 | | - "env:my-kube-secret-os-credentials", |
76 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
77 | | - ] |
| 93 | + "credentials": { |
| 94 | + "searchPatterns": [ |
| 95 | + "cloudfoundry:RedisService", |
| 96 | + "env:my-kube-secret-os-credentials", |
| 97 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 98 | + ] |
| 99 | + } |
78 | 100 | }, |
79 | 101 | "MongoDBKey": { |
80 | | - "searchPatterns": [ |
81 | | - "cloudfoundry:MongoDBService", |
82 | | - "env:my-kube-secret-os-credentials", |
83 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
84 | | - ] |
| 102 | + "credentials": { |
| 103 | + "searchPatterns": [ |
| 104 | + "cloudfoundry:MongoDBService", |
| 105 | + "env:my-kube-secret-os-credentials", |
| 106 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 107 | + ] |
| 108 | + } |
85 | 109 | }, |
86 | 110 | "PostgreSQLKey": { |
87 | | - "searchPatterns": [ |
88 | | - "cloudfoundry:PostgreSQLService", |
89 | | - "env:my-kube-secret-os-credentials", |
90 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
91 | | - ] |
| 111 | + "credentials": { |
| 112 | + "searchPatterns": [ |
| 113 | + "cloudfoundry:PostgreSQLService", |
| 114 | + "env:my-kube-secret-os-credentials", |
| 115 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 116 | + ] |
| 117 | + } |
92 | 118 | }, |
93 | 119 | "MySQLKey": { |
94 | | - "searchPatterns": [ |
95 | | - "cloudfoundry:MySQLService", |
96 | | - "env:my-kube-secret-os-credentials", |
97 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
98 | | - ] |
| 120 | + "credentials": { |
| 121 | + "searchPatterns": [ |
| 122 | + "cloudfoundry:MySQLService", |
| 123 | + "env:my-kube-secret-os-credentials", |
| 124 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 125 | + ] |
| 126 | + } |
99 | 127 | }, |
100 | 128 | "DB2Key": { |
101 | | - "searchPatterns": [ |
102 | | - "cloudfoundry:DB2Service", |
103 | | - "env:my-kube-secret-os-credentials", |
104 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
105 | | - ] |
| 129 | + "credentials": { |
| 130 | + "searchPatterns": [ |
| 131 | + "cloudfoundry:DB2Service", |
| 132 | + "env:my-kube-secret-os-credentials", |
| 133 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 134 | + ] |
| 135 | + } |
106 | 136 | }, |
107 | 137 | "ObjectStorageKey": { |
108 | | - "searchPatterns": [ |
109 | | - "cloudfoundry:ObjectStorageService", |
110 | | - "env:my-kube-secret-os-credentials", |
111 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
112 | | - ] |
| 138 | + "credentials": { |
| 139 | + "searchPatterns": [ |
| 140 | + "cloudfoundry:ObjectStorageService", |
| 141 | + "env:my-kube-secret-os-credentials", |
| 142 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 143 | + ] |
| 144 | + } |
113 | 145 | }, |
114 | 146 | "WeatherCompanyDataKey": { |
115 | | - "searchPatterns": [ |
116 | | - "cloudfoundry:WeatherCompanyDataService", |
117 | | - "env:my-kube-secret-os-credentials", |
118 | | - "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
119 | | - ] |
| 147 | + "credentials": { |
| 148 | + "searchPatterns": [ |
| 149 | + "cloudfoundry:WeatherCompanyDataService", |
| 150 | + "env:my-kube-secret-os-credentials", |
| 151 | + "file:Tests/CloudEnvironmentTests/resources/config_cf_example.json" |
| 152 | + ] |
| 153 | + } |
120 | 154 | }, |
121 | 155 | "CloudFunctionsCredentials": { |
122 | | - "searchPatterns": [ |
| 156 | + "credentials": { |
| 157 | + "searchPatterns": [ |
123 | 158 | "file:Tests/CloudEnvironmentTests/resources/config_file_with_key.json:CloudFunctions" |
124 | | - ] |
125 | | -} |
| 159 | + ] |
| 160 | + } |
| 161 | + } |
126 | 162 | } |
0 commit comments