-
Notifications
You must be signed in to change notification settings - Fork 22
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
[artifact-manager] [archetypes/vra] (#210) Cloud Template folder name and the name from details.json mismatch issue fixed in vRA #300
Conversation
Signed-off-by: sugeesh chandraweera <csugeesh@vmware.com>
Signed-off-by: sugeesh chandraweera <csugeesh@vmware.com>
Please note that, this fix is applying only when, we have a 'blueprint folder' named as in the project 'content.yaml'. eg -
content.yaml
blueprints/Test-1/details.json
content.yaml
blueprints/Test-2/details.json
For the second scenario, this is the existing behavior as well. |
...act-manager/src/main/java/com/vmware/pscoe/iac/artifact/store/vrang/VraNgBlueprintStore.java
Show resolved
Hide resolved
Signed-off-by: sugeesh chandraweera <csugeesh@vmware.com>
...act-manager/src/main/java/com/vmware/pscoe/iac/artifact/store/vrang/VraNgBlueprintStore.java
Show resolved
Hide resolved
...act-manager/src/main/java/com/vmware/pscoe/iac/artifact/store/vrang/VraNgBlueprintStore.java
Show resolved
Hide resolved
Signed-off-by: sugeesh chandraweera <csugeesh@vmware.com>
@sugeeshC, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
1 similar comment
@sugeeshC, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
Signed-off-by: sugeesh chandraweera <csugeesh@vmware.com>
b615015
to
17ed27e
Compare
@sugeeshC, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
1 similar comment
@sugeeshC, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
Description
Cloud Template folder name and details.json->name mismatch issue fixed.
Previous Behavior
Current Behavior
When Cloud-Template folder name and details.json->name mismatch, now an error throwing explaining the mismatch.
details.json->name is now used for both validating and creating/updating cloud template on the server.
Checklist
Fixed #XXX -
orClosed #XXX -
prefix to auto-close the issueTesting
1.) Create vra 8 project using build-tools-for-vmware-aria.
2.) Create blueprint folder(Test-Blueprint-1) and content.yaml, details.json files accordingly.
3.) Add the blueprint folder name(Test-Blueprint-1) in project content.yaml.
4.) Change the details.json->name value into different from blueprint folder name. (Test-Blueprint-2)
5.) Push project to vra server.
Release Notes
[artifact-manager] (#210) Cloud Template folder name and details.json->name mismatch issue fixed in vra.
Related issues and PRs
Closed #210
Additional Notes
Please note that, this fix is applying only when, we have a 'blueprint folder' named as in the project 'content.yaml'.
Examples
content.yaml
blueprints/Test-1/details.json
content.yaml
blueprints/Test-2/details.json
For the second scenario, this is the current behavior as well.