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

Inconsistency in handling non-versioned custom forms #342

Closed
sugeeshC opened this issue Jul 17, 2024 · 3 comments
Closed

Inconsistency in handling non-versioned custom forms #342

sugeeshC opened this issue Jul 17, 2024 · 3 comments
Labels
area/artifact-manager Relates to the `artifact-manager` maven module lang/java Related to Java Code triage/needed Needs to be discussed by project maintainers

Comments

@sugeeshC
Copy link
Contributor

sugeeshC commented Jul 17, 2024

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

  • Build Tools for VMware Aria Version: 2.38.0

Server

  • vRealize Automation Version: 8.16.0.3369

Related Discussion

related discussion

Additional Context

This is when pulling and pushing to the SAME environment.

@sugeeshC sugeeshC added area/artifact-manager Relates to the `artifact-manager` maven module triage/needed Needs to be discussed by project maintainers labels Jul 17, 2024
@sugeeshC
Copy link
Contributor Author

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"
  }

Copy link

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.

@github-actions github-actions bot added the Stale label Aug 17, 2024
@Michaelpalacce Michaelpalacce added lang/java Related to Java Code and removed Stale labels Aug 20, 2024
@Rehiq
Copy link
Contributor

Rehiq commented Sep 17, 2024

The tool itself is primarily made to be used with production version or to push the content and for the content to be usable in production - releases versions of Cloud templates of type Blueprint and Custom Forms, if any.
The functionality is deliberately done in such a manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifact-manager Relates to the `artifact-manager` maven module lang/java Related to Java Code triage/needed Needs to be discussed by project maintainers
Projects
None yet
Development

No branches or pull requests

4 participants