mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-20 05:19:40 +02:00
refactor: rebranding from scp to btp (#4049)
* refactor: rebranding rebranding from SAP Cloud Platform to SAP BTP * refactor: rebranding from SCP to BTP Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
This commit is contained in:
parent
f195a94640
commit
452b2a1ef5
@ -59,7 +59,7 @@ func (p *abapEnvironmentAssembleConfirmCommonPipelineEnvironment) persist(path,
|
||||
}
|
||||
}
|
||||
|
||||
// AbapEnvironmentAssembleConfirmCommand Confirm the Delivery of Assembly for installation, support package or patch in SAP Cloud Platform ABAP Environment system
|
||||
// AbapEnvironmentAssembleConfirmCommand Confirm the Delivery of Assembly for installation, support package or patch in SAP BTP ABAP Environment system
|
||||
func AbapEnvironmentAssembleConfirmCommand() *cobra.Command {
|
||||
const STEP_NAME = "abapEnvironmentAssembleConfirm"
|
||||
|
||||
@ -73,8 +73,8 @@ func AbapEnvironmentAssembleConfirmCommand() *cobra.Command {
|
||||
|
||||
var createAbapEnvironmentAssembleConfirmCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Confirm the Delivery of Assembly for installation, support package or patch in SAP Cloud Platform ABAP Environment system",
|
||||
Long: `This step confirms the assemblies of provided [installations, support packages or patches] in SAP Cloud Platform ABAP Environment system`,
|
||||
Short: "Confirm the Delivery of Assembly for installation, support package or patch in SAP BTP ABAP Environment system",
|
||||
Long: `This step confirms the assemblies of provided [installations, support packages or patches] in SAP BTP ABAP Environment system`,
|
||||
PreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
startTime = time.Now()
|
||||
log.SetStepName(STEP_NAME)
|
||||
@ -161,7 +161,7 @@ func addAbapEnvironmentAssembleConfirmFlags(cmd *cobra.Command, stepConfig *abap
|
||||
cmd.Flags().StringVar(&stepConfig.CfSpace, "cfSpace", os.Getenv("PIPER_cfSpace"), "Cloud Foundry target space")
|
||||
cmd.Flags().StringVar(&stepConfig.CfServiceInstance, "cfServiceInstance", os.Getenv("PIPER_cfServiceInstance"), "Cloud Foundry Service Instance")
|
||||
cmd.Flags().StringVar(&stepConfig.CfServiceKeyName, "cfServiceKeyName", os.Getenv("PIPER_cfServiceKeyName"), "Cloud Foundry Service Key")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP Cloud Platform ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP BTP ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.Username, "username", os.Getenv("PIPER_username"), "User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0582")
|
||||
cmd.Flags().StringVar(&stepConfig.Password, "password", os.Getenv("PIPER_password"), "Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0582")
|
||||
cmd.Flags().StringVar(&stepConfig.AddonDescriptor, "addonDescriptor", os.Getenv("PIPER_addonDescriptor"), "Structure in the commonPipelineEnvironment containing information about the Product Version and corresponding Software Component Versions")
|
||||
@ -180,7 +180,7 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
|
||||
Metadata: config.StepMetadata{
|
||||
Name: "abapEnvironmentAssembleConfirm",
|
||||
Aliases: []config.Alias{},
|
||||
Description: "Confirm the Delivery of Assembly for installation, support package or patch in SAP Cloud Platform ABAP Environment system",
|
||||
Description: "Confirm the Delivery of Assembly for installation, support package or patch in SAP BTP ABAP Environment system",
|
||||
},
|
||||
Spec: config.StepSpec{
|
||||
Inputs: config.StepInputs{
|
||||
|
@ -60,7 +60,7 @@ func (p *abapEnvironmentAssemblePackagesCommonPipelineEnvironment) persist(path,
|
||||
}
|
||||
}
|
||||
|
||||
// AbapEnvironmentAssemblePackagesCommand Assembly of installation, support package or patch in SAP Cloud Platform ABAP Environment system
|
||||
// AbapEnvironmentAssemblePackagesCommand Assembly of installation, support package or patch in SAP BTP ABAP Environment system
|
||||
func AbapEnvironmentAssemblePackagesCommand() *cobra.Command {
|
||||
const STEP_NAME = "abapEnvironmentAssemblePackages"
|
||||
|
||||
@ -74,7 +74,7 @@ func AbapEnvironmentAssemblePackagesCommand() *cobra.Command {
|
||||
|
||||
var createAbapEnvironmentAssemblePackagesCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Assembly of installation, support package or patch in SAP Cloud Platform ABAP Environment system",
|
||||
Short: "Assembly of installation, support package or patch in SAP BTP ABAP Environment system",
|
||||
Long: `This step runs the assembly of a list of provided [installations, support packages or patches](https://help.sap.com/viewer/9043aa5d2f834ad385e1cdfdadc06b6f/LATEST/en-US/9a81f55473568c77e10000000a174cb4.html) in SAP Cloud
|
||||
Platform ABAP Environment system and saves the corresponding [SAR archive](https://launchpad.support.sap.com/#/notes/212876) to the filesystem.`,
|
||||
PreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
@ -163,7 +163,7 @@ func addAbapEnvironmentAssemblePackagesFlags(cmd *cobra.Command, stepConfig *aba
|
||||
cmd.Flags().StringVar(&stepConfig.CfSpace, "cfSpace", os.Getenv("PIPER_cfSpace"), "Cloud Foundry target space")
|
||||
cmd.Flags().StringVar(&stepConfig.CfServiceInstance, "cfServiceInstance", os.Getenv("PIPER_cfServiceInstance"), "Cloud Foundry Service Instance")
|
||||
cmd.Flags().StringVar(&stepConfig.CfServiceKeyName, "cfServiceKeyName", os.Getenv("PIPER_cfServiceKeyName"), "Cloud Foundry Service Key")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP Cloud Platform ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP BTP ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.Username, "username", os.Getenv("PIPER_username"), "User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0582")
|
||||
cmd.Flags().StringVar(&stepConfig.Password, "password", os.Getenv("PIPER_password"), "Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0582")
|
||||
cmd.Flags().StringVar(&stepConfig.AddonDescriptor, "addonDescriptor", os.Getenv("PIPER_addonDescriptor"), "Structure in the commonPipelineEnvironment containing information about the Product Version and corresponding Software Component Versions")
|
||||
@ -184,7 +184,7 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
|
||||
Metadata: config.StepMetadata{
|
||||
Name: "abapEnvironmentAssemblePackages",
|
||||
Aliases: []config.Alias{},
|
||||
Description: "Assembly of installation, support package or patch in SAP Cloud Platform ABAP Environment system",
|
||||
Description: "Assembly of installation, support package or patch in SAP BTP ABAP Environment system",
|
||||
},
|
||||
Spec: config.StepSpec{
|
||||
Inputs: config.StepInputs{
|
||||
|
@ -176,8 +176,8 @@ func addAbapEnvironmentBuildFlags(cmd *cobra.Command, stepConfig *abapEnvironmen
|
||||
cmd.Flags().StringVar(&stepConfig.CfSpace, "cfSpace", os.Getenv("PIPER_cfSpace"), "Cloud Foundry target space")
|
||||
cmd.Flags().StringVar(&stepConfig.CfServiceInstance, "cfServiceInstance", os.Getenv("PIPER_cfServiceInstance"), "Cloud Foundry Service Instance")
|
||||
cmd.Flags().StringVar(&stepConfig.CfServiceKeyName, "cfServiceKeyName", os.Getenv("PIPER_cfServiceKeyName"), "Cloud Foundry Service Key")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP Cloud Platform ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.AbapSourceClient, "abapSourceClient", os.Getenv("PIPER_abapSourceClient"), "Specifies the client of the SAP Cloud Platform ABAP Environment system, use only in combination with host")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP BTP ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.AbapSourceClient, "abapSourceClient", os.Getenv("PIPER_abapSourceClient"), "Specifies the client of the SAP BTP ABAP Environment system, use only in combination with host")
|
||||
cmd.Flags().StringVar(&stepConfig.Username, "username", os.Getenv("PIPER_username"), "User")
|
||||
cmd.Flags().StringVar(&stepConfig.Password, "password", os.Getenv("PIPER_password"), "Password")
|
||||
cmd.Flags().StringVar(&stepConfig.Phase, "phase", os.Getenv("PIPER_phase"), "Phase as specified in the build script in the backend system")
|
||||
|
@ -45,7 +45,7 @@ func AbapEnvironmentRunATCCheckCommand() *cobra.Command {
|
||||
var createAbapEnvironmentRunATCCheckCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Runs an ATC Check",
|
||||
Long: `This step is for triggering an [ATC](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/d8cec788fc104ff9ad9c3757b4dd13d4.html) test run on an SAP Cloud Platform ABAP Environment system.
|
||||
Long: `This step is for triggering an [ATC](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/d8cec788fc104ff9ad9c3757b4dd13d4.html) test run on an SAP BTP ABAP Environment system.
|
||||
Please provide either of the following options:
|
||||
|
||||
* The host and credentials the Cloud Platform ABAP Environment system itself. The credentials must be configured for the Communication Scenario [SAP_COM_0901](https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/d8cec788fc104ff9ad9c3757b4dd13d4.html).
|
||||
@ -142,7 +142,7 @@ func addAbapEnvironmentRunATCCheckFlags(cmd *cobra.Command, stepConfig *abapEnvi
|
||||
cmd.Flags().StringVar(&stepConfig.CfSpace, "cfSpace", os.Getenv("PIPER_cfSpace"), "CF Space")
|
||||
cmd.Flags().StringVar(&stepConfig.Username, "username", os.Getenv("PIPER_username"), "User for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0901")
|
||||
cmd.Flags().StringVar(&stepConfig.Password, "password", os.Getenv("PIPER_password"), "Password for either the Cloud Foundry API or the Communication Arrangement for SAP_COM_0901")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP Cloud Platform ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.Host, "host", os.Getenv("PIPER_host"), "Specifies the host address of the SAP BTP ABAP Environment system")
|
||||
cmd.Flags().StringVar(&stepConfig.AtcResultsFileName, "atcResultsFileName", `ATCResults.xml`, "Specifies output file name for the results from the ATC run. This file name will also be used for generating the HTML file")
|
||||
cmd.Flags().BoolVar(&stepConfig.GenerateHTML, "generateHTML", false, "Specifies whether the ATC results should also be generated as an HTML document")
|
||||
cmd.Flags().StringVar(&stepConfig.FailOnSeverity, "failOnSeverity", os.Getenv("PIPER_failOnSeverity"), "Specifies the severity level, for which the ATC step should fail if at least one message with this severity (or \"higher\") level is returned by the ATC Check Run (possible values - error, warning, info). Initial value is default behavior and ATC findings of any severity do not fail the step")
|
||||
|
@ -34,7 +34,7 @@ func IntegrationArtifactDeployCommand() *cobra.Command {
|
||||
var createIntegrationArtifactDeployCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Deploy a CPI integration flow",
|
||||
Long: `With this step you can deploy a integration flow artifact in to SAP Cloud Platform integration runtime using OData API. Learn more about the SAP Cloud Integration remote API for deploying an integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html)`,
|
||||
Long: `With this step you can deploy a integration flow artifact in to SAP BTP integration runtime using OData API. Learn more about the SAP Cloud Integration remote API for deploying an integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html)`,
|
||||
PreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
startTime = time.Now()
|
||||
log.SetStepName(STEP_NAME)
|
||||
|
@ -65,7 +65,7 @@ func IntegrationArtifactGetServiceEndpointCommand() *cobra.Command {
|
||||
var createIntegrationArtifactGetServiceEndpointCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Get an deployed CPI intgeration flow service endpoint",
|
||||
Long: `With this step you can obtain information about the service endpoints exposed by SAP Cloud Platform Integration on a tenant using OData API. Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).`,
|
||||
Long: `With this step you can obtain information about the service endpoints exposed by SAP BTP Integration on a tenant using OData API. Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).`,
|
||||
PreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
startTime = time.Now()
|
||||
log.SetStepName(STEP_NAME)
|
||||
|
@ -37,7 +37,7 @@ func IntegrationArtifactTriggerIntegrationTestCommand() *cobra.Command {
|
||||
var createIntegrationArtifactTriggerIntegrationTestCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Test the service endpoint of your iFlow",
|
||||
Long: `With this step you can test your intergration flow exposed by SAP Cloud Platform Integration on a tenant using OData API.Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).`,
|
||||
Long: `With this step you can test your intergration flow exposed by SAP BTP Integration on a tenant using OData API.Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).`,
|
||||
PreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
startTime = time.Now()
|
||||
log.SetStepName(STEP_NAME)
|
||||
|
@ -95,5 +95,5 @@ steps:
|
||||
invalidateCache: true
|
||||
portalLandscape: "cloudnwcportal"
|
||||
oauthCredentialId: <OAUTH_CREDENTIAL_ID>
|
||||
siteId: <PORTAL_SITE_ID> # not required, if the default site is already set in the portal service (SAP Cloud Platform)
|
||||
siteId: <PORTAL_SITE_ID> # not required, if the default site is already set in the portal service (SAP BTP)
|
||||
```
|
||||
|
@ -41,7 +41,7 @@ nav:
|
||||
- 'Release Stage': stages/release.md
|
||||
- 'Scenarios':
|
||||
- 'Build and Deploy Hybrid Applications with SAP Solution Manager': scenarios/changeManagement.md
|
||||
- 'Build and Deploy SAPUI5/SAP Fiori Applications on SAP Cloud Platform': scenarios/ui5-sap-cp/Readme.md
|
||||
- 'Build and Deploy SAPUI5/SAP Fiori Applications on SAP BTP': scenarios/ui5-sap-cp/Readme.md
|
||||
- 'Build and Deploy SAP Cloud Application Programming Model Applications': scenarios/CAP_Scenario.md
|
||||
- 'Integrate SAP Cloud Transport Management Into Your CI/CD Pipeline': scenarios/TMS_Extension.md
|
||||
- 'Build and Deploy SAP Fiori Applications on SAP HANA Extended Application Services, Advanced Model': scenarios/xsa-deploy/Readme.md
|
||||
|
@ -31,7 +31,7 @@
|
||||
</a>
|
||||
|
||||
<p>
|
||||
This is your <strong>SAP Cloud Platform Cloud Foundry Spring</strong> application
|
||||
This is your <strong>SAP BTP Cloud Foundry Spring</strong> application
|
||||
powered by the <strong>SAP Cloud SDK</strong>.
|
||||
</p>
|
||||
<ul>
|
||||
|
@ -31,7 +31,7 @@
|
||||
</a>
|
||||
|
||||
<p>
|
||||
This is your <strong>SAP Cloud Platform Cloud Foundry TomEE</strong> application
|
||||
This is your <strong>SAP BTP Cloud Foundry TomEE</strong> application
|
||||
powered by the <strong>SAP Cloud SDK</strong>.
|
||||
</p>
|
||||
<ul>
|
||||
|
@ -1,8 +1,8 @@
|
||||
metadata:
|
||||
name: abapEnvironmentAssembleConfirm
|
||||
description: "Confirm the Delivery of Assembly for installation, support package or patch in SAP Cloud Platform ABAP Environment system"
|
||||
description: "Confirm the Delivery of Assembly for installation, support package or patch in SAP BTP ABAP Environment system"
|
||||
longDescription: |
|
||||
This step confirms the assemblies of provided [installations, support packages or patches] in SAP Cloud Platform ABAP Environment system
|
||||
This step confirms the assemblies of provided [installations, support packages or patches] in SAP BTP ABAP Environment system
|
||||
spec:
|
||||
inputs:
|
||||
secrets:
|
||||
@ -71,7 +71,7 @@ spec:
|
||||
- name: cloudFoundry/serviceKeyName
|
||||
- name: cfServiceKey
|
||||
- name: host
|
||||
description: Specifies the host address of the SAP Cloud Platform ABAP Environment system
|
||||
description: Specifies the host address of the SAP BTP ABAP Environment system
|
||||
type: string
|
||||
mandatory: false
|
||||
scope:
|
||||
|
@ -1,6 +1,6 @@
|
||||
metadata:
|
||||
name: abapEnvironmentAssemblePackages
|
||||
description: "Assembly of installation, support package or patch in SAP Cloud Platform ABAP Environment system"
|
||||
description: "Assembly of installation, support package or patch in SAP BTP ABAP Environment system"
|
||||
longDescription: |
|
||||
This step runs the assembly of a list of provided [installations, support packages or patches](https://help.sap.com/viewer/9043aa5d2f834ad385e1cdfdadc06b6f/LATEST/en-US/9a81f55473568c77e10000000a174cb4.html) in SAP Cloud
|
||||
Platform ABAP Environment system and saves the corresponding [SAR archive](https://launchpad.support.sap.com/#/notes/212876) to the filesystem.
|
||||
@ -72,7 +72,7 @@ spec:
|
||||
- name: cloudFoundry/serviceKeyName
|
||||
- name: cfServiceKey
|
||||
- name: host
|
||||
description: Specifies the host address of the SAP Cloud Platform ABAP Environment system
|
||||
description: Specifies the host address of the SAP BTP ABAP Environment system
|
||||
type: string
|
||||
mandatory: false
|
||||
scope:
|
||||
|
@ -71,7 +71,7 @@ spec:
|
||||
- name: cloudFoundry/serviceKeyName
|
||||
- name: cfServiceKey
|
||||
- name: host
|
||||
description: Specifies the host address of the SAP Cloud Platform ABAP Environment system
|
||||
description: Specifies the host address of the SAP BTP ABAP Environment system
|
||||
type: string
|
||||
mandatory: false
|
||||
scope:
|
||||
@ -80,7 +80,7 @@ spec:
|
||||
- STEPS
|
||||
- GENERAL
|
||||
- name: abapSourceClient
|
||||
description: Specifies the client of the SAP Cloud Platform ABAP Environment system, use only in combination with host
|
||||
description: Specifies the client of the SAP BTP ABAP Environment system, use only in combination with host
|
||||
type: string
|
||||
mandatory: false
|
||||
scope:
|
||||
|
@ -2,7 +2,7 @@ metadata:
|
||||
name: abapEnvironmentRunATCCheck
|
||||
description: Runs an ATC Check
|
||||
longDescription: |
|
||||
This step is for triggering an [ATC](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/d8cec788fc104ff9ad9c3757b4dd13d4.html) test run on an SAP Cloud Platform ABAP Environment system.
|
||||
This step is for triggering an [ATC](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/d8cec788fc104ff9ad9c3757b4dd13d4.html) test run on an SAP BTP ABAP Environment system.
|
||||
Please provide either of the following options:
|
||||
|
||||
* The host and credentials the Cloud Platform ABAP Environment system itself. The credentials must be configured for the Communication Scenario [SAP_COM_0901](https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/d8cec788fc104ff9ad9c3757b4dd13d4.html).
|
||||
@ -120,7 +120,7 @@ spec:
|
||||
param: password
|
||||
- name: host
|
||||
type: string
|
||||
description: Specifies the host address of the SAP Cloud Platform ABAP Environment system
|
||||
description: Specifies the host address of the SAP BTP ABAP Environment system
|
||||
scope:
|
||||
- PARAMETERS
|
||||
- STAGES
|
||||
|
@ -2,7 +2,7 @@ metadata:
|
||||
name: integrationArtifactDeploy
|
||||
description: Deploy a CPI integration flow
|
||||
longDescription: |
|
||||
With this step you can deploy a integration flow artifact in to SAP Cloud Platform integration runtime using OData API. Learn more about the SAP Cloud Integration remote API for deploying an integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html)
|
||||
With this step you can deploy a integration flow artifact in to SAP BTP integration runtime using OData API. Learn more about the SAP Cloud Integration remote API for deploying an integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html)
|
||||
|
||||
spec:
|
||||
inputs:
|
||||
|
@ -2,7 +2,7 @@ metadata:
|
||||
name: integrationArtifactGetServiceEndpoint
|
||||
description: Get an deployed CPI intgeration flow service endpoint
|
||||
longDescription: |
|
||||
With this step you can obtain information about the service endpoints exposed by SAP Cloud Platform Integration on a tenant using OData API. Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).
|
||||
With this step you can obtain information about the service endpoints exposed by SAP BTP Integration on a tenant using OData API. Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).
|
||||
|
||||
spec:
|
||||
inputs:
|
||||
|
@ -2,7 +2,7 @@ metadata:
|
||||
name: integrationArtifactTriggerIntegrationTest
|
||||
description: Test the service endpoint of your iFlow
|
||||
longDescription: |
|
||||
With this step you can test your intergration flow exposed by SAP Cloud Platform Integration on a tenant using OData API.Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).
|
||||
With this step you can test your intergration flow exposed by SAP BTP Integration on a tenant using OData API.Learn more about the SAP Cloud Integration remote API for getting service endpoint of deployed integration artifact [here](https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/Cloud/en-US/d1679a80543f46509a7329243b595bdb.html).
|
||||
|
||||
spec:
|
||||
inputs:
|
||||
|
@ -27,7 +27,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
/**
|
||||
* This stage builds an AddOn for the SAP Cloud Platform ABAP Environment
|
||||
* This stage builds an AddOn for the SAP BTP ABAP Environment
|
||||
*/
|
||||
void call(Map parameters = [:]) {
|
||||
def script = checkScript(this, parameters) ?: this
|
||||
|
@ -9,7 +9,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
/**
|
||||
* This stage asks for the approval to publish the previously built Add-on for the SAP Cloud Platform ABAP Environment
|
||||
* This stage asks for the approval to publish the previously built Add-on for the SAP BTP ABAP Environment
|
||||
*/
|
||||
void call(Map parameters = [:]) {
|
||||
def script = checkScript(this, parameters) ?: this
|
||||
|
@ -12,7 +12,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
/**
|
||||
* This stage runs initial checks for the build process for an AddOn for the SAP Cloud Platform ABAP Environment
|
||||
* This stage runs initial checks for the build process for an AddOn for the SAP BTP ABAP Environment
|
||||
*/
|
||||
void call(Map parameters = [:]) {
|
||||
def script = checkScript(this, parameters) ?: this
|
||||
|
@ -6,9 +6,9 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
|
||||
@Field String STEP_NAME = getClass().getName()
|
||||
@Field Set GENERAL_CONFIG_KEYS = [
|
||||
/** Creates a SAP Cloud Platform ABAP Environment system via the cloud foundry command line interface */
|
||||
/** Creates a SAP BTP ABAP Environment system via the cloud foundry command line interface */
|
||||
'abapEnvironmentCreateSystem',
|
||||
/** Deletes a SAP Cloud Platform ABAP Environment system via the cloud foundry command line interface */
|
||||
/** Deletes a SAP BTP ABAP Environment system via the cloud foundry command line interface */
|
||||
'cloudFoundryDeleteService',
|
||||
/** If set to true, a confirmation is required to delete the system */
|
||||
'confirmDeletion',
|
||||
|
@ -5,7 +5,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
|
||||
@Field String STEP_NAME = getClass().getName()
|
||||
@Field Set GENERAL_CONFIG_KEYS = [
|
||||
/** Deletes a SAP Cloud Platform ABAP Environment instance via the cloud foundry command line interface */
|
||||
/** Deletes a SAP BTP ABAP Environment instance via the cloud foundry command line interface */
|
||||
'cloudFoundryDeleteService',
|
||||
/** If set to true, a confirmation is required to delete the system in case the pipeline was not successful */
|
||||
'confirmDeletion',
|
||||
|
@ -6,7 +6,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field String STEP_NAME = getClass().getName()
|
||||
@Field Set GENERAL_CONFIG_KEYS = []
|
||||
@Field STAGE_STEP_KEYS = [
|
||||
/** Creates a SAP Cloud Platform ABAP Environment instance via the cloud foundry command line interface */
|
||||
/** Creates a SAP BTP ABAP Environment instance via the cloud foundry command line interface */
|
||||
'abapEnvironmentCreateSystem',
|
||||
/** Creates Communication Arrangements for ABAP Environment instance via the cloud foundry command line interface */
|
||||
'cloudFoundryCreateServiceKey'
|
||||
@ -14,7 +14,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
/**
|
||||
* This stage prepares the SAP Cloud Platform ABAP Environment systems
|
||||
* This stage prepares the SAP BTP ABAP Environment systems
|
||||
*/
|
||||
void call(Map parameters = [:]) {
|
||||
def script = checkScript(this, parameters) ?: this
|
||||
|
@ -13,7 +13,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS.plus(STAGE_STEP_KEYS)
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
/**
|
||||
* This stage publishes an AddOn for the SAP Cloud Platform ABAP Environment
|
||||
* This stage publishes an AddOn for the SAP BTP ABAP Environment
|
||||
*/
|
||||
void call(Map parameters = [:]) {
|
||||
def script = checkScript(this, parameters) ?: this
|
||||
|
@ -38,7 +38,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
])
|
||||
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS.plus([
|
||||
/** The source file to deploy to SAP Cloud Platform.*/
|
||||
/** The source file to deploy to SAP BTP.*/
|
||||
'source',
|
||||
/** Closure which is executed before calling the deployment steps.*/
|
||||
'preDeploymentHook'
|
||||
@ -47,7 +47,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Map CONFIG_KEY_COMPATIBILITY = [parallelExecution: 'features/parallelTestExecution']
|
||||
|
||||
/**
|
||||
* Deploys an application to multiple platforms (Cloud Foundry, SAP Cloud Platform) or to multiple instances of multiple platforms or the same platform.
|
||||
* Deploys an application to multiple platforms (Cloud Foundry, SAP BTP) or to multiple instances of multiple platforms or the same platform.
|
||||
*/
|
||||
@GenerateDocumentation
|
||||
void call(parameters = [:]) {
|
||||
|
@ -16,7 +16,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set GENERAL_CONFIG_KEYS = [
|
||||
'neo',
|
||||
/**
|
||||
* The SAP Cloud Platform account to deploy to.
|
||||
* The SAP BTP account to deploy to.
|
||||
* @parentConfigKey neo
|
||||
* @mandatory for deployMode=warParams
|
||||
*/
|
||||
@ -43,7 +43,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
*/
|
||||
'environment',
|
||||
/**
|
||||
* The SAP Cloud Platform host to deploy to.
|
||||
* The SAP BTP host to deploy to.
|
||||
* @parentConfigKey neo
|
||||
* @mandatory for deployMode=warParams
|
||||
*/
|
||||
@ -55,13 +55,13 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
*/
|
||||
'propertiesFile',
|
||||
/**
|
||||
* Name of SAP Cloud Platform application runtime.
|
||||
* Name of SAP BTP application runtime.
|
||||
* @parentConfigKey neo
|
||||
* @mandatory for deployMode=warParams
|
||||
*/
|
||||
'runtime',
|
||||
/**
|
||||
* Version of SAP Cloud Platform application runtime.
|
||||
* Version of SAP BTP application runtime.
|
||||
* @parentConfigKey neo
|
||||
* @mandatory for deployMode=warParams
|
||||
*/
|
||||
@ -83,12 +83,12 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
*/
|
||||
'invalidateCache',
|
||||
/**
|
||||
* Portal landscape region subscribed to in SAP Cloud Platform.
|
||||
* Portal landscape region subscribed to in SAP BTP.
|
||||
* @parentConfigKey neo
|
||||
*/
|
||||
'portalLandscape',
|
||||
/**
|
||||
* UsernamePassword type credential containing SAP Cloud Platform OAuth client ID and client secret.
|
||||
* UsernamePassword type credential containing SAP BTP OAuth client ID and client secret.
|
||||
* @parentConfigKey neo
|
||||
*/
|
||||
'oauthCredentialId',
|
||||
@ -151,7 +151,7 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
])
|
||||
|
||||
/**
|
||||
* Deploys an Application to SAP Cloud Platform (SAP CP) using the SAP Cloud Platform Console Client (Neo Java Web SDK).
|
||||
* Deploys an Application to SAP BTP (SAP CP) using the SAP BTP Console Client (Neo Java Web SDK).
|
||||
*/
|
||||
@GenerateDocumentation
|
||||
void call(parameters = [:]) {
|
||||
@ -393,7 +393,7 @@ private deploy(script, Map configuration, NeoCommandHelper neoCommandHelper, doc
|
||||
}
|
||||
catch (Exception ex) {
|
||||
|
||||
echo "Error while deploying to SAP Cloud Platform. Here are the neo.sh logs:"
|
||||
echo "Error while deploying to SAP BTP. Here are the neo.sh logs:"
|
||||
try {
|
||||
sh "cat ${logFolder}/*"
|
||||
} catch(Exception e) {
|
||||
@ -481,7 +481,7 @@ private boolean isAppRunning(NeoCommandHelper commandHelper) {
|
||||
|
||||
private assertPasswordRules(String password) {
|
||||
if (password.startsWith("@")) {
|
||||
error("Your password for the deployment to SAP Cloud Platform contains characters which are not " +
|
||||
error("Your password for the deployment to SAP BTP contains characters which are not " +
|
||||
"supported by the neo tools. " +
|
||||
"For example it is not allowed that the password starts with @. " +
|
||||
"Please consult the documentation for the neo command line tool for more information: " +
|
||||
|
@ -54,12 +54,12 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS + GENERAL_CONFIG_KEYS
|
||||
|
||||
/**
|
||||
* This step allows you to upload an MTA file (multi-target application archive) and multiple MTA extension descriptors into a TMS (SAP Cloud Platform Transport Management Service) landscape for further TMS-controlled distribution through a TMS-configured landscape.
|
||||
* TMS lets you manage transports between SAP Cloud Platform accounts in Neo and Cloud Foundry, such as from DEV to TEST and PROD accounts.
|
||||
* This step allows you to upload an MTA file (multi-target application archive) and multiple MTA extension descriptors into a TMS (SAP BTP Transport Management Service) landscape for further TMS-controlled distribution through a TMS-configured landscape.
|
||||
* TMS lets you manage transports between SAP BTP accounts in Neo and Cloud Foundry, such as from DEV to TEST and PROD accounts.
|
||||
* For more information, see [official documentation of Transport Management Service](https://help.sap.com/viewer/p/TRANSPORT_MANAGEMENT_SERVICE)
|
||||
*
|
||||
* !!! note "Prerequisites"
|
||||
* * You have subscribed to and set up TMS, as described in [Setup and Configuration of SAP Cloud Platform Transport Management](https://help.sap.com/viewer/7f7160ec0d8546c6b3eab72fb5ad6fd8/Cloud/en-US/66fd7283c62f48adb23c56fb48c84a60.html), which includes the configuration of a node to be used for uploading an MTA file.
|
||||
* * You have subscribed to and set up TMS, as described in [Setup and Configuration of SAP BTP Transport Management](https://help.sap.com/viewer/7f7160ec0d8546c6b3eab72fb5ad6fd8/Cloud/en-US/66fd7283c62f48adb23c56fb48c84a60.html), which includes the configuration of a node to be used for uploading an MTA file.
|
||||
* * A corresponding service key has been created, as described in [Set Up the Environment to Transport Content Archives directly in an Application](https://help.sap.com/viewer/7f7160ec0d8546c6b3eab72fb5ad6fd8/Cloud/en-US/8d9490792ed14f1bbf8a6ac08a6bca64.html). This service key (JSON) must be stored as a secret text within the Jenkins secure store.
|
||||
*
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user