vmware / build-tools-for-vmware-aria

Build Tools for VMware Aria provides development and release management tools for implementing automation solutions based on the VMware Aria Suite and VMware Cloud Director. The solution enables Virtual Infrastructure Administrators and Automation Developers to use standard DevOps practices for managing and deploying content.
Other
45 stars 21 forks source link

Inconsistency in handling non-versioned custom forms #342

Open sugeeshC opened 1 month ago

sugeeshC commented 1 month ago

Description

I attempted to reproduce the issue mentioned in this discussion using vRBT 2.38.0 and vRA version 8.16.0.3369. The original issue was reported on vRA version 8.16.2.

While I did not encounter the original error, there is a new inconsistency in how non-versioned custom forms are handled, as they are saved as versioned forms upon pushing. (Pulled non-versioned custom forms saving as versioned custom forms when pushing.)

Steps to Reproduce

  1. In vRA, create non-versioned custom form for cloud template based catalog item.
  2. Pull the custom form to the local using vRBT.
  3. Push the same, without changing anything.
  4. Go to vRA and check the custom form.

Expected behavior: Pulling and pushing the non-versioned custom form should be consistence.

Actual behavior: Pulled non-versioned custom forms saving as versioned custom forms when pushing.

Reproduces how often: 100%

Component/s: common/artifact-manager

Environment

Client

Server

Related Discussion

related discussion

Additional Context

This is when pulling and pushing to the SAME environment.

sugeeshC commented 1 month ago

After pulling the non-versioned custom form, removing following part from the catalog-items JSON file makes things consistent. So issue might be when pulling, adding this part on the catalog-items JSON file or when pushing, based on this field decide it is versioned or non-versioned form.

 "type": {
    "id": "com.vmw.blueprint"
  }
github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.