-
-
- mdi-chevron-left
- {{ $t('global.navigation.back') }}
-
-
@@ -104,17 +94,3 @@ export default Vue.extend({
},
});
-
-
diff --git a/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerDetails.vue b/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerDetails.vue
index 22b549738e..6022f7fb3f 100644
--- a/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerDetails.vue
+++ b/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerDetails.vue
@@ -73,20 +73,89 @@
:info-text="securityServer.registered"
data-test="security-server-registered"
/>
+
+
+
+ mdi-close-circle
+
+
+ {{ $t('securityServers.securityServer.deleteSecurityServer') }}
+ "{{ securityServer.serverCode }}"
+
+
+
+
+
+
+
+
+
+ {{
+ $t('securityServers.securityServer.deleteSecurityServer')
+ }}
+
+
+ {{
+ $t('securityServers.securityServer.areYouSure', {
+ serverCode: securityServer.serverCode,
+ })
+ }}
+
+
+
+
+
+
+
+
+ {{
+ $t('action.cancel')
+ }}
+ {{
+ $t('action.delete')
+ }}
+
+
+
+
@@ -148,4 +230,15 @@ export default Vue.extend({
width: 50px;
}
}
+
+.delete-action {
+ margin-top: 34px;
+ color: $XRoad-Link;
+ cursor: pointer;
+ display: flex;
+ flex-direction: row;
+ .action-text {
+ margin-top: 2px;
+ }
+}
diff --git a/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerManagementRequests.vue b/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerManagementRequests.vue
index 429299ccd7..fe48677f3e 100644
--- a/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerManagementRequests.vue
+++ b/src/centralserver/admin-ui/src/views/SecurityServers/SecurityServer/SecurityServerManagementRequests.vue
@@ -50,49 +50,79 @@ export default Vue.extend({
loading: false,
managementRequests: [
{
- id: '938726',
- created: '2021-02-01',
- type: 'change_owner',
- serverOwnerName: 'Tartu Kesklinna Perearstikeskus OÜ',
- serverOnwerId: 'DEV-333',
- serverCode: 'sidecar',
+ id: 13,
+ type: 'AUTH_CERT_REGISTRATION_REQUEST',
+ origin: 'CENTER',
+ server_owner_name: 'Tartu Kesklinna Perearstikeskus OÜ',
+ security_server_id: {
+ instance_id: 'DEV7X',
+ type: 'SERVER',
+ member_class: 'TST',
+ member_code: 'MEMBER1',
+ server_code: 'RH1',
+ },
status: 'APPROVED',
+ created_at: '2021-07-07T10:09:42.10186Z',
},
{
- id: '736287',
- created: '2021-05-05',
- type: 'delete_certificate',
- serverOwnerName: 'Eesti Põllumajandusloomade Jõudluskontrolli ASi',
- serverOnwerId: 'COM-777',
- serverCode: 'SS1',
+ id: 736287,
+ type: 'CLIENT_REGISTRATION_REQUEST',
+ origin: 'CENTER',
+ server_owner_name: 'Eesti Põllumajandusloomade Jõudluskontrolli ASi',
+ security_server_id: {
+ instance_id: 'DEV9X',
+ type: 'SERVER',
+ member_class: 'TST',
+ member_code: 'MEMBER22',
+ server_code: 'RH3',
+ },
status: 'REJECTED',
+ created_at: '2021-02-08T10:09:40.10186Z',
},
{
- id: '234234',
- created: '2021-03-12',
- type: 'delete_client',
- serverOwnerName: 'Helsingin kristillisen koulun kannatusyhdistys',
- serverOnwerId: 'COM-666',
- serverCode: 'SS2',
+ id: 64,
+ type: 'OWNER_CHANGE_REQUEST',
+ origin: 'CENTER',
+ server_owner_name: 'Helsingin kristillisen koulun kannatusyhdistys',
+ security_server_id: {
+ instance_id: 'OPP',
+ type: 'SERVER',
+ member_class: 'RAA',
+ member_code: 'MEMBER7',
+ server_code: 'X1',
+ },
status: 'PENDING',
+ created_at: '2021-03-11T10:09:40.10186Z',
},
{
- id: '987283',
- created: '2021-04-22',
- type: 'register_certificate',
- serverOwnerName: 'Siseministeerium',
- serverOnwerId: 'DEV-444',
- serverCode: 'SS2',
+ id: 112283,
+ type: 'CLIENT_DELETION_REQUEST',
+ origin: 'CENTER',
+ server_owner_name: 'Siseministeerium',
+ security_server_id: {
+ instance_id: 'WAP',
+ type: 'SERVER',
+ member_class: 'MOP',
+ member_code: 'MEM227',
+ server_code: 'K8',
+ },
status: 'APPROVED',
+ created_at: '2020-12-13T10:09:40.10186Z',
},
{
- id: '123235',
- created: '2021-01-21',
- type: 'register_client',
- serverOwnerName: 'Turvallisuus- ja kemikaalivirasto',
- serverOnwerId: 'COM-555',
- serverCode: 'dev-toolkit-confidential.i.x-road',
+ id: 947283,
+ type: 'AUTH_CERT_DELETION_REQUEST',
+ origin: 'CENTER',
+ server_owner_name: 'Turvallisuus- ja kemikaalivirasto',
+ security_server_id: {
+ instance_id: 'NEO',
+ type: 'SERVER',
+ member_class: 'AUS',
+ member_code: 'MEMBER9',
+ server_code: 'SR2',
+ },
status: 'PENDING',
+ created_at: '2020-12-13T10:09:40.10186Z',
},
],
};