Commit Graph

5 Commits

Author SHA1 Message Date
Gunjan Vyas 2a182cc7c7
Changing the Default retry value (#1463)
* Changing the Default retry value

* Moved default retry variable to pkg/config

* Removing MaxRetries constants

* Use UpdateServiceWithRetry function during service create

* remove all instances of MaxUpdateRetries
2021-10-01 07:56:07 -07:00
Christoph Deppisch 09f14b1056
Fix describe/list commands with json/yaml output format (#1278)
* Fix describe/list commands with json/yaml output format

Makes sure to always set proper GroupVersionKind on unstructured objects and lists to avoid marshalling errors when printing in json/yaml output format.

* Deliberately decide to add GVK only to list/read operations in the tests

* rebased and cleaned up

* add some unit tests

Co-authored-by: Roland Huß <rhuss@redhat.com>
2021-09-21 05:32:37 -07:00
Gunjan Vyas 94c8d33b51
Adding retry loop to update (#1441)
* Adding retry loop to service update

* Added UpdatePingSourceWithRetry method

* Added UpdateTriggerWithRetry function

* Added unit test for UpdatePingSourceWithRetry

* Added unit tests for UpdateTriggerWithRetry

* Refactoring changes

* Added UpdateSubscriptionWithRetry method

* Added retry loop to domain mapping command

* Added retry loop to container command

* Added unit tests for mock types

* Add Changelog entry

* Updated changelog and refactored update function

* Updated variable names
2021-09-13 05:53:32 -07:00
David Simansky 0c6ef82a56
Fix Subscription's Channel to use KRefence type (#1326) 2021-05-25 07:54:38 -07:00
David Simansky 910d136563
Upgrade Eventing API from v1beta1 to v1 (#1284)
* Upgrade Eventing API from v1beta1 to v1

* Update vendor dir

* Fix channel ref parsing

* Remove leftover v1beta1 in docs & tests
2021-04-08 07:42:51 -07:00