Skip to content

Commit a162485

Browse files
committed
Revert "feat: update configuration parameter for azure integration"
This reverts commit 5d98bb2.
1 parent 07a8fdf commit a162485

7 files changed

Lines changed: 5 additions & 108 deletions

File tree

frontend/src/app/app-module/app-module-view/app-module-view.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import {UtmServerType} from '../shared/type/utm-server.type';
1616
@Component({
1717
selector: 'app-app-module-view',
1818
templateUrl: './app-module-view.component.html',
19-
styleUrls: ['./app-module-view.component.scss']
19+
styleUrls: ['./app-module-view.component.scss'],
20+
changeDetection: ChangeDetectionStrategy.OnPush
2021
})
2122
export class AppModuleViewComponent implements OnInit, OnDestroy {
2223
modules: UtmModuleType[];

frontend/src/app/app-module/guides/guide-azure/azure.steps.ts

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

frontend/src/app/app-module/guides/guide-azure/guide-azure.component.html

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ <h4 class="card-title mb-0 text-primary">
55
</h4>
66
</div>
77
<div class="card-body">
8-
<!--<ol class="setup_list">
8+
<ol class="setup_list">
99
<li>
1010
<p class="step-guide">
1111
<span class="step_number">1</span>
@@ -166,38 +166,6 @@ <h4 class="card-title mb-0 text-primary">
166166
[serverId]="serverId">
167167
</app-app-module-activate-button>
168168
</li>
169-
</ol>-->
170-
<ol class="setup_list">
171-
<app-utm-list [items]="steps">
172-
<ng-template stepTemplateRef let-step>
173-
<li>
174-
<app-step>
175-
<span stepNumber>{{step.id}}</span>
176-
<div [innerHtml]="step.name"></div>
177-
<ng-container *ngIf="step.content">
178-
179-
180-
<ng-template [ngIf]="step.content.id === 'stepContent7'">
181-
<app-int-generic-group-config [moduleId]="integrationId"
182-
(configValidChange)="configValidChange($event)"
183-
[serverId]="serverId"></app-int-generic-group-config>
184-
</ng-template>
185-
186-
<ng-template [ngIf]="step.content.id === 'stepContent8'">
187-
<div class="mt-3">
188-
<app-app-module-activate-button [module]="module.AZURE"
189-
[disabled]="configValidity"
190-
[type]="'integration'" class="mt-3"
191-
[serverId]="serverId">
192-
</app-app-module-activate-button>
193-
</div>
194-
</ng-template>
195-
196-
</ng-container>
197-
</app-step>
198-
</li>
199-
</ng-template>
200-
</app-utm-list>
201169
</ol>
202170
</div>
203171
</div>
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

frontend/src/app/app-module/guides/guide-azure/guide-azure.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {Component, Input, OnInit} from '@angular/core';
22
import {UtmModulesEnum} from '../../shared/enum/utm-module.enum';
3-
import {AZURE_STEPS} from './azure.steps';
43

54
@Component({
65
selector: 'app-guide-azure',
@@ -12,7 +11,6 @@ export class GuideAzureComponent implements OnInit {
1211
module = UtmModulesEnum;
1312
@Input() serverId: number;
1413
configValidity: boolean;
15-
steps = AZURE_STEPS;
1614

1715
constructor() {
1816
}
@@ -24,4 +22,5 @@ export class GuideAzureComponent implements OnInit {
2422
this.configValidity = !$event;
2523
}
2624

25+
2726
}

frontend/src/app/app-module/shared/type/utm-module.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {DataType} from '../../../rule-management/models/rule.model';
21
import {UtmModulesEnum} from '../enum/utm-module.enum';
32
import {UtmModuleGroupType} from './utm-module-group.type';
3+
import {DataType} from '../../../rule-management/models/rule.model';
44

55
export class UtmModuleType {
66
configGroups: UtmModuleGroupType;

frontend/src/styles.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,12 +1367,6 @@ app-logstash-pipelines{
13671367
border-radius: 0.75rem !important;
13681368
}
13691369

1370-
app-step {
1371-
a {
1372-
color: #007bff;
1373-
}
1374-
}
1375-
13761370

13771371

13781372

0 commit comments

Comments
 (0)