Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Mieg 1d330a18cd [ABAP] Add type to log output (#5310) 2025-04-03 09:16:22 +02:00
Daniel Mieg 6ee302e399 Fix uncaught error in ATC Step (#5276)
* Restructure ATC Step

* Add test

* Add build unit comment
2025-02-20 17:40:16 +01:00
Daniel Mieg cb45ad1b44 Add possible values and default (#5030) 2024-08-29 10:55:43 +02:00
Daniel Mieg 8109f6fbe8 OData V4 error message handling (#5013)
* OData V4 error message handling

* Adapt tests
2024-08-16 13:41:23 +02:00
Daniel Mieg 8eeba2d005 [ABAP] Migrate SAP_COM_0510 to SAP_COM_0948 (#4925)
* Migrate SAP_COM_0510 to SAP_COM_0948

* Update error message

* Update error message

* Fix error message in unit test

* Update unit tests
2024-06-10 10:51:22 +02:00
Daniel Mieg 125c48ee75 Fix output for log protocol header (#4926)
* Fix output for log protocol header

* Fix wrong merge
2024-05-10 09:54:07 +02:00
Daniel MiegandtiloKo 9bb306adad [ABAP] Add execution log (#4902)
* [ABAP] Add output for execution log

* Add buil comments

* Rename to avoid build issue

---------

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2024-04-24 16:01:34 +02:00
Daniel Mieg 6e9f52e274 Adapt request body for SAP_COM_0948 (#4865)
* Adapt request body for SAP_COM_0948

* Adapt tests

* Readd tags
2024-03-14 16:30:19 +01:00
Daniel Mieg f51fbc3e4e Only print logs if error occurred (#4823) 2024-02-09 10:20:27 +01:00
Daniel Mieg 7575539c5a top (#4787) 2024-02-02 19:07:31 +00:00
Daniel Mieg d115858ead Fix initial request (#4785) 2024-01-18 20:28:24 +01:00
Daniel MiegandtiloKo dbc3d41b37 SAP_COM_0948 (#4715)
* SAP_COM_0948 clone, pull & checkout

* Fix log output

* Enable compatibility for old tests

* Fix tests

* Add tests for SAP_COM_0948

* Change message

* Add tags for test

* add retry for error code 501

---------

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-12-19 15:16:48 +01:00
Daniel MiegandtiloKo 0a738e882c [ABAP] Refactor steps to allow API migration (#4687)
* Initial API Manager

* Intermediate part

* Intermediate step

* Fix utils tests

* Adapt pull

* Migrate Checkout

* Refactor createTags

* Refactoring

* Setup tests for SAP_COM_0510

* Add tests

* Refactor parsing

* Add retry to clone

* refactor

* Refactor and tests

* Fix function call

* Adapt create tag tests

* Adapt tests

* Add tests

* Fix tests

* Fix test

* Fix client mock

* Add unit test comments

* Add missing parameters

* Branch not mandatory for clone

* Improve switch branch trigger

---------

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-11-28 13:26:31 +01:00
Daniel Mieg 6e2ecefc2f Add scheduled status (#4668)
* Add scheduled status

* Add test

* Improve log output
2023-11-13 21:17:49 +01:00
Daniel Mieg 994e87479d ABAP: Add details for EOF errors (#4442)
* Add details for EOF errors

* Add testcase

* remove test

* Add unit test
2023-07-18 09:05:53 +02:00
Daniel Mieg 7147209e3e Improve logging for ABAP steps (#4316)
* Fix logs

* Increase number of entries
2023-04-04 12:46:03 +02:00
Daniel Mieg 549b32c675 Adapt to backend API changes (#4309)
* Remove legacy logging

* Implement new requests

* Improve Tests

* Adapt tests

* Refactor

* Fix tests
2023-03-31 15:26:38 +02:00
Daniel MiegandtiloKo 8084ce1a94 Change to default cf create-service implementation (#4224)
* Change to default cf create-service

* Adapt test

* Adapt tests

* Remove comment

---------

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-03-08 09:44:00 +01:00
Daniel MiegandtiloKo 54d0c68feb Add parameter for async execution (cfCreateServiceKey) (#4209)
* Add parameter for async execution

* Add default

* Adapt tests

* Add defaults for ABAP

---------

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2023-02-08 14:51:52 +00:00
Daniel Mieg 74b5527f1c Increase cf cli to v8 for ABAP steps (#4183)
* Increase docker image version

* Add --wait

* Test

* Adapt to new cf cli

* Parse both for cf cli v8 and v7

* Remove input

* Adapt to feedback

* Check for nil error
2023-01-12 08:39:14 +00:00
Daniel Mieg 6f9e3dbb04 Revert "Increase docker image version (#4159)" (#4169)
This reverts commit 380689e5c4.
2022-12-21 10:12:13 +01:00
Daniel Mieg 380689e5c4 Increase docker image version (#4159) 2022-12-21 09:48:49 +01:00
Daniel Mieg 37a3504152 Adapt default (#4066) 2022-10-12 13:46:19 +02:00
Daniel MiegandtiloKo ebac0da332 Add create tag to abapEnvironmentPipeline (#3870)
* Add alias

* Add step and defaults

* Add closing }

* Add test

* Remove alias

* initial copy

* Change step activation

* Change test

* Read foreign config

* Fix Syntax

* Test

* Test

* Only consider stage config

* Test config

* Test

* Test

* Change echo

* Fix

* Test

* Default test

* Uncomment

* Test different outputs

* Adapt Config

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-10-12 10:20:13 +02:00
Daniel Mieg 39a5ca04b1 Fix typo (#3901) 2022-07-19 16:04:15 +02:00
Daniel Mieg 6cf4e98b12 Add alias to CreateTag (#3871) 2022-07-05 09:59:37 +02:00
Daniel Mieg 6ff4143b08 Execute checkout & pull when already cloned (#3850)
* Execute checkout & pull when already cloned

* Revert

* Disallow config overload

* Add custom error handler for clone

* Implement new pull parameters

* Add tests

* Formatting

* Rename Param

* Add comment

* Add docu

* Adapt testst to merge

* Fix Unit Test
2022-06-30 10:43:33 +02:00
Daniel Mieg 8923d1e583 Add Execution Log (#3863)
* Add Execution Log

* Adapt Tests

* Remove log
2022-06-29 15:50:33 +02:00
Daniel Mieg cf617cb30e Add stage default (#3864) 2022-06-29 15:02:32 +02:00
Daniel MiegandtiloKo 3184785c5e Add parameter to pull step (#3851)
* Add parameter to pull step

* Add test for config

* Adapt docu

* Update resources/metadata/abapEnvironmentPullGitRepo.yaml

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>

* Regenerate

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-06-28 11:02:15 +02:00
Daniel Mieg 8ce7577a34 Handle empty http response correctly (#3805) 2022-05-25 13:57:13 +02:00
Daniel Mieg ddb28899bf ABAP Environment Create Tag: Add Groovy Step and Docu (#3797)
* Add groovy and docu

* Fix lint issue
2022-05-23 16:28:46 +02:00
Daniel MiegandtiloKo cda6e71ab9 Add ABAP step: createTag (#3633)
* Cloud Platform -> BTP

* Initial generation of new step

* add flag

* wip

* Fix warnings

* Add command

* Added Tag Decription

* Add status check

* Improve handling

* Improve handling

* Add test for happy path

* Add test reports to gitignore

* Add second test

* Improve createTag

* Add testcase

* Adaptions

* Add test

* Update cmd/abapEnvironmentCreateTag.go

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>

* Update cmd/abapEnvironmentCreateTag.go

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>

* Adapt error handling

* Improve coding

* Add info

* Disallow repositories and repositoryName at the
same time

* Regenerate

* Adapt to feedback

* Update cmd/abapEnvironmentCreateTag.go

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>

* Update cmd/abapEnvironmentCreateTag.go

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-05-23 15:15:22 +02:00
Daniel Mieg a5fcc7517b Improve logging (#3788) 2022-05-19 16:59:37 +02:00
Daniel Mieg 1d850c0acc Debug config keys in general section (#3785)
* Make config keys available in general

* Test

* Log Formatting

* Fix

* Remove echo

* Dashed length

* Add comment

* revert changes
2022-05-19 14:18:14 +02:00
Daniel Mieg 3fea61e8b0 Add debug flag to stage config (#3771) 2022-05-09 14:12:53 +02:00
Daniel Mieg 3f54eb74bc ABAPEnvironmentPipeline: move cloudFoundryCreateServiceKey (#3712)
* Move cloudFoundryCreateServiceKey

* Adapt tests

* Update defaults

* Fix Unittest

* Fix test

* Adapt test

* Fix

* Adapt
2022-05-03 12:52:44 +02:00
Daniel Mieg 399a334760 Fix .gitignore (#3760)
* Fix gitignore

* Create dummy commit to retrigger cla
2022-05-02 10:41:20 +02:00
Daniel Mieg b2209c088a Extend codeowners (ABAP) (#3761)
* Extend codeowners (ABAP)

* formatting
2022-04-28 14:47:58 +02:00
Daniel Mieg 9710a9b1f6 Update cloneRepositories.md (#3758) 2022-04-28 13:37:14 +02:00
Daniel Mieg 85957798ae Update abapEnvironmentPullGitRepo.md (#3757) 2022-04-28 12:38:27 +02:00
Daniel Mieg 6651eaf6c8 Cloud Platform -> BTP (#3634) 2022-03-14 15:12:35 +01:00
Daniel Mieg 4743c2a3e7 ABAP Environment Pipeline: change configuration example (#3578)
* Change placeholder

* Adapt naming

* Fix copy issues

* Change case of filename

* Adapt references
2022-02-23 17:27:44 +01:00
Daniel Mieg 9250ad9530 Update Test.md (#3577) 2022-02-23 14:56:22 +01:00
Daniel Mieg f08ff92171 New log entities for Pull & Clone (#3517)
* WIP

* New Logs

* Improving

* Determine log output based on available entities

* Increase width

* Add line

* Adapt TestPollEntity

* Format

* Fix query

* Adapt tests

* Fix test

* Improve formatting

* Retern early in case of no logs

* Remove duplicate log
2022-02-11 10:16:40 +01:00
Daniel Mieg 275d8fbe6c Update Introduction (#3433) 2022-01-14 11:31:54 +01:00
Daniel Mieg 8634d8bb12 Add easy mode for AUnit & ATC (#3389)
* remove mandatory flag from config files

* Enable repo.yml as config

* Adapt to merge

* Refactoring

* Refactoring

* avoid panic

* Add comments

* Add easy mode for atc

* Add tests

* Add test

* Refactor

* Add test for MPS

* Updates

* Rename functions

* Add files to gitignore

* Rename

* Renaming

* Renaming

* Renaming

* Improve error messages

* Update documentation

* Add logging

* Rename

* Extend gitignore
2022-01-12 12:02:27 +01:00
Daniel Mieg b5da011200 Consistent config for AUnit (#3395)
* Unify singular/plural in config files

* singular -> plural

* adapt

* Change
2021-12-23 13:33:01 +01:00
Daniel Mieg 2bb6c21337 ABAP environment: add tag support (#3376) 2021-12-20 17:58:58 +01:00
Daniel Mieg 08a0fc0cd4 Update configuration.md (#3322) 2021-11-30 09:24:33 +01:00
Daniel Mieg 50b36794b1 Fail properly in Integration Tests (#3282)
* Require success for publish

* Echo and tets

* Fix test

* Improve test

* Update docu

* Let Integration Test throw

* Update publish.md

* Remove condition for publish

* Update docu
2021-11-16 09:32:09 +01:00
Daniel Mieg 2e77dff4f0 Add debug flag (#3267)
* Add debug flag

* Move debug flag to general keys

* Add Tests
2021-11-11 18:29:24 +01:00
Daniel MiegandtiloKo ae702bd400 Update configuration.md (#3270)
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-11-11 17:15:30 +01:00
Daniel Mieg 45a59a8806 Update abapEnvironmentRunAUnitTest.md (#3268) 2021-11-11 16:27:15 +01:00
Daniel Mieg d79989278b Update configuration.md (#3266) 2021-11-11 15:53:01 +01:00
Daniel Mieg 0d7d4f22c8 Add skipCheckout Flag (#3210)
* Add skipCheckout Flag

* Add tests
2021-10-27 13:30:44 +02:00
Daniel Mieg e9b3e79f3a Change loglevel to debug (#3107) 2021-09-23 10:05:44 +02:00
Daniel Mieg 9c76b89fb8 Add telemetry for abapEnvironment steps (#3016)
* Remove explicit telemetry from signature

* Set log level

* ATC set error category
2021-08-04 17:31:16 +02:00
Daniel Mieg ccdedd4599 Add stage defaults (#2841)
* Add stage defaults

* Adapt defaults

* Change default file

* Rename config files

* Add defaults for Build stage

* Change and escape cfServiceKeyConfig

* Remove service key config

* Fix typo

* Change quotes

* Add default for Publish

* Add cfDeleteServicesKeys to defaults
2021-06-23 10:04:15 +02:00
Daniel Mieg 3c9f993101 Fix step not showing error status (#2758)
* Expose error to step

* Adapt to codeclimate
2021-04-14 09:31:50 +02:00
Daniel MiegandtiloKo 9679d96e7b Update post.md (#2714)
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-03-25 14:59:26 +01:00
Daniel Mieg 0adca357da remove warnings (#2698)
* remove warnings

* fix markdown
2021-03-15 10:49:42 +01:00
Daniel Mieg 3f8a1f141b Update abapEnvironmentCloneGitRepo.go (#2656) 2021-02-26 09:27:22 +01:00
Daniel Mieg 43fa6634ee Updates for ABAP Environment release 2102 (#2621) 2021-02-21 20:19:42 +01:00
Daniel Mieg 484d9c2ec1 Increase cf-cli version for abap steps (#2613) 2021-02-16 18:03:29 +01:00
Daniel Mieg cb3ad328f5 test (#2611) 2021-02-15 11:06:07 +01:00
Daniel Mieg d610c96b63 Increase ppiper cf-cli version to v7 (#2590)
* Increase ppiper cf-cli version to v7

* Change v7 to 7
2021-02-11 12:54:11 +01:00
Daniel Mieg d23e26f87f Revert "Parallel test processing for abaputils (#2570)" (#2578)
This reverts commit e6086ad4a7.
2021-02-04 15:19:42 +01:00
Daniel Mieg e6086ad4a7 Parallel test processing for abaputils (#2570)
* add parallel test processing

* Add more t.Parallel

* add parallel to run

* Remove obsolete parallel statements
2021-02-03 17:31:49 +01:00
Daniel Mieg 2ee4a47d05 Add commitID to Add-on Doku (#2565) 2021-02-01 11:27:06 +01:00
Daniel Mieg 05b51d3e82 use compatible cf-cli (#2556) 2021-01-29 12:11:25 +01:00
Daniel Mieg 50ba60f078 Docu improvements (#2547)
* Add line breaks

* Introduce line breaks
2021-01-27 18:24:21 +01:00
Daniel Mieg cf69206a58 Docu updates (#2545)
* Docu updates

* Remove empty lines

* Add quotes

* Change to list
2021-01-27 17:18:28 +01:00
Daniel Mieg 273012ddfc Fix marshalling a boolean (#2521) 2021-01-18 11:14:55 +01:00
Daniel Mieg 44e7766e8f Add stage docu (#2460)
* Add stage docu

* Add table to configuration.md

* Add comment to clone repo stage

* Fix indentation errors

* Docu: commitID

* fix links
2020-12-10 14:28:03 +01:00
Daniel Mieg a3ff90f632 Fix: Change URL creation for abapEnvironmentCloneGitRepo (#2452)
* Fix url creation

* Adapt url creation
2020-12-08 09:31:08 +01:00
Daniel Mieg b001474edd Remove input statement (#2419)
* Remove input statement

* adaptDocu
2020-12-04 10:03:41 +01:00
Daniel Mieg 4573410379 Update abapEnvironmentAddons.md (#2446) 2020-12-04 09:31:53 +01:00
Daniel Mieg 518d2fe88d Add parent_saas_appname (#2434) 2020-11-30 10:50:43 +01:00
Daniel Mieg 01c896c73b Add scenario documentation for test setup (#2402)
* Adapt docu

* Improve docu

* Small adaptions

* Small fix

* Fix typos
2020-11-19 15:47:01 +01:00
Daniel Mieg 712c568087 Create groovy step for abapEnvironmentCreateSystem (#2303)
* Create groovy step

* add to pipeline

* add includeAddon

* Adapt docu

* Adapt groovy test

* adapt stage addonBuild

* add comma

* Add to docu

* Upper case spelling

* Update docu

* adapt docu
2020-11-11 17:08:24 +01:00
Daniel Mieg 2c432124fc Unify strategy spelling (#2345)
* Update abapEnvironmentPipelineStageCloneRepositories.groovy

* Adapt test
2020-11-10 16:45:16 +01:00
Daniel Mieg 6d783d5a38 ATC Checks hotfix (#2313) 2020-11-04 12:33:31 +01:00
Daniel Mieg 02a5131256 Adapt parameter names (#2304)
* Adapt parameter names

* add ignore addon option

* change ignore to include
2020-11-03 13:41:39 +01:00
Daniel Mieg aa9dd3b199 Add step abapEnvironmentCreateSystem (#2273)
* Create initial step

* Add parameters for system creation

* Creating a tmp manifest.yml

* Add descriptions

* regenerate

* Create tests

* fix codeclimate issue

* Test

* Test2

* Test3

* Replace os.getTempDir

* Change to fileUtils

* Remove FileUtil
2020-11-03 12:02:13 +01:00
Daniel Mieg 7639175def Add commit to clone and pull (#2258)
* commit ID for clone

* commit ID for clone

* Remove old default values

* Add commitID to Pull

* Print http response on debug level

* Fix tests

* Adapt tests

* Shorten sleep

* Fix clone tests

* Add ignore commit option

* Adapt tests

* Adapt docu

* Implement feedback

* fix codeclimate issue
2020-11-02 14:17:13 +01:00
Daniel Mieg c2bd05fb3d Add option to include a deletion prompt for Steampunk systems (#2198)
* Test out delete confirmation

* Second try

* Add confirmation for Integration Tests system

* Fix defaults

* Change default

* Adapt text

* Change default handling

* Adapt addIfEmpty

* Add pipeline test

* Add tests
2020-10-29 10:30:50 +01:00
Daniel Mieg bc71c06a52 Update abapEnvironmentAddons.md (#2205)
* Update abapEnvironmentAddons.md

* Update abapEnvironmentAddons.md
2020-10-20 10:53:22 +02:00
Daniel Mieg 5003ac09ae Add initial docu for scenario: "Build and Publish ABAP Add-ons" (#2204)
* Add initial docu

* Small fixes

* Fixes

* Markdown linting fixes
2020-10-19 18:16:54 +02:00
Daniel MiegandChristopher Fenner 961b4c771c fix(docs): ABAP Pipeline docu fixes (#2188)
* ABAP Pipeline docu fixes

* Update introduction.md

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-10-15 20:23:04 +02:00
Daniel Mieg 23569b3a5c ABAP steps docu improvements (#2182)
* Docu Feedback

* Regenerate
2020-10-15 14:57:33 +02:00
Daniel Mieg fe1fc7bd69 Fix EOF http issue (#2134) 2020-10-07 08:46:12 +02:00
Daniel MiegandOliver Nocon 1e0e230be8 Adapt pipeline docu (#2096)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-10-06 11:00:19 +02:00
Daniel Mieg ae213a013e Add stages for build process to ABAP Environment Pipeline (#2052)
* Add stages for build process

* fix typo

* Add createServiceKey to Build stage

* Fix typo

* Inital Checks is required when Build stage is exec

* Switch Order

* Fix Typo

* Add parameter for confirmation

* add "addIfEmpty"

* Add import

* revert

* revert2

* Remove import

* revert3

* Add stages to docu

* Update image
2020-10-02 17:03:43 +02:00
Daniel Mieg 836075e2dd Changes to commonPipelineEnvironment for ABAP (#2035) 2020-09-17 09:36:53 +02:00
Daniel Mieg cf4c7fd893 Correction in abaputils (#1958)
* Fix

* Adapt errors

* Consider unexpected JSON

* defer closing the response body

* Add comments to explain function

* Improve assert statements semantically

* Change comment format due to CodeClimate

* Extract sub function
2020-08-26 16:45:09 +02:00
Daniel Mieg 13e5a943b2 Add groovy file and documentation for cloneGitRepo step (#1954)
* Add groovy file and documentation

* Add quotes to docu

* Fix request
2020-08-26 09:52:50 +02:00
Daniel Mieg 04b8a5cbd7 Add golang step for abapEnvironmentCloneGitRepo (#1921)
* Add yaml

* Initial files

* Add inital functions

* Create Test file

* Initial trigger clone function

* Add command

* Adapt manageGitRepositoryUtils

* Enable Repositories yaml

* Add handleHttpError Tests

* Adapt CodeClimate Feedback

* Add tests for error messages

* Adapt error messages and handling

* Adapt gitignore
2020-08-21 14:49:48 +02:00
Daniel MiegandOliver Nocon dc9e04f7ee Adapt documentation of ABAP Environment Pipeline (#1928)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-08-18 10:38:14 +02:00
Daniel Mieg 7ea5b09555 Improve tests for cf steps (#1875)
* Improve Tests for cf steps:
CreateServiceKey and Delete Service

* Fix CodeClimate issues

* Adapt descriptions

* Defer logout
2020-08-10 11:08:34 +02:00