Open tanguyr opened 1 month ago
I was able to reproduce it as well with pushing within a windows environment.
Working for me.
import { Configuration } from "vrotsc-annotations";
@Configuration({
name: "power_settings",
path: "my_path",
attributes: {
powerMin: {
type: "number",
value: "1",
description: "Minimum power"
},
powerMax: {
type: "number",
value: "2",
description: "Maximum power"
},
domainName: {
type: "Array/string",
value: ["domain.local", "test.test"],
description: "Domain name"
}
}
})
export class MyClass {}
Description
We have a config element that holds an array of strings. When we execute a vrealize:push with the flag -Dvro.packageImportConfigurationAttributeValues=true, the config element is created, but the attribute values are not populated. Other config elements in the same project have their values correctly populated
Steps to Reproduce
I execute the command
mvn clean package vrealize:push -P<profile> -Dlicense.skip -Dlicense.skipAddThirdParty=true -DskipInstallNodeDeps=true -Dvro.packageImportConfigurationAttributeValues=true -Dvro.packageImportConfigSecureStringAttributeValues=true
In Orchestrator/Configurations:
Expected behavior: I expect the domainsList variable to hold my two domains
Actual behavior:\ domainsList variable is empty
Reproduces how often: 100%
Component/s:
Affects Build/s: 2.43.0
Environment
Client
Server