Skip to content

Commit 07a8fdf

Browse files
committed
Revert "feat: update configuration parameters for azure integration"
This reverts commit 22eda8e.
1 parent 0bb93f6 commit 07a8fdf

3 files changed

Lines changed: 32 additions & 51 deletions

File tree

backend/src/main/java/com/park/utmstack/domain/application_modules/factory/impl/ModuleAzure.java

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,45 @@ public List<ModuleRequirement> checkRequirements(Long serverId) throws Exception
4141
public List<ModuleConfigurationKey> getConfigurationKeys(Long groupId) throws Exception {
4242
List<ModuleConfigurationKey> keys = new ArrayList<>();
4343

44-
// workspaceId
44+
// eventHubConnection
4545
keys.add(ModuleConfigurationKey.builder()
46-
.withGroupId(groupId)
47-
.withConfKey("workspaceId")
48-
.withConfName("Workspace ID")
49-
.withConfDescription("Azure Log Analytics Workspace ID")
50-
.withConfDataType("text")
51-
.withConfRequired(true)
52-
.build());
46+
.withGroupId(groupId)
47+
.withConfKey("eventHubConnection")
48+
.withConfName("Event Hub Shared access policies - Connection string")
49+
.withConfDescription("Configure the event hub connection")
50+
.withConfDataType("text")
51+
.withConfRequired(true)
52+
.build());
5353

54-
// clientId
54+
// consumerGroup
5555
keys.add(ModuleConfigurationKey.builder()
56-
.withGroupId(groupId)
57-
.withConfKey("clientId")
58-
.withConfName("Application (client) ID")
59-
.withConfDescription("Azure AD Application (client) ID")
60-
.withConfDataType("text")
61-
.withConfRequired(true)
62-
.build());
56+
.withGroupId(groupId)
57+
.withConfKey("consumerGroup")
58+
.withConfName("Consumer Group Name")
59+
.withConfDescription("Configure the consumer group")
60+
.withConfDataType("text")
61+
.withConfRequired(true)
62+
.build());
6363

64-
// tenantId
64+
// storageContainer
6565
keys.add(ModuleConfigurationKey.builder()
66-
.withGroupId(groupId)
67-
.withConfKey("tenantId")
68-
.withConfName("Directory (tenant) ID")
69-
.withConfDescription("Azure Active Directory (tenant) ID")
70-
.withConfDataType("text")
71-
.withConfRequired(true)
72-
.build());
66+
.withGroupId(groupId)
67+
.withConfKey("storageContainer")
68+
.withConfName("Storage Container Name")
69+
.withConfDescription("Configure the storage container")
70+
.withConfDataType("text")
71+
.withConfRequired(true)
72+
.build());
7373

74-
// clientSecret
74+
// storageConnection
7575
keys.add(ModuleConfigurationKey.builder()
76-
.withGroupId(groupId)
77-
.withConfKey("clientSecret")
78-
.withConfName("Client Secret Value")
79-
.withConfDescription("Azure AD Application Client Secret")
80-
.withConfDataType("text")
81-
.withConfRequired(true)
82-
.build());
83-
76+
.withGroupId(groupId)
77+
.withConfKey("storageConnection")
78+
.withConfName("Storage account connection string with key")
79+
.withConfDescription("Configure the storage connection")
80+
.withConfDataType("text")
81+
.withConfRequired(true)
82+
.build());
8483
return keys;
8584
}
8685
}

backend/src/main/resources/config/liquibase/changelog/20250604001_udpate_azure_config.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

backend/src/main/resources/config/liquibase/master.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,6 @@
224224

225225
<include file="/config/liquibase/changelog/20250528003_insert_filter_aws.xml" relativeToChangelogFile="false"/>
226226

227-
<include file="/config/liquibase/changelog/20250604001_udpate_azure_config.xml" relativeToChangelogFile="false"/>
228-
229227
<include file="/config/liquibase/changelog/20250605001_update_typos_config_report_status _values.xml" relativeToChangelogFile="false"/>
230228

231229
<include file="/config/liquibase/changelog/202505230001_utm_response_action_template.xml" relativeToChangelogFile="false"/>

0 commit comments

Comments
 (0)