Sven Merk
e1ea56076f
Http improve retry on timeouts ( #2681 )
...
* Add sca cmd extensibility
* Fix formatting
* HTTP retry
* Improve handling of retry on timeout
* Go fmt
* Fix test
* Fix test
* Test stability
* Fix test
* Fix test
* Fix test
* Update fortifyExecuteScan.go
2021-03-09 13:41:07 +01:00
Christopher Fenner
5184a76453
chore(http): allow to send prepared requests ( #2580 )
...
* Update http.go
* fix c&p issue
* convert URL to string
* Apply suggestions from code review
fix code climate findings
* add test case
2021-02-08 14:26:15 +01:00
Christopher Fenner
9ec282fd0c
test: allow usage of httpmock in tests ( #2576 )
...
* add test case
* add flag for default transport
* Update go.mod
* Update go.sum
* fix spaces
* fix format
* Update http_test.go
* Update http_test.go
* Update http_test.go
* Update http_test.go
* Update http_test.go
2021-02-04 14:58:35 +01:00
Sven Merk
3e0a2835fd
Improve HTTP test to cover more retry capabilities ( #2528 )
...
* FF disable fulltextsearch
# Conflicts:
# pkg/fortify/fortify.go
# pkg/fortify/fortify_test.go
* Improve test on HTTP retry capabilities
* Improve HTTP retry test
2021-01-22 09:56:56 +01:00
Marcus Holl
9172fcae04
Don't expose auth header to log ( #2334 )
...
Do not expose auth header to log
2021-01-04 10:06:28 +01:00
Sven Merk
3c7712f2ee
Retry capabilities for HTTP requests + enablement for Checkmarx step ( #2346 )
2020-11-11 13:35:53 +01:00
Christopher Fenner
e859ed3375
feat(http): expose tls insecure flag ( #2324 )
...
* expose tls insecure flag
* fix tls disabling
* move debug message
* add test case
2020-11-09 11:47:03 +01:00
Christopher Fenner
b7afe8bbf5
feat(http): support empty passwords ( #2206 )
...
* add test case
* allow zero-length passwords
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-11-03 19:36:52 +01:00
Christopher Fenner
6999380ee3
chore(go): simplify code using gofmt -s ( #2065 )
2020-09-24 08:58:53 +02:00
Christopher Fenner
b219fb6514
fix(typo): found by misspell ( #2064 )
...
* fix typos in step yamls
* fix typos in go files
* regenerate step code
* fix typos in md files
* fix typos in groovy files
* fix further typos
2020-09-24 07:41:06 +02:00
Chris Bo
9558b47268
Introducing new step 'gctsExecuteABAPUnitTests' ( #1532 )
...
* add new step 'gctsExecuteABAPUnitTests'
* added new step entries
* small wording improvement
* regenerated
* fixed unit tests
* adjusted prerequisites
* removed telemetry
* remove command
* moved functions to http package
* newly generated
* remove commented code
* use credentials ID in config.yaml
* add supported protocols to docu
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-07-14 10:58:57 +02:00
Stephan Aßmus
c693c4c7dc
Increase default transport timeout to 3 mins ( #1648 )
2020-06-10 11:14:55 +02:00
Stephan Aßmus
527baf28fd
Future proof the http-timeout test for go 1.14 ( #1321 )
...
Fix flaky test expectations. The exact error message has changed in go 1.14.
2020-03-31 09:18:09 +02:00
Stephan Aßmus
804bd8e3e0
http.go: Set fine-grained timeouts ( #1257 )
...
* Replace the default maximum request deadline with a default timeout on the transport level.
* Keep the possibility to set a maximum request deadline.
2020-03-23 15:02:22 +01:00
Sven Merk
cbe368fe36
Checkmarx as golang ( #1075 )
...
* Added base functionality for checkmarx interaction
* Extend http client with file upload capabilities
* Latest changes
* Add debug logging
* Introduce Uploader interface
* Add tests for checkmarx client
* Hook new checkmarx command
* Improve coverage
* Add tests
* Improved test coverage and fixed code
* Add influx reporting
* Add alternation capabilities
* Add groovy step
* Try fix cmd
* Enhancements
* Fix report generation
* Final performance improvements
* Fix code
* Structure code, cleanup
* Improvements
* Fix codeclimate issue
* Update groovy
* Adapt latest changes to http
* Fix test
* Fix http tests
* Fix test
* Fix test
* Fix test 2
* Fix code
* Fix code 2
* Fix code
* Code
* Fix
* Fix
* Add report and link handling
* Fix returns, add groovy test
* Review comments
* Added doc template
* Docs update
* Remove SAP internals
* Better status display
* Add name to link
* Fix test
* Fix
* Fix verbose handling
* Fix verbose handling 2
* Fix verbose handling 3
* Fix
* Tiny improvements
* Regenerate
* Fix test
* Fix test code
* Fix verbosity issue
* Fix test
* Fix test
* Fix test
2020-01-27 23:40:53 +01:00
Sven Merk
71d0842c07
Update http_test.go
2020-01-22 15:26:35 +01:00
Sascha Vornheder
979ed1fabd
added check that only POST and PUT is allowed for upload
2020-01-22 15:10:40 +01:00
Sascha Vornheder
1ae1be9cb9
improved Upload to handle http.Method
2020-01-22 14:22:04 +01:00
Sven Merk
acadf24d27
Add upload of files
2020-01-14 10:29:50 +01:00
Oliver Nocon
df1c61dcd7
Add http package ( #1033 )
...
* Add http package
This serves for http calls in future piper steps implemented ingolang
2019-12-09 17:35:31 +01:00