Add validation during new project creation (1) (Add REST endpoint to query cloud service providers)

Created on 23 May 2023, over 1 year ago
Updated 25 May 2023, over 1 year ago

Problem/Motivation

  • When a tenant user is adding a new project to an existing tenant, we should validate if the project name exists in Cloud Orchestrator before letting the user continue. That way, we don't get duplicate cloud_context, which will cause problems in the system.
  • To do so, we need to add the following
    • REST API endpoint to facade_remote_worker to see if a cloud service provider exists with a given name.
    • When the user submits the Add Project form, make a call to the API and see if the project name exists.
โœจ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States baldwinlouie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @baldwinlouie
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States baldwinlouie
  • @baldwinlouie opened merge request.
  • Status changed to Needs review over 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States baldwinlouie

    @yas, please review this patch. It does the following

    - Added API endpoint for querying a Cloud Service Provider by name. This will be needed to check if a cloud service provider already exists.
    - Corrected `dependency` declaration in configuration files. The adjustment will let Drupal properly clean up the configurations if `facade_remote_worker` is uninstalled.
    - Slightly tweaked CFn template to launch 6.x version of Cloud Orchestrator properly. Make a couple of tweaks so that the 6.x version of Cloud Orchestrator can be deployed using Facade.

  • Status changed to RTBC over 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States yas California ๐Ÿ‡บ๐Ÿ‡ธ

    @baldwinlouie

    Thank you for the patch. I'll merge the patch to 1.0.x, and close this issue as Fixed.

  • Status changed to Fixed over 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States yas California ๐Ÿ‡บ๐Ÿ‡ธ
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024