Wizard: Add services to on-prem mapper

This adds services to on-prem mapper.
This commit is contained in:
regexowl 2025-01-28 10:28:11 +01:00 committed by Klara Simickova
parent 608b0f1593
commit 9e4cd302b5
2 changed files with 10 additions and 0 deletions

View file

@ -174,6 +174,7 @@ export const mapOnPremToHosted = (
}
: undefined,
firewall: blueprint.customizations?.firewall || undefined,
services: blueprint.customizations?.services || undefined,
},
metadata: {
parent_id: null,

View file

@ -427,5 +427,14 @@ describe('Import modal', () => {
// check enabled services
await screen.findByText('ftp');
await screen.findByText('ntp');
// Services
await clickNext();
await screen.findByText('sshd');
await screen.findByText('cockpit.socket');
await screen.findByText('httpd');
await screen.findByText('postfix');
await screen.findByText('telnetd');
await screen.findByText('rpcbind');
}, 20000);
});