Skip to content

Commit 0625f91

Browse files
committed
Sample updates
1 parent e97df74 commit 0625f91

34 files changed

+11477
-561
lines changed

Virtual_EDW/Examples/DIM_CUSTOMER.json

Lines changed: 654 additions & 25 deletions
Large diffs are not rendered by default.

Virtual_EDW/Examples/HUB_CUSTOMER.json

Lines changed: 1087 additions & 17 deletions
Large diffs are not rendered by default.

Virtual_EDW/Examples/HUB_INCENTIVE_OFFER.json

Lines changed: 181 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,48 @@
11
{
22
"metadataConfiguration": {
3-
"changeDataCaptureAttribute": "CDC_OPERATION",
4-
"recordSourceAttribute": "RECORD_SOURCE",
5-
"loadDateTimeAttribute": "LOAD_DATETIME",
6-
"expiryDateTimeAttribute": "LOAD_END_DATETIME",
7-
"eventDateTimeAttribute": "EVENT_DATETIME",
8-
"recordChecksumAttribute": "HASH_FULL_RECORD",
9-
"etlProcessAttribute": "MODULE_INSTANCE_ID",
10-
"sourceRowIdAttribute": "SOURCE_ROW_ID"
3+
"changeDataCaptureAttribute": "CHANGE_DATA_INDICATOR",
4+
"recordSourceAttribute": "RECORD_SOURCE_INDICATOR",
5+
"loadDateTimeAttribute": "INSCRIPTION_TIMESTAMP",
6+
"expiryDateTimeAttribute": "INSCRIPTION_END_TIMESTAMP",
7+
"eventDateTimeAttribute": "SOURCE_TIMESTAMP",
8+
"recordChecksumAttribute": "CHECKSUM",
9+
"etlProcessAttribute": "AUDIT_TRAIL_ID",
10+
"sourceRowIdAttribute": "INSCRIPTION_RECORD_ID"
1111
},
1212
"generationSpecificMetadata": {
1313
"selectedDataObject": {
1414
"name": "HUB_INCENTIVE_OFFER",
15+
"dataItems": [
16+
{
17+
"name": "INCENTIVE_OFFER_SK",
18+
"dataType": "binary",
19+
"characterLength": 16,
20+
"ordinalPosition": 1
21+
},
22+
{
23+
"name": "AUDIT_TRAIL_ID",
24+
"dataType": "int",
25+
"ordinalPosition": 2
26+
},
27+
{
28+
"name": "INSCRIPTION_TIMESTAMP",
29+
"dataType": "datetime2",
30+
"numericScale": 7,
31+
"ordinalPosition": 3
32+
},
33+
{
34+
"name": "OFFER_ID",
35+
"dataType": "nvarchar",
36+
"characterLength": 100,
37+
"ordinalPosition": 4
38+
}
39+
],
1540
"dataObjectConnection": {
1641
"dataConnectionString": "Integration",
1742
"extensions": [
1843
{
1944
"key": "database",
20-
"value": "VirtualDWH",
45+
"value": "200_Integration_Layer",
2146
"description": "database name"
2247
},
2348
{
@@ -45,12 +70,58 @@
4570
"sourceDataObjects": [
4671
{
4772
"name": "PSA_PROFILER_CUSTOMER_OFFER",
73+
"dataItems": [
74+
{
75+
"name": "INSCRIPTION_TIMESTAMP",
76+
"dataType": "datetime2",
77+
"numericScale": 7,
78+
"ordinalPosition": 1
79+
},
80+
{
81+
"name": "INSCRIPTION_RECORD_ID",
82+
"dataType": "int",
83+
"ordinalPosition": 2
84+
},
85+
{
86+
"name": "SOURCE_TIMESTAMP",
87+
"dataType": "datetime2",
88+
"numericScale": 7,
89+
"ordinalPosition": 3
90+
},
91+
{
92+
"name": "CHANGE_DATA_INDICATOR",
93+
"dataType": "varchar",
94+
"characterLength": 100,
95+
"ordinalPosition": 4
96+
},
97+
{
98+
"name": "AUDIT_TRAIL_ID",
99+
"dataType": "int",
100+
"ordinalPosition": 5
101+
},
102+
{
103+
"name": "CHECKSUM",
104+
"dataType": "binary",
105+
"characterLength": 16,
106+
"ordinalPosition": 6
107+
},
108+
{
109+
"name": "CustomerID",
110+
"dataType": "int",
111+
"ordinalPosition": 7
112+
},
113+
{
114+
"name": "OfferID",
115+
"dataType": "int",
116+
"ordinalPosition": 8
117+
}
118+
],
48119
"dataObjectConnection": {
49120
"dataConnectionString": "PSA",
50121
"extensions": [
51122
{
52123
"key": "database",
53-
"value": "VirtualDWH",
124+
"value": "150_Persistent_Staging_Area",
54125
"description": "database name"
55126
},
56127
{
@@ -69,12 +140,37 @@
69140
],
70141
"targetDataObject": {
71142
"name": "HUB_INCENTIVE_OFFER",
143+
"dataItems": [
144+
{
145+
"name": "INCENTIVE_OFFER_SK",
146+
"dataType": "binary",
147+
"characterLength": 16,
148+
"ordinalPosition": 1
149+
},
150+
{
151+
"name": "AUDIT_TRAIL_ID",
152+
"dataType": "int",
153+
"ordinalPosition": 2
154+
},
155+
{
156+
"name": "INSCRIPTION_TIMESTAMP",
157+
"dataType": "datetime2",
158+
"numericScale": 7,
159+
"ordinalPosition": 3
160+
},
161+
{
162+
"name": "OFFER_ID",
163+
"dataType": "nvarchar",
164+
"characterLength": 100,
165+
"ordinalPosition": 4
166+
}
167+
],
72168
"dataObjectConnection": {
73169
"dataConnectionString": "Integration",
74170
"extensions": [
75171
{
76172
"key": "database",
77-
"value": "VirtualDWH",
173+
"value": "200_Integration_Layer",
78174
"description": "database name"
79175
},
80176
{
@@ -121,12 +217,59 @@
121217
"sourceDataObjects": [
122218
{
123219
"name": "PSA_PROFILER_OFFER",
220+
"dataItems": [
221+
{
222+
"name": "INSCRIPTION_TIMESTAMP",
223+
"dataType": "datetime2",
224+
"numericScale": 7,
225+
"ordinalPosition": 1
226+
},
227+
{
228+
"name": "INSCRIPTION_RECORD_ID",
229+
"dataType": "int",
230+
"ordinalPosition": 2
231+
},
232+
{
233+
"name": "SOURCE_TIMESTAMP",
234+
"dataType": "datetime2",
235+
"numericScale": 7,
236+
"ordinalPosition": 3
237+
},
238+
{
239+
"name": "CHANGE_DATA_INDICATOR",
240+
"dataType": "varchar",
241+
"characterLength": 100,
242+
"ordinalPosition": 4
243+
},
244+
{
245+
"name": "AUDIT_TRAIL_ID",
246+
"dataType": "int",
247+
"ordinalPosition": 5
248+
},
249+
{
250+
"name": "CHECKSUM",
251+
"dataType": "binary",
252+
"characterLength": 16,
253+
"ordinalPosition": 6
254+
},
255+
{
256+
"name": "OfferID",
257+
"dataType": "int",
258+
"ordinalPosition": 7
259+
},
260+
{
261+
"name": "Offer_Long_Description",
262+
"dataType": "nvarchar",
263+
"characterLength": 100,
264+
"ordinalPosition": 8
265+
}
266+
],
124267
"dataObjectConnection": {
125268
"dataConnectionString": "PSA",
126269
"extensions": [
127270
{
128271
"key": "database",
129-
"value": "VirtualDWH",
272+
"value": "150_Persistent_Staging_Area",
130273
"description": "database name"
131274
},
132275
{
@@ -145,12 +288,37 @@
145288
],
146289
"targetDataObject": {
147290
"name": "HUB_INCENTIVE_OFFER",
291+
"dataItems": [
292+
{
293+
"name": "INCENTIVE_OFFER_SK",
294+
"dataType": "binary",
295+
"characterLength": 16,
296+
"ordinalPosition": 1
297+
},
298+
{
299+
"name": "AUDIT_TRAIL_ID",
300+
"dataType": "int",
301+
"ordinalPosition": 2
302+
},
303+
{
304+
"name": "INSCRIPTION_TIMESTAMP",
305+
"dataType": "datetime2",
306+
"numericScale": 7,
307+
"ordinalPosition": 3
308+
},
309+
{
310+
"name": "OFFER_ID",
311+
"dataType": "nvarchar",
312+
"characterLength": 100,
313+
"ordinalPosition": 4
314+
}
315+
],
148316
"dataObjectConnection": {
149317
"dataConnectionString": "Integration",
150318
"extensions": [
151319
{
152320
"key": "database",
153-
"value": "VirtualDWH",
321+
"value": "200_Integration_Layer",
154322
"description": "database name"
155323
},
156324
{

0 commit comments

Comments
 (0)