-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.js
115 lines (115 loc) · 3.81 KB
/
config.js
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
module.exports = {
"mongoConnection": "mongodb://mongodb:27017",
"appUrl": "https://localhost:8080",
"sources": [{
"name": "cagette",
"slug": "cagette",
"url": "https://app.cagette.net/api/pro/dfc/V1.2/catalog/1326",
"version": "1.2"
},
{
"name": "OFN FR staging",
"slug": "ofn",
"url": "https://staging.coopcircuits.fr/api/dfc/enterprises/default/catalog_items.json",
"version": "1.8",
"supporWrite": "true"
},
{
"name": "OFN UK Staging",
"slug": "ofn-uk",
"url": "https://staging.openfoodnetwork.org.uk/api/dfc/enterprises/default/catalog_items.json",
"version": "1.8",
"supporWrite": "true"
},
{
"name": "Elzeard",
"slug": "elzeard",
"url": "https://dfc.dev.elzeard.co/api/dfc/catalog",
"version": "1.7"
},
{
"name": "Socleo",
"slug": "socleo",
"url": "https://demo.socleo.org/api/dfc/person/",
"urlExportSuppliedProduct": "https://demo.socleo.org/api/dfc/suppliedProduct/",
"urlExportCatalogItem": "https://demo.socleo.org/api/dfc/catalogItem/",
"version": "1.7",
"supporWrite": "true"
}, {
"name": "la ruche qui dit oui",
"slug": "la-ruche-qui-dit-oui",
"url": "https://api.thefoodassembly.com/dfc/catalog/21518",
"version": "1.1"
}, {
"name": "Open Food Fact",
"slug": "open-food-fact",
"url": "https://grappe.io/data/api/5e3d67de8d4440002a74d390-OFF-DFC-Producer",
"version": "1.2",
"options": [
{
"label": "Brands / Packager-Code",
"param": "producer",
"info": "si vous disposez de produit referencés sur Open FoodFact, vous devriez avoir la marque ('brands') ou votre code emaballeur/estampille sanitaire ('packager-code') de renseigné sur ces produits."
}
]
},
{
"name": "test v1.7.2",
"slug": "test_v1-7-2",
"url": "https://github.com/datafoodconsortium/business-api/releases/download/v1.7.2/user.json",
"version": "1.7"
},
{
"name": "test v1.7.3",
"slug": "test_v1-7-3",
"url": "https://github.com/datafoodconsortium/business-api/releases/download/v1.7.3/user.json",
"version": "1.7"
},
{
"name": "test v1.7.4",
"slug": "test_v1-7-4",
"url": "https://github.com/datafoodconsortium/business-api/releases/download/v1.7.4/user.json",
"version": "1.7"
},
{
"name": "Garethe v1.6",
"slug": "garethe_v1-6",
"url": "https://raggedstaff.github.io/data/en_user_1_6.json",
"version": "1.6"
},
{
"name": "lecoqlibreTest1_6",
"slug": "lecoqlibretest1_6",
"url": "https://dfc.lecoqlibre.fr/1.6/",
"version": "1.6"
},
{
"name": "lecoqlibre",
"slug": "lecoqlibre",
"url": "https://dfc.lecoqlibre.fr/api/dfc/person/617434aeda56d67eb07d1198",
"version": "1.5",
"supporWrite": "true"
},
{
"name": "shopify",
"slug": "shopify",
"url": "https://0f44-92-18-223-75.eu.ngrok.io/api/products",
"urlExportSuppliedProduct": "https://0f44-92-18-223-75.eu.ngrok.io/api/products",
"version": "1.7",
"supporWrite": "true"
}
],
"context": "https://www.datafoodconsortium.org",
"express": {
"session_secret": "4751c8b3-3a15-4ba9-8186-94c0fd330f30"
},
"OIDC": {
"lesCommuns": {
"issuer": "https://login.lescommuns.org/auth/realms/data-food-consortium/",
"client_id": "proto-dfc",
"client_secret": "0ed79cdb-81fb-4ae1-b77d-2a61f010a4f7",
"redirect_uri": "http://localhost:8080/login/auth/cb",
"public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl68JGqAILFzoi/1+6siXXp2vylu+7mPjYKjKelTtHFYXWVkbmVptCsamHlY3jRhqSQYe6M1SKfw8D+uXrrWsWficYvpdlV44Vm7uETZOr1/XBOjpWOi1vLmBVtX6jFeqN1BxfE1PxLROAiGn+MeMg90AJKShD2c5RoNv26e20dgPhshRVFPUGru+0T1RoKyIa64z/qcTcTVD2V7KX+ANMweRODdoPAzQFGGjTnL1uUqIdUwSfHSpXYnKxXOsnPC3Mowkv8UIGWWDxS/yzhWc7sOk1NmC7pb+Cg7G8NKj+Pp9qQZnXF39Dg95ZsxJrl6fyPFvTo3zf9CPG/fUM1CkkwIDAQAB"
}
}
}