Skip to content

Commit

Permalink
(release) v2.42.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WWCoE CI admin committed Sep 13, 2024
1 parent 44e0bf2 commit 585505c
Show file tree
Hide file tree
Showing 142 changed files with 4,100 additions and 232 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'abx-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:abx-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:abx-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:abx-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:abx-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'o11n-actions-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'bsc-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:bsc-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:bsc-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:bsc-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:bsc-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'cs-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:cs-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:cs-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:cs-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:cs-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'o11n-polyglot-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-polyglot-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-polyglot-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-polyglot-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-polyglot-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'ssh-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:ssh-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:ssh-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:ssh-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:ssh-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'o11n-typescript-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-typescript-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-typescript-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-typescript-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-typescript-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'vcd-ng-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vcd-ng-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vcd-ng-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vcd-ng-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vcd-ng-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'vra-ng-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vra-ng-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'vra-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vra-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vra-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vra-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vra-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'vrealize-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vrealize-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'vrli-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vrli-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'vrops-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vrops-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vrops-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:vrops-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:vrops-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ERROR]
[ERROR] groupId: 'com.vmware.pscoe.maven.plugins'
[ERROR] artifactId: 'o11n-xml-package-maven-plugin'
[ERROR] version: '2.40.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-xml-package-maven-plugin:2.40.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-xml-package-maven-plugin:jar:2.40.1-SNAPSHOT
[ERROR] version: '2.41.1-SNAPSHOT': Plugin com.vmware.pscoe.maven.plugins:o11n-xml-package-maven-plugin:2.41.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.vmware.pscoe.maven.plugins:o11n-xml-package-maven-plugin:jar:2.41.1-SNAPSHOT
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Expand Down
170 changes: 0 additions & 170 deletions docs/versions/latest/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,176 +39,6 @@
[//]: # (Optional But higlhy recommended Specify *NONE* if missing)
[//]: # (#### Relevant Documentation:)

### *Exclude Javascript and Typescript test files during license header generation*

#### Previous Behavior

In most archetypes that generate projects with Javascript or Typescript code license headers are added for all `*.ts` and `*.js` files.

#### Current Behavior

All archetypes that generate projects with Javascript and Typescript code have exclusion rules that skip adding license headers for test files.

### *Re-enable license plugin `<excludes>` configuration inheritance through `pom.xml` property value*

#### Previous Behavior

License plugin `<excludes>` uses hardcoded value defined in the `base-package` -> `pom.xml`.

#### Current Behavior

The default value of license plugin's `<excludes>` configuration can be overwritten by providing `<license.excludes>` property in a projects `pom.xml` -> `<properties>` tag.

### Change default return Object of `Array.from()` Method to be empty array

#### Previous Behavior

In case the object type of the array-like Object does not match any of the expected types (e.g. is a Number) the default case of `Array.from()` returns a clone of the object. This does not match the desired behaviour according to the official documentation.

```js
Array.from(10) // Output: 10
```

#### Current Behavior
In case the object type of the array-like Object does not match any of the expected types (e.g. is a Number) the default case of `Array.from()` returns an empty array.

```js
Array.from(10) // Output: []
```

### *VROES.import from invalid package throws Unknown error*

Fixed an issue with VROES.import() in ecmascript Module.

#### Previous Behavior

VROES import from an invalid module path resulted in Unknown error.
The Unknown error could not be caught in a try/catch block and was not shown in the logs.

#### New Behavior

VROES import from a missing/invalid module path, or import of non-existing elements of a valid module,
result in more detailed errors in the logs. No exceptions are thrown by default (as per the existing behaviour)
but there is an option to alter the error handling behaviour via an optional parameter in import.from().

### Improvements to Item presentation structure in Workflow Schema

#### Previous Behavior

In the schema of Typescript workflows with multiple elements, the element icons were not aligned with the snap-grid.
There was no validation of Default error handler elements.
Misspelled targets were silently redirected to the default End element.
There was no validation for self-targeting or isolated items.

#### Current Behavior

The items in the schema are aligned in rows and columns with the snap-grid.
Validating that Default error handler (if present) is only one.
A warning is logged when a target doesn't match a WF element.
An error is thrown when an elements targets itself or is isolated (not targeted by any other element or the default start element).

#### Related issues

<https://github.com/vmware/build-tools-for-vmware-aria/issues/383>
<https://github.com/vmware/build-tools-for-vmware-aria/issues/318>

### Add missing classes to `o11n-plugin-aria` and add missing methods to the existing classes

#### Previous Behavior

Many classes are missing completely compared with vRO API and some existing classes were missing some methods

#### Current Behavior

The following classes were added to `o11n-plugin-aria`:

- VraEntitiesFinder
- VraFabricNetwork
- VraFlavorProfile
- VraFlavorMapping
- VraFabricFlavor
- VraStorageProfile
- VraProject
- VraUser
- VraZoneAssignment
- VraProjectResourceMetadata
- VraImageProfile
- VraImageMapping
- VraImageMappingDescription
- VraDiskSnapshot
- VraSnapshot
- VraNetworkProfile
- VraNetwork
- VraNetworkInterface
- VraMachine
- VraSaltConfiguration
- VraMachineBootConfig
- VraMachineBootConfigSettings
- VraMachineResult
- VraMachineService
- VraUpdateMachineSpecification
- VraSnapshotSpecification
- VraMachineSpecification
- VraRemoteAccessSpecification
- VraMachinesFolder
- VraNetworkProfileResult
- VraNetworkProfileService
- VraNetworkService
- VraNetworkSpecification
- VraProjectResourceMetadataSpecification
- VraProjectResult
- VraProjectService
- VraProjectSpecification
- VraRegionResult
- VraRequestTrackerResult
- VraStorageProfileResult
- VraStorageProfileService
- VraTagResult
- VraTagsService
- VraZoneAssignmentSpecification
- VraZoneResult
- VraFabricNetworkResult
- VraFlavorProfileResult
- VraFlavorProfileService
- VraHostManager
- VraImageProfileResult
- VraImageProfileService
- VraInfrastructure

#### Related issue

<https://github.com/vmware/build-tools-for-vmware-aria/issues/347>

### Better errors for Policy Template, Workflow and Configuration files with incorrect extensions

#### Previous Behavior

A non-descriptive error was thrown when a typescript Policy Template, Workflow or Configuration file was missing either .ts or its respective file extension prefix (.pl, .wf, .conf).

#### Current Behavior

A more specific error is thrown when a file ends in .pl, .wf, .conf and contains a corresponding typescript decorator (@PolicyTemplate, @Workflow, @Configuration), with instructions to add the omitted .ts extension.
A more specific error is thrown when a .ts file contains a @PolicyTemplate, @Workflow or @Configuration decorator without the corresponding file extension prefix (.pl, .wf, .conf).

#### Related issues

<https://github.com/vmware/build-tools-for-vmware-aria/issues/301>

### Fix vGPU property in VcVirtualDeviceBackingInfo class

#### Previous Behavior

The vgpu property in VcVirtualDeviceBackingInfo should be optional, because this class is referenced in other backing classes, which are not related to GPUs.

#### Current Behavior

The vgpu property set to optional.
Duplicated `constructor()` was removed.

#### Related issues

<https://github.com/vmware/build-tools-for-vmware-aria/issues/406>

## Upgrade procedure

[//]: # (Explain in details if something needs to be done)
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Vrealize Clean

`vrealize:clean` is a goal used to clean up archetype packages on a given environment.

## Overview

`vrealize:clean` gives us a lot of flexibility in what is going to be deleted. You can find more about the different options in the sections below.

## Table Of Contents

1. [Archetype Support for vrealize:clean](#archetype-support-for-vrealizeclean)
2. [Usage](#usage)

### Archetype Support for vrealize:clean

| Archetype | Supported | Comment |
|-----------|-----------|-------------------------------------------------------------------|
| vra | Yes | - |
| vro | Yes | - |
| vcd | Partial | It does not support dryRunning |
| abx | No | Not implemented |
| vrops | No | Not implemented |
| vra-ng | No | Aria Automation does not support packaging |
| vrli | No | vRLI does not provide native package support |
| cs | No | Code Stream Services does not provide native support for packages |

### Usage

```bash
mvn vrealize:clean -DincludeDependencies=true -DcleanUpOldVersions=true -DcleanUpLastVersion=false -Ddryrun=true -P${PROFILE}
```

- includeDependencies - a flag depicting if dependencies should also be deleted
- cleanUpOldVersions - a flag depicting if old versions of the package (and dependencies in case of includeDependencies) should be deleted
- cleanUpLastVersion - a flag depicting if the latest version should also be deleted before importing
- dryrun - Dryrun or not
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# New Project

## Table Of Contents

- [Generate A New Project](#generate-a-new-project)

### Generate A New Project

- Replace `archetypeVersion` with the latest toolchain version
- Specify `type` to be either `abx` (vRA ABX Actions) or `vro` (vRO Polyglot Actions).

```bash
#vRO:
mvn archetype:generate \
-DinteractiveMode=false \
-DarchetypeGroupId=com.vmware.pscoe.polyglot.archetypes \
-DarchetypeArtifactId=package-polyglot-archetype \
-DarchetypeVersion={LATEST_VERSION} \
-DgroupId=com.vmware.pscoe \
-DartifactId=testvronew \
-Dtype=vro

#ABX:
mvn archetype:generate \
-DinteractiveMode=false \
-DarchetypeGroupId=com.vmware.pscoe.polyglot.archetypes \
-DarchetypeArtifactId=package-polyglot-archetype \
-DarchetypeVersion={LATEST_VERSION} \
-DgroupId=com.vmware.pscoe \
-DartifactId=testabxnew \
-Dtype=abx
```
Loading

0 comments on commit 585505c

Please sign in to comment.