Skip to content

Commit

Permalink
merge: pull request #14179 from ovh/release/hycu
Browse files Browse the repository at this point in the history
New release - HYCU
  • Loading branch information
anooparveti authored Nov 20, 2024
2 parents ca43a88 + cafbeb3 commit d0628d9
Show file tree
Hide file tree
Showing 176 changed files with 5,055 additions and 459 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ export function useAuthorizationIam(
const { data, ...query } = useQuery({
queryKey: [urn, actions],
queryFn: () => fetchAuthorizationCheck(actions, urn),
enabled:
enabled: Boolean(
urn && urn.length > 0 && actions && actions.length > 0 && isTrigger,
),
placeholderData: keepPreviousData,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default function HostedPrivateCloudSidebar() {
id: 'hpc-storage-backup',
label: t('sidebar_storage_backup'),
icon: <img className="mb-1 mr-1 w-6 aspect-square" alt="" src={infinityCLoud} />,
pathMatcher: new RegExp('^/hycu|/veeam-backup'),
pathMatcher: new RegExp('^/(hycu|veeam-backup)'),
badge: 'new',
subItems: [
(feature['veeam-backup']) && {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"manager_hub_products_LICENSE_VIRTUOZZO": "Licences Virtuozzo",
"manager_hub_products_LICENSE_WORKLIGHT": "Licences Worklight",
"manager_hub_products_LICENSE_SQLSERVER": "Licences SQL Server",
"manager_hub_products_LICENSE_HYCU": "HYCU",
"manager_hub_products_LICENCE_WINDOWS": "Licences Windows",
"manager_hub_products_LICENCE_OFFICE": "Licences Office 365",
"manager_hub_products_LICENCE_CLOUD_LINUX": "Licences CloudLinux",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ export default function Products({ services }: ProductsProps) {
{product.count}
</OsdsChip>
</OsdsText>
{product.link && (
<Suspense
fallback={
<OsdsSkeleton inline size={ODS_SKELETON_SIZE.xs} />
}
>
<Await
resolve={product.link}
children={(link: string) => (
<Suspense
fallback={
<OsdsSkeleton inline size={ODS_SKELETON_SIZE.xs} />
}
>
<Await
resolve={product.link}
children={(link: string) =>
link ? (
<>
<OsdsLink
slot="actions"
Expand All @@ -137,10 +137,12 @@ export default function Products({ services }: ProductsProps) {
</span>
</OsdsLink>
</>
)}
/>
</Suspense>
)}
) : (
<></>
)
}
/>
</Suspense>
</div>
<div>
<ul
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ export const productListingPages: Record<
application: 'dedicated',
hash: '#/license',
},
LICENSE_HYCU: {
application: 'hycu',
hash: '#',
},
LICENSE_OFFICE: {
application: 'web',
hash: '#/office/license',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ describe('useProducts', () => {
},
);

await waitFor(() => {
expect(result.current.products[0].link).toBeNull();
await waitFor(async () => {
const link = await result.current.products[0].link;
expect(link).toBeNull();
});
});

Expand Down
1 change: 1 addition & 0 deletions packages/manager/apps/hycu/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
e2e/reports
e2e/coverage
coverage
12 changes: 9 additions & 3 deletions packages/manager/apps/hycu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
"start": "lerna exec --stream --scope='@ovh-ux/manager-hycu-app' --include-dependencies -- npm run build --if-present",
"start:dev": "lerna exec --stream --scope='@ovh-ux/manager-hycu-app' --include-dependencies -- npm run dev --if-present",
"start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-hycu-app' --include-dependencies -- npm run dev:watch --if-present",
"test": "vitest run"
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@ovh-ux/manager-config": "^8.0.0",
"@ovh-ux/manager-core-api": "^0.9.0",
"@ovh-ux/manager-core-utils": "*",
"@ovh-ux/manager-react-components": "^1.41.1",
"@ovh-ux/manager-module-order": "^0.7.1",
"@ovh-ux/manager-react-components": "^1.41.2",
"@ovh-ux/manager-react-core-application": "^0.11.1",
"@ovh-ux/manager-react-shell-client": "^0.8.1",
"@ovh-ux/manager-tailwind-config": "*",
Expand All @@ -39,24 +41,28 @@
"i18next-http-backend": "^2.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.53.1",
"react-i18next": "^14.0.5",
"react-router-dom": "^6.3.0",
"tailwindcss": "^3.4.4"
},
"devDependencies": {
"@cucumber/cucumber": "^10.3.1",
"@ovh-ux/manager-vite-config": "^0.8.2",
"@ovh-ux/url-builder": "^1.3.0-alpha.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.13",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/coverage-v8": "^2.1.3",
"element-internals-polyfill": "^1.3.12",
"eslint-plugin-prettier": "^5.2.1",
"msw": "2.1.7",
"typescript": "^5.1.6",
"vite": "^5.2.13",
"vitest": "^2.1.2"
"vitest": "^2.1.3"
},
"regions": [
"CA",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Vereinfachen Sie die Backups, Disaster-Recovery-Pläne und Migrationen Ihrer Nutanix-Infrastruktur. Dieser Dienst bietet verschiedene HYCU Hybrid Cloud-Lizenzpakete zum Schutz Ihrer Nutanix-Workloads.",
"hycu_cloud_vm_pack_unknown": "Unbekanntes Paket"
"hycu_description": "Vereinfachen Sie die Backups, Disaster-Recovery-Pläne und Migrationen Ihrer Nutanix-Infrastruktur. Dieser Dienst bietet verschiedene Lizenzpakete der HYCU R-Cloud Hybrid Cloud Edition zum Schutz Ihrer Nutanix-Workloads.",
"hycu_cloud_vm_pack_unknown": "Unbekanntes Paket",
"hycu_status_active": "Aktiv",
"hycu_status_toActivate": "Zu aktivieren",
"hycu_status_processing": "Wird aktiviert",
"hycu_status_error": "Aktivierungsfehler",
"hycu_cta_cancel": "Abbrechen",
"hycu_cta_order": "Bestellen",
"hycu_cta_done": "Beenden",
"common_iam_actions_message": "Sie sind nicht berechtigt, diese Aktion auszuführen. Wenden Sie sich an Ihren Administrator."
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Simplify your backups, disaster recovery plans, and migrations for your Nutanix infrastructure. This service offers different Hybrid Cloud HYCU license packs to protect your Nutanix workloads.",
"hycu_cloud_vm_pack_unknown": "Unknown pack"
"hycu_description": "Simplify your backups, disaster recovery plans, and migrations for your Nutanix infrastructure. This service offers different HYCU R-Cloud Hybrid Cloud Edition licence packs to protect your Nutanix workloads.",
"hycu_cloud_vm_pack_unknown": "Unknown pack",
"hycu_status_active": "Active",
"hycu_status_toActivate": "Enabling required",
"hycu_status_processing": "Enabling...",
"hycu_status_error": "Activation error",
"hycu_cta_cancel": "Cancel",
"hycu_cta_order": "Order",
"hycu_cta_done": "Finish",
"common_iam_actions_message": "You do not have the necessary permissions to perform this action, please contact your administrator"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Simplifique sus copias de seguridad, planes de recuperación ante desastres y migraciones de su infraestructura Nutanix. Este servicio le ofrece diferentes packs de licencias HYCU Hybrid Cloud para proteger sus cargas de trabajo Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack desconocido"
"hycu_description": "Simplifique sus copias de seguridad, planes de recuperación ante desastres y migraciones de su infraestructura Nutanix. Este servicio ofrece diferentes packs de licencias HYCU R-Cloud Hybrid Cloud Edition para proteger sus cargas de trabajo Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack desconocido",
"hycu_status_active": "Activo",
"hycu_status_toActivate": "Pendiente de activar",
"hycu_status_processing": "En proceso de activación",
"hycu_status_error": "Error de activación",
"hycu_cta_cancel": "Cancelar",
"hycu_cta_order": "Contratar",
"hycu_cta_done": "Finalizar",
"common_iam_actions_message": "Si no dispone de los permisos necesarios para realizar esta acción, póngase en contacto con su administrador."
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Simplifiez vos sauvegardes, plans de reprise après sinistre et migrations de votre infrastructure Nutanix. Ce service vous propose différents packs de licences HYCU Hybrid Cloud pour protéger vos charges de travail Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack inconnu"
"hycu_description": "Simplifiez vos sauvegardes, plans de reprise après sinistre et migrations de votre infrastructure Nutanix. Ce service vous propose différents packs de licences HYCU R-Cloud Hybrid Cloud Edition pour protéger vos charges de travail Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack inconnu",
"hycu_status_active": "Active",
"hycu_status_toActivate": "À activer",
"hycu_status_processing": "En cours d'activation",
"hycu_status_error": "Erreur d'activation",
"hycu_cta_cancel": "Annuler",
"hycu_cta_order": "Commander",
"hycu_cta_done": "Terminer",
"common_iam_actions_message": "Vous ne disposez pas des permissions nécessaires pour effectuer cette action, veuillez contacter votre administrateur"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Simplifiez vos sauvegardes, plans de reprise après sinistre et migrations de votre infrastructure Nutanix. Ce service vous propose différents packs de licences HYCU Hybrid Cloud pour protéger vos charges de travail Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack inconnu"
"hycu_description": "Simplifiez vos sauvegardes, plans de reprise après sinistre et migrations de votre infrastructure Nutanix. Ce service vous propose différents packs de licences HYCU R-Cloud Hybrid Cloud Edition pour protéger vos charges de travail Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack inconnu",
"hycu_status_active": "Active",
"hycu_status_toActivate": "À activer",
"hycu_status_processing": "En cours d'activation",
"hycu_status_error": "Erreur d'activation",
"hycu_cta_cancel": "Annuler",
"hycu_cta_order": "Commander",
"hycu_cta_done": "Terminer",
"common_iam_actions_message": "Vous ne disposez pas des permissions nécessaires pour effectuer cette action, veuillez contacter votre administrateur"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Semplifica i tuoi backup, piani di disaster recovery e migrazioni dell'infrastruttura Nutanix. Questo servizio propone diversi pacchetti di licenze HYCU Hybrid Cloud per proteggere i tuoi carichi di lavoro Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack sconosciuto"
"hycu_description": "Semplifica i tuoi backup, piani di disaster recovery e migrazioni dell'infrastruttura Nutanix. Questo servizio propone diversi pack di licenze HYCU R-Cloud Hybrid Cloud Edition per proteggere i tuoi carichi di lavoro Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack sconosciuto",
"hycu_status_active": "Attivo",
"hycu_status_toActivate": "Da attivare",
"hycu_status_processing": "Attivazione in corso...",
"hycu_status_error": "Errore di attivazione",
"hycu_cta_cancel": "Annullare",
"hycu_cta_order": "Ordinare",
"hycu_cta_done": "Terminare",
"common_iam_actions_message": "Non disponi dei permessi necessari per effettuare questa azione, contatta l'amministratore."
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Uprość tworzenie kopii zapasowych, odzyskiwanie danych po awarii i migrację infrastruktury Nutanix. Usługa ta zawiera różne pakiety licencji HYCU Hybrid Cloud, które chronią obciążenia Nutanix.",
"hycu_cloud_vm_pack_unknown": "Nieznany pakiet"
"hycu_description": "Uprość tworzenie kopii zapasowych, odzyskiwanie danych po awarii i migrację infrastruktury Nutanix. Usługa zawiera różne pakiety licencji HYCU R-Cloud Hybrid Cloud Edition przeznaczone do ochrony obciążeń Nutanix.",
"hycu_cloud_vm_pack_unknown": "Nieznany pakiet",
"hycu_status_active": "Aktywny",
"hycu_status_toActivate": "Do aktywacji",
"hycu_status_processing": "Trwa aktywacja",
"hycu_status_error": "Błąd aktywacji",
"hycu_cta_cancel": "Anuluj",
"hycu_cta_order": "Zamów",
"hycu_cta_done": "Zakończ",
"common_iam_actions_message": "Nie masz wystarczających uprawnień, aby wykonać tę operację. Skontaktuj się z administratorem"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"hycu_crumb": "HYCU",
"tabs_2": "Tabs 2",
"hycu_description": "Simplifique backups, planos de recuperação de desastres e migrações da sua infraestrutura Nutanix. Este serviço disponibiliza diferentes pacotes de licenças HYCU Hybrid Cloud para proteger as suas cargas de trabalho Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack desconhecido"
"hycu_description": "Simplifique backups, planos de recuperação de desastres e migrações da sua infraestrutura Nutanix. Este serviço propõe-lhe diferentes packs de licenças HYCU R-Cloud Hybrid Cloud Edition para proteger as suas cargas de trabalho Nutanix.",
"hycu_cloud_vm_pack_unknown": "Pack desconhecido",
"hycu_status_active": "Ativo",
"hycu_status_toActivate": "A ativar",
"hycu_status_processing": "Ativação em curso",
"hycu_status_error": "Erro de ativação",
"hycu_cta_cancel": "Anular",
"hycu_cta_order": "Encomendar",
"hycu_cta_done": "Concluir",
"common_iam_actions_message": "Não tem as permissões necessárias para efetuar esta ação, contacte o seu administrador."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"hycu_dashboard_generals_informations_title": "Allgemeine Informationen",
"hycu_dashboard_label_name": "Name",
"hycu_dashboard_label_status": "Status",
"hycu_dashboard_label_pack_type": "Paket-Typ",
"hycu_dashboard_label_controller_id": "Controller-ID",
"hycu_dashboard_label_license_key": "Lizenzschlüssel",
"hycu_dashboard_shortcuts_title": "Shortcuts",
"hycu_dashboard_link_activate": "Lizenz aktivieren",
"hycu_dashboard_link_regenerate": "Lizenz neu generieren",
"hycu_dashboard_link_terminate": "Lizenz kündigen",
"hycu_dashboard_link_change_pack_type": "Pakettyp ändern",
"hycu_dashboard_field_label_contacts": "Kontakte",
"hycu_dashboard_contact_type_administrator": "Administrator",
"hycu_dashboard_contact_type_technical": "Technisch",
"hycu_dashboard_contact_type_billing": "Abrechnung",
"hycu_dashboard_action_billing_terminate": "Kündigen",
"hycu_dashboard_field_label_manage_contacts": "Kontakte verwalten",
"hycu_dashboard_label_renew": "Automatische Verlängerung",
"hycu_dashboard_subscription_title": "Abonnement",
"hycu_dashboard_field_label_date_creation": "Erstellungsdatum",
"hycu_dashboard_download_license_file": "Lizenz herunterladen",
"hycu_dashboard_back_link": "Zurück zur Liste",
"hycu_dashboard_wait_for_activation": "Warten auf Aktivierung",
"hycu_dashboard_license_activate_heading": "Lizenz aktivieren",
"hycu_dashboard_license_activate_description": "Bitte übermitteln Sie Ihre Lizenzanforderungsdatei. Diese Datei kann nach der Installation über Ihren HYCU-Controller heruntergeladen werden",
"hycu_dashboard_license_more_information_link": "(weitere Informationen finden Sie hier).",
"hycu_dashboard_activation_license_success_message": "Die Anfrage zur Aktivierung Ihrer Lizenz wurde registriert. Ihre Lizenzdatei wird in Kürze auf diesem Interface verfügbar sein und Ihnen auch per E-Mail zugesandt.",
"hycu_dashboard_regenerate_success_message": "Die Anfrage zur Erneuerung Ihrer Lizenz wurde registriert. Ihre Lizenzdatei wird in Kürze auf diesem Interface verfügbar sein und Ihnen auch per E-Mail zugesandt.",
"hycu_dashboard_activation_license_error_message": "Bei der Einreichung Ihrer Lizenz ist ein Fehler aufgetreten: {{error}}.",
"hycu_dashboard_regenerate_error_message": "Bei der Einreichung Ihrer Lizenz ist ein Fehler aufgetreten.",
"hycu_dashboard_license_regenerate_heading": "Lizenz neu generieren",
"hycu_dashboard_license_regenerate_description": "Wenn sich Ihre technische HYCU-Umgebung geändert hat, müssen Sie eine neue Lizenzdatei anfordern, die mit Ihrem HYCU-Controller kompatibel ist. Bitte übermitteln Sie Ihre neue Lizenzanforderungsdatei. Mit dieser Aktion erklären Sie sich außerdem damit einverstanden, die zuvor bereitgestellte Lizenzdatei nicht mehr zu verwenden.",
"hycu_dashboard_license_upload": "Upload",
"hycu_dashboard_regenerate_upload_confirm": "Neu generieren",
"hycu_dashboard_upload_cancel": "Abbrechen",
"hycu_dashboard_upload_confirm": "Aktivieren",
"hycu_dashboard_upload_file_too_big": "Die Datei darf nicht größer als 1 MB sein.",
"hycu_dashboard_upload_file_bad_type": "Die bereitgestellte Datei ist keine{{extension}}-Datei.",
"hycu_dashboard_upload_license_required": "Bitte wählen Sie eine Lizenz aus.",
"hycu_dashboard_drag_and_drop_attachment": "Anhang ziehen und ablegen",
"hycu_dashboard_accepted_formats": "Akzeptiertes Format: {{extension}}",
"hycu_dashboard_browse": "Durchsuchen",
"hycu_dashboard_update_display_name_modal_headline": "Namen ändern",
"hycu_dashboard_update_display_name_input_label": "Name",
"hycu_dashboard_update_display_name_pattern_message": "Bitte verwenden Sie nur Buchstaben ohne Akzent und die folgenden Sonderzeichen:! @ # $ % ^ &amp; * ( ) - _ + = [ ] { } ; : , . ? (auf 36 Zeichen begrenzt).",
"hycu_dashboard_update_display_name_success": "Die Beschreibung wurde erfolgreich geändert.",
"hycu_dashboard_edit_modal_error": "Es ist ein Fehler aufgetreten: {{error}}.",
"hycu_dashboard_error_license_message": "Bei der Aktivierung Ihrer Lizenz ist ein Fehler aufgetreten ({{error}}). Bitte überprüfen Sie Ihre Angaben und versuchen Sie es erneut. Sollte das Problem weiterhin bestehen, kontaktieren Sie bitte unseren Support.",
"hycu_dashboard_warning_license_suspended_message": "Der Dienst wurde gekündigt."
}
Loading

0 comments on commit d0628d9

Please sign in to comment.