|
17 | 17 |
|
18 | 18 | - type: inspect |
19 | 19 | id: inspect_postgres_table |
20 | | - connection: postgres |
21 | | - object: public.test_inspect_table |
| 20 | + location: postgres/public.test_inspect_table |
22 | 21 |
|
23 | 22 | - type: log |
24 | 23 | message: | |
|
28 | 27 | - Schema: {state.inspect_postgres_table.schema} |
29 | 28 | - Name: {state.inspect_postgres_table.name} |
30 | 29 | - FDQN: {state.inspect_postgres_table.fdqn} |
31 | | - - Column Names: {state.inspect_postgres_table.column_names} |
| 30 | + - Column Names: {state.inspect_postgres_table.columns[*].name} |
32 | 31 | - Column 'value': {state.inspect_postgres_table.column_map.value} |
33 | 32 |
|
34 | 33 | - type: check |
|
58 | 57 | # Test inspect on a non-existent table |
59 | 58 | - type: inspect |
60 | 59 | id: inspect_missing_table |
61 | | - connection: postgres |
62 | | - object: public.non_existent_table |
| 60 | + location: postgres/public.non_existent_table |
63 | 61 |
|
64 | 62 | - type: check |
65 | 63 | check: state.inspect_missing_table.exists == false |
@@ -111,8 +109,7 @@ steps: |
111 | 109 |
|
112 | 110 | - type: inspect |
113 | 111 | id: inspect_local_file |
114 | | - connection: local |
115 | | - path: /tmp/sling/inspect_test/test_file.json |
| 112 | + location: local//tmp/sling/inspect_test/test_file.json |
116 | 113 |
|
117 | 114 | - type: log |
118 | 115 | message: | |
@@ -143,8 +140,7 @@ steps: |
143 | 140 |
|
144 | 141 | - type: inspect |
145 | 142 | id: inspect_local_dir_recursive |
146 | | - connection: local |
147 | | - path: /tmp/sling/inspect_test |
| 143 | + location: local//tmp/sling/inspect_test |
148 | 144 | recursive: true |
149 | 145 |
|
150 | 146 | - type: log |
@@ -173,9 +169,9 @@ steps: |
173 | 169 |
|
174 | 170 | - type: inspect |
175 | 171 | id: inspect_local_dir |
176 | | - connection: local |
177 | | - path: /tmp/sling/inspect_test |
| 172 | + location: local//tmp/sling/inspect_test |
178 | 173 | recursive: false |
| 174 | + |
179 | 175 | - type: log |
180 | 176 | message: | |
181 | 177 | Local directory inspection results: |
|
0 commit comments