Skip to content

Commit

Permalink
Abap environment update addon product (SAP#4774)
Browse files Browse the repository at this point in the history
* new Piper step abapEnvironmentUpdateAddOnProduct

* modified entity json format and some minor function changes

* modified groovy file for pipelineStageIntTests and addonDescriptor to be mandatory in yaml file

* sync with fork branch ranliii/abap-environment-update-addon-product

* added generated file

* fail the step as long as addon update not successful and unit tests

* added docu for the new step

* tried to fix groovy unit test

* tried to fix groovy unit test 2

* for test

* fixed error

* fixed error 2

* tried to fix groovy unit test error

* added groovy unit test for new Piper step

* tried to fix groovy unit test error

* tried to fix groovy unit test error 2

* changes after first review

* remove .DS_Store

* for test

* revert test relevant changes

* try to fix groovy test error

* try to fix groovy error

* 3rd try to fix groovy test error

* rewrite the failed groovy test

* small changes and try with timeout as well as poll interval

* changes for test

* revert test-related changes

* try to fix errors

* Revert "Merge branch 'master' into abap-environment-update-addon-product"

This reverts commit 1ee0bcd, reversing
changes made to 3c4a99d.

* try to fix error

* try to fix error 2

* try to fix error 3

* align go.mod with master branch

* revert go.mod to commit 3c4a99d

* for test

* revert test changes

* new unit test

* Revert "Revert "Merge branch 'master' into abap-environment-update-addon-product""

This reverts commit 363c038.

* go generate after merging master

---------

Co-authored-by: Jk1484 <[email protected]>
Co-authored-by: Ran Li <[email protected]>
Co-authored-by: tiloKo <[email protected]>
  • Loading branch information
4 people authored and maxatsap committed Jul 23, 2024
1 parent 87b49db commit 429d26d
Show file tree
Hide file tree
Showing 15 changed files with 1,517 additions and 17 deletions.
474 changes: 474 additions & 0 deletions cmd/abapLandscapePortalUpdateAddOnProduct.go

Large diffs are not rendered by default.

185 changes: 185 additions & 0 deletions cmd/abapLandscapePortalUpdateAddOnProduct_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions cmd/abapLandscapePortalUpdateAddOnProduct_generated_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//go:build unit
// +build unit

package cmd

import (
"testing"

"github.com/stretchr/testify/assert"
)

func TestAbapLandscapePortalUpdateAddOnProductCommand(t *testing.T) {
t.Parallel()

testCmd := AbapLandscapePortalUpdateAddOnProductCommand()

// only high level testing performed - details are tested in step generation procedure
assert.Equal(t, "abapLandscapePortalUpdateAddOnProduct", testCmd.Use, "command name incorrect")

}
Loading

0 comments on commit 429d26d

Please sign in to comment.