Skip to content

Commit 34da18b

Browse files
Update config
1 parent 1958548 commit 34da18b

File tree

3 files changed

+19
-15
lines changed

3 files changed

+19
-15
lines changed

Import/OCM.Import.Manager.UI/app.config

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<configSections>
44
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@@ -31,4 +31,10 @@
3131
</setting>
3232
</Import.Properties.Settings>
3333
</userSettings>
34+
<appSettings>
35+
<add key="GeolocationShapefilePath" value="C:\Temp\ocm\data\import\Shapefiles\World" />
36+
<add key="APIBaseUrl" value="https://api-01.openchargemap.io/v3" />
37+
<add key="ImportBasePath" value="C:\Temp\ocm\data\import" />
38+
39+
</appSettings>
3440
</configuration>

Import/OCM.Import.Manager.UI/appsettings.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,19 @@
99
"ImportSettings": {
1010
"APIBaseUrl": "https://api-01.openchargemap.io/v3",
1111
"ImportRunFrequencyMinutes": "1440",
12-
"ImportUserAPIKey": "D2CA3E70-9EF8-4A90-B86F-3FA8D47E521B",
1312
"EnabledImports": [
1413
"nobil.no",
1514
"mobie.pt",
1615
"chargepoints.dft.gov.uk",
1716
"afdc.energy.gov",
1817
"addenergie"
19-
2018
],
21-
"GeolocationShapefilePath": "bin/Debug/net6.0/Shapefiles/World",
22-
"TempFolderPath": "/tmp/",
23-
"ApiKeys": {
24-
25-
"nobil_no": "31865a2d34fa82abb76133cb01da7e9e",
26-
"afdc_energy_gov": "df771c4ffab663f91428bc63224c9e266357179d",
27-
"addenergie_le": "Gtrf67_21g_cEkP3",
28-
"addenergie_re": "EfDxsrgf_R5462Sz",
29-
"oplaadpalen": "tfAfThFzQcuFdjgqbX8yfrBJw"
30-
31-
}
19+
"GeolocationShapefilePath": "bin/Debug/net8.0-windows/Shapefiles/World",
20+
"TempFolderPath": "C:/temp/OCM",
21+
"KeyVaultUri": "",
22+
"KeyVaultTenantId": "",
23+
"KeyVaultClientId": "",
24+
"KeyVaultSecret": ""
3225
}
3326

3427
}

Import/OCM.Import.Worker/appsettings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"ImportSettings": {
1010
"APIBaseUrl": "https://api-01.openchargemap.io/v3",
1111
"ImportRunFrequencyMinutes": "30",
12-
"ImportUserAPIKey": "D2CA3E70-9EF8-4A90-B86F-3FA8D47E521B",
1312
"EnabledImports": [
1413
// working
1514
"toger",
@@ -30,4 +29,10 @@
3029
],
3130
"GeolocationShapefilePath": "bin/Debug/net8.0/Shapefiles/World",
3231
"TempFolderPath": "/tmp/",
32+
"KeyVaultUri": "",
33+
"KeyVaultTenantId": "",
34+
"KeyVaultClientId": "",
35+
"KeyVaultSecret": ""
36+
}
37+
3338
}

0 commit comments

Comments
 (0)