Skip to content

Commit d044533

Browse files
Merge branch 'develop' into issue_3145
2 parents efe4973 + 4913432 commit d044533

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

roles/lib/files/FWO.Api.Client/APIcalls/config/subscribeImportAppDataConfigChanges.graphql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
subscription subscribeImportAppDataConfigChanges {
1+
subscription subscribeImportAppDataConfigChanges {
22
config (where: { _or: [
33
{config_key: {_eq: "importAppDataSleepTime"}},
44
{config_key: {_eq: "importAppDataStartAt"}},
@@ -8,7 +8,8 @@
88
{config_key: {_eq: "ownerLdapId"}},
99
{config_key: {_eq: "modNamingConvention"}},
1010
{config_key: {_eq: "dnsLookup"}},
11-
{config_key: {_eq: "overwriteExistingNames"}}
11+
{config_key: {_eq: "overwriteExistingNames"}},
12+
{config_key: {_eq: "autoReplaceAppServer"}}
1213
]}){
1314
config_key
1415
config_value

roles/middleware/files/FWO.Middleware.Server/AppDataImport.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public async Task<bool> Run()
5353
List<string> importfilePathAndNames = JsonSerializer.Deserialize<List<string>>(globalConfig.ImportAppDataPath) ?? throw new Exception("Config Data could not be deserialized.");
5454
userConfig = new(globalConfig);
5555
userConfig.User.Name = Roles.MiddlewareServer;
56+
userConfig.AutoReplaceAppServer = globalConfig.AutoReplaceAppServer;
5657
await InitLdap();
5758
foreach (var importfilePathAndName in importfilePathAndNames)
5859
{

0 commit comments

Comments
 (0)