mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Fix cloudFoundryCreateService parameter scopes (#1935)
This commit is contained in:
parent
25c599b03b
commit
07b5142417
@ -160,7 +160,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfSpace",
|
Name: "cfSpace",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: true,
|
Mandatory: true,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
|
||||||
@ -168,7 +168,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfService",
|
Name: "cfService",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/service"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/service"}},
|
||||||
@ -176,7 +176,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfServicePlan",
|
Name: "cfServicePlan",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/servicePlan"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/servicePlan"}},
|
||||||
@ -184,7 +184,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfServiceInstanceName",
|
Name: "cfServiceInstanceName",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstanceName"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstanceName"}},
|
||||||
@ -192,7 +192,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfServiceBroker",
|
Name: "cfServiceBroker",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/serviceBroker"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/serviceBroker"}},
|
||||||
@ -200,7 +200,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfCreateServiceConfig",
|
Name: "cfCreateServiceConfig",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/createServiceConfig"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/createServiceConfig"}},
|
||||||
@ -208,7 +208,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "cfServiceTags",
|
Name: "cfServiceTags",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/serviceTags"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/serviceTags"}},
|
||||||
@ -216,7 +216,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "serviceManifest",
|
Name: "serviceManifest",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/serviceManifest"}, {Name: "cfServiceManifest"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/serviceManifest"}, {Name: "cfServiceManifest"}},
|
||||||
@ -224,7 +224,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "manifestVariables",
|
Name: "manifestVariables",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "[]string",
|
Type: "[]string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/manifestVariables"}, {Name: "cfManifestVariables"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/manifestVariables"}, {Name: "cfManifestVariables"}},
|
||||||
@ -232,7 +232,7 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
|
|||||||
{
|
{
|
||||||
Name: "manifestVariablesFiles",
|
Name: "manifestVariablesFiles",
|
||||||
ResourceRef: []config.ResourceReference{},
|
ResourceRef: []config.ResourceReference{},
|
||||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
|
||||||
Type: "[]string",
|
Type: "[]string",
|
||||||
Mandatory: false,
|
Mandatory: false,
|
||||||
Aliases: []config.Alias{{Name: "cloudFoundry/manifestVariablesFiles"}, {Name: "cfManifestVariablesFiles"}},
|
Aliases: []config.Alias{{Name: "cloudFoundry/manifestVariablesFiles"}, {Name: "cfManifestVariablesFiles"}},
|
||||||
|
@ -69,6 +69,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: true
|
mandatory: true
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/space
|
- name: cloudFoundry/space
|
||||||
@ -79,6 +80,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/service
|
- name: cloudFoundry/service
|
||||||
@ -89,6 +91,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/servicePlan
|
- name: cloudFoundry/servicePlan
|
||||||
@ -99,6 +102,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/serviceInstanceName
|
- name: cloudFoundry/serviceInstanceName
|
||||||
@ -109,6 +113,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/serviceBroker
|
- name: cloudFoundry/serviceBroker
|
||||||
@ -119,6 +124,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/createServiceConfig
|
- name: cloudFoundry/createServiceConfig
|
||||||
@ -129,6 +135,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/serviceTags
|
- name: cloudFoundry/serviceTags
|
||||||
@ -139,6 +146,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/serviceManifest
|
- name: cloudFoundry/serviceManifest
|
||||||
@ -151,6 +159,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/manifestVariables
|
- name: cloudFoundry/manifestVariables
|
||||||
@ -162,6 +171,7 @@ spec:
|
|||||||
- PARAMETERS
|
- PARAMETERS
|
||||||
- STAGES
|
- STAGES
|
||||||
- STEPS
|
- STEPS
|
||||||
|
- GENERAL
|
||||||
mandatory: false
|
mandatory: false
|
||||||
aliases:
|
aliases:
|
||||||
- name: cloudFoundry/manifestVariablesFiles
|
- name: cloudFoundry/manifestVariablesFiles
|
||||||
|
Loading…
Reference in New Issue
Block a user