Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cumulative updates and changes as requested in CLOUD-2578, CLOUD-2564 and CLOUD-2694 #58

Open
wants to merge 21 commits into
base: pre-production
Choose a base branch
from

Conversation

mperniola
Copy link

  • When a deployment is deleted the record is not deleted from the orchestrator database but the status is updated to DELETE_COMPLETE; added the status "DELETED" to the resource record in the orchestrator (it is not deleted but the status is updated to DELETED)
  • Admin has now the ability to delete and view logs of all deployments who belong to his group. (CLOUD_2578, CLOUD_2564).
  • The deployment failure logs contain information about all errors on all providers. (CLOUD_2694)

giosava94 and others added 14 commits January 28, 2025 11:20
* Integration of the Federation Registry service into Orchestrator (#25)

* Added some dto classes (Quota, BlockStorageQuota, ComputeQuota, NetworkQuota, Project, Provider, Service, Sla, UserGroup) for the fedreg

* Added small fixes on files prevously added

* Fix date type

* Added Flavor, Image, Network, Region dto classes and adjusted Project, Service, Sla to support the objects returned from project API

* Add AuthMethod dto e fix related dtos to include it

* First attempt to use fedreg apis to populate classes

* Remove skip certificate verification and change fed-reg url

* First working version of remap function for slamPreferences with only preferences

* add usage attribute in Quota class and use it in remapAttributes function

* Completed the part of creation of a list of services in slamPreferences

* Completed sla element and so also slamPreferences

* Start working for CMDB replacement

* Implemented remap for cloudProvider and ComputeService

* Fixes for CMDB remap function

* Clean Slam and CMDB and update the filter

* Adapted the code to introduce the Identity Service

* Cleaned SlamServiceV2 and the remapAttributesForPreferences function

* Set identityServices as a list os Services

* Cleaned SlamServiceV2 and added comments

* cleaned CmdbServiceV2Impl class and improved code integrating jacoco suggestions

* change error printing into LOG.error

* remove comment about casting in remapAttributesForSla

* fix IAM clients and S3 buckets creation when deployment fails in a provider

* Fix log messages when find an IAM client and S3 bucket node and when skipping their creation

* set CloudProvider Name correctly in deployment info stored in database

* add region info of the cloudProvider to be returned in deployment info

* adapted orchestrator to accept cloudServices of oject-store type from fedreg

* Fix getCMDBDataUpdate function (#52)

* chore: Add new function to update deployment

* Formatting code

* Fix errors after jacoco verify

* fix region name in request to fedreg

* change Jenkins worker to 01

---------

Co-authored-by: Luca Giommi <[email protected]>

* add handling region in slaPlacementPolicies (#53)

* Update pom.xml

---------

Co-authored-by: Luca Giommi <[email protected]>
* Fix privateNetworkProxyUser parameter in ComputeService

* Update network object and use proper network in the cmdb phase
@mperniola mperniola changed the title Cumulative updates and changes as requested in CLOUD-2578, CLOUD-2564 e CLOUD-2694 Cumulative updates and changes as requested in CLOUD-2578, CLOUD-2564 and CLOUD-2694 Feb 26, 2025
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
41.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants