-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRetailSales.yaml
54 lines (54 loc) · 1.09 KB
/
RetailSales.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# The data warehouse toolkit v3 chap.3
apiVersion: v1
kind: Star
tables:
- name: RetailSalesFact
metadata:
root: true
definition:
type: graphql
url: 'http://localhost:4020'
query: 'retailsales'
links:
- to: Date
key: DateKey
- to: Store
key: StoreKey
- to: Cachier
key: CachierKey
- to: Product
key: ProductKey
- to: Promotion
key: PromotionKey
- to: PaymentMethods
key: PaymentMethodKey
- name: Date
definition:
type: graphql-opencrud
url: 'http://localhost:4021'
query: 'date'
- name: Store
definition:
type: graphql-opencrud
url: 'http://localhost:4021'
query: 'store'
- name: Cashier
definition:
type: graphql-opencrud
url: 'http://localhost:4021'
query: 'cachier'
- name: Product
definition:
type: graphql-opencrud
url: 'http://localhost:4021'
query: 'product'
- name: Promotion
definition:
type: graphql-opencrud
url: 'http://localhost:4021'
query: 'promotion'
- name: PaymentMethod
definition:
type: graphql-opencrud
url: 'http://localhost:4021'
query: 'paymentmethod'