Skip to content

Commit 947d109

Browse files
authored
Create config file (#3)
* Config changes * Commit test files * New changes * commit update
1 parent 99f543b commit 947d109

63 files changed

Lines changed: 4984 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dab-config.json

Lines changed: 368 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,368 @@
1+
"entities": {
2+
"Authors": {
3+
"source": {
4+
"object": "dbo.authors",
5+
"type": "table"
6+
},
7+
"mappings": {
8+
"au_id": "AuId",
9+
"au_lname": "AuLname",
10+
"au_fname": "AuFname",
11+
"phone": "Phone",
12+
"address": "Address",
13+
"city": "City",
14+
"state": "State",
15+
"zip": "Zip",
16+
"contract": "Contract"
17+
},
18+
"relationships": {
19+
"FK__titleauth__au_id__44FF419A": {
20+
"cardinality": "Many",
21+
"target.entity": "Titleauthor"
22+
}
23+
},
24+
"permissions": [
25+
{
26+
"role": "anonymous",
27+
"actions": [
28+
{
29+
"action": "*"
30+
}]
31+
}]
32+
},
33+
"Discounts": {
34+
"source": {
35+
"object": "dbo.discounts",
36+
"type": "table"
37+
},
38+
"mappings": {
39+
"discounttype": "Discounttype",
40+
"stor_id": "StorId",
41+
"lowqty": "Lowqty",
42+
"highqty": "Highqty",
43+
"discount": "Discount"
44+
},
45+
"relationships": {
46+
"FK__discounts__stor___4F7CD00D": {
47+
"cardinality": "Many",
48+
"target.entity": "Stores"
49+
}
50+
},
51+
"permissions": [
52+
{
53+
"role": "anonymous",
54+
"actions": [
55+
{
56+
"action": "*"
57+
}]
58+
}]
59+
},
60+
"Stores": {
61+
"source": {
62+
"object": "dbo.stores",
63+
"type": "table"
64+
},
65+
"mappings": {
66+
"stor_id": "StorId",
67+
"stor_name": "StorName",
68+
"stor_address": "StorAddress",
69+
"city": "City",
70+
"state": "State",
71+
"zip": "Zip"
72+
},
73+
"relationships": {
74+
"FK__discounts__stor___4F7CD00D": {
75+
"cardinality": "Many",
76+
"target.entity": "Discounts"
77+
},
78+
"FK__sales__stor_id__4AB81AF0": {
79+
"cardinality": "Many",
80+
"target.entity": "Sales"
81+
}
82+
},
83+
"permissions": [
84+
{
85+
"role": "anonymous",
86+
"actions": [
87+
{
88+
"action": "*"
89+
}]
90+
}]
91+
},
92+
"Employee": {
93+
"source": {
94+
"object": "dbo.employee",
95+
"type": "table"
96+
},
97+
"mappings": {
98+
"emp_id": "EmpId",
99+
"fname": "Fname",
100+
"minit": "Minit",
101+
"lname": "Lname",
102+
"job_id": "JobId",
103+
"job_lvl": "JobLvl",
104+
"pub_id": "PubId",
105+
"hire_date": "HireDate"
106+
},
107+
"relationships": {
108+
"FK__employee__job_id__5BE2A6F2": {
109+
"cardinality": "One",
110+
"target.entity": "Jobs"
111+
},
112+
"FK__employee__pub_id__5EBF139D": {
113+
"cardinality": "One",
114+
"target.entity": "Publishers"
115+
}
116+
},
117+
"permissions": [
118+
{
119+
"role": "anonymous",
120+
"actions": [
121+
{
122+
"action": "*"
123+
}]
124+
}]
125+
},
126+
"Jobs": {
127+
"source": {
128+
"object": "dbo.jobs",
129+
"type": "table"
130+
},
131+
"mappings": {
132+
"job_id": "JobId",
133+
"job_desc": "JobDesc",
134+
"min_lvl": "MinLvl",
135+
"max_lvl": "MaxLvl"
136+
},
137+
"relationships": {
138+
"FK__employee__job_id__5BE2A6F2": {
139+
"cardinality": "Many",
140+
"target.entity": "Employee"
141+
}
142+
},
143+
"permissions": [
144+
{
145+
"role": "anonymous",
146+
"actions": [
147+
{
148+
"action": "*"
149+
}]
150+
}]
151+
},
152+
"Publishers": {
153+
"source": {
154+
"object": "dbo.publishers",
155+
"type": "table"
156+
},
157+
"mappings": {
158+
"pub_id": "PubId",
159+
"pub_name": "PubName",
160+
"city": "City",
161+
"state": "State",
162+
"country": "Country"
163+
},
164+
"relationships": {
165+
"FK__employee__pub_id__5EBF139D": {
166+
"cardinality": "Many",
167+
"target.entity": "Employee"
168+
},
169+
"FK__pub_info__pub_id__571DF1D5": {
170+
"cardinality": "One",
171+
"target.entity": "PubInfo"
172+
},
173+
"FK__titles__pub_id__412EB0B6": {
174+
"cardinality": "Many",
175+
"target.entity": "Titles"
176+
}
177+
},
178+
"permissions": [
179+
{
180+
"role": "anonymous",
181+
"actions": [
182+
{
183+
"action": "*"
184+
}]
185+
}]
186+
},
187+
"PubInfo": {
188+
"source": {
189+
"object": "dbo.pub_info",
190+
"type": "table"
191+
},
192+
"mappings": {
193+
"pub_id": "PubId",
194+
"logo": "Logo",
195+
"pr_info": "PrInfo"
196+
},
197+
"relationships": {
198+
"FK__pub_info__pub_id__571DF1D5": {
199+
"cardinality": "One",
200+
"target.entity": "Publishers"
201+
}
202+
},
203+
"permissions": [
204+
{
205+
"role": "anonymous",
206+
"actions": [
207+
{
208+
"action": "*"
209+
}]
210+
}]
211+
},
212+
"Roysched": {
213+
"source": {
214+
"object": "dbo.roysched",
215+
"type": "table"
216+
},
217+
"mappings": {
218+
"title_id": "TitleId",
219+
"lorange": "Lorange",
220+
"hirange": "Hirange",
221+
"royalty": "Royalty"
222+
},
223+
"relationships": {
224+
"FK__roysched__title___4D94879B": {
225+
"cardinality": "One",
226+
"target.entity": "Titles"
227+
}
228+
},
229+
"permissions": [
230+
{
231+
"role": "anonymous",
232+
"actions": [
233+
{
234+
"action": "*"
235+
}]
236+
}]
237+
},
238+
"Titles": {
239+
"source": {
240+
"object": "dbo.titles",
241+
"type": "table"
242+
},
243+
"mappings": {
244+
"title_id": "TitleId",
245+
"title": "Title",
246+
"type": "Type",
247+
"pub_id": "PubId",
248+
"price": "Price",
249+
"advance": "Advance",
250+
"royalty": "Royalty",
251+
"ytd_sales": "YtdSales",
252+
"notes": "Notes",
253+
"pubdate": "Pubdate"
254+
},
255+
"relationships": {
256+
"FK__roysched__title___4D94879B": {
257+
"cardinality": "Many",
258+
"target.entity": "Roysched"
259+
},
260+
"FK__sales__title_id__4BAC3F29": {
261+
"cardinality": "Many",
262+
"target.entity": "Sales"
263+
},
264+
"FK__titleauth__title__45F365D3": {
265+
"cardinality": "Many",
266+
"target.entity": "Titleauthor"
267+
},
268+
"FK__titles__pub_id__412EB0B6": {
269+
"cardinality": "Many",
270+
"target.entity": "Publishers"
271+
}
272+
},
273+
"permissions": [
274+
{
275+
"role": "anonymous",
276+
"actions": [
277+
{
278+
"action": "*"
279+
}]
280+
}]
281+
},
282+
"Sales": {
283+
"source": {
284+
"object": "dbo.sales",
285+
"type": "table"
286+
},
287+
"mappings": {
288+
"stor_id": "StorId",
289+
"ord_num": "OrdNum",
290+
"ord_date": "OrdDate",
291+
"qty": "Qty",
292+
"payterms": "Payterms",
293+
"title_id": "TitleId"
294+
},
295+
"relationships": {
296+
"FK__sales__stor_id__4AB81AF0": {
297+
"cardinality": "One",
298+
"target.entity": "Stores"
299+
},
300+
"FK__sales__title_id__4BAC3F29": {
301+
"cardinality": "One",
302+
"target.entity": "Titles"
303+
}
304+
},
305+
"permissions": [
306+
{
307+
"role": "anonymous",
308+
"actions": [
309+
{
310+
"action": "*"
311+
}]
312+
}]
313+
},
314+
"Titleauthor": {
315+
"source": {
316+
"object": "dbo.titleauthor",
317+
"type": "table"
318+
},
319+
"mappings": {
320+
"au_id": "AuId",
321+
"title_id": "TitleId",
322+
"au_ord": "AuOrd",
323+
"royaltyper": "Royaltyper"
324+
},
325+
"relationships": {
326+
"FK__titleauth__au_id__44FF419A": {
327+
"cardinality": "One",
328+
"target.entity": "Authors"
329+
},
330+
"FK__titleauth__title__45F365D3": {
331+
"cardinality": "One",
332+
"target.entity": "Titles"
333+
}
334+
},
335+
"permissions": [
336+
{
337+
"role": "anonymous",
338+
"actions": [
339+
{
340+
"action": "*"
341+
}]
342+
}]
343+
},
344+
"Titleview": {
345+
"source": {
346+
"object": "dbo.titleview",
347+
"type": "view"
348+
},
349+
"mappings": {
350+
"title": "Title",
351+
"au_ord": "AuOrd",
352+
"au_lname": "AuLname",
353+
"price": "Price",
354+
"ytd_sales": "YtdSales",
355+
"pub_id": "PubId"
356+
},
357+
"relationships": {
358+
},
359+
"permissions": [
360+
{
361+
"role": "anonymous",
362+
"actions": [
363+
{
364+
"action": "*"
365+
}]
366+
}]
367+
},
368+
}

0 commit comments

Comments
 (0)