Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: keptn/go-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.16.0
Choose a base ref
...
head repository: keptn/go-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.17.0
Choose a head ref
  • 15 commits
  • 117 files changed
  • 9 contributors

Commits on Jun 3, 2022

  1. fix: Set the path properly for calls to api-service (#470)

    * fix: Set the path properly for calls to api-service
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * added test
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * removed debug output
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    bacherfl authored Jun 3, 2022
    Configuration menu
    Copy the full SHA
    a3c50ce View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. chore(go-utils): Removed deprecated subscription from uniform (#474)

    Signed-off-by: RealAnna <anna.reale@dynatrace.com>
    RealAnna authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    647fbac View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. feat: Add v2.KeptnInterface that adds context.Context support to …

    …`api.KeptnInterface` (#449)
    
    * Add `context.Context` to request methods
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add get method
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Use get methods
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `APIV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `AuthV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `EventsV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `LogsV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `ProjectsV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add initial context support to `ResourcesV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `ResourcesV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `SecretsV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `SequencesV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `ServicesV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `ShipyardControlV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `StagesV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `UniformV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add context to `Keptn` and `KeptnBase`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix comments
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Introduce APIV2Interface
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Second option: APIV2Interface with `...WithContext` methods
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Create `v2` as duplicate of `api` package
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.AuthInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.EventsInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.LogsInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.ProjectsInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.ResourcesInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.SecretsInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.SequencesInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.ServicesInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.ShipyardControlInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.StagesInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.UniformInterface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix `v2.Client`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * APIHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * AuthHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * EventHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * LogHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * ProjectHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * SecretHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * SequenceControlHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * ServiceHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * ShipyardControllerHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * StageHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * UniformHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Revert "Add context to `Keptn` and `KeptnBase`"
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Remove redundant test
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Revert `ResourcesV1Interface`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Rename and export implementation methods
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Fix options for `v2.ResourceHandler` methods
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * ResourceHandler: v1 embeds v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Remove redundant test
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add construction functions
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Harmonize construction functions
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Remove deprecated functions from v2
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add v2 construction functions
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Polish v2 handlers
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add missing functions for APIHandler
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * added missing api handler in GetMetadata()
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * added alias for v2.ResourceNotFoundError to stay backwards compatible
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * fix: Make sure all api handlers are set when using v2 api handlers in v1 (#479)
    
    * debug output
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * debug output
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * ensure that uniform handler is set
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * ensure that uniform handler is set
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * ensure that all api handlers are set
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
    arthurpitman and bacherfl authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0874051 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d19a1b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. chore: Introduce needed methods before deprecating kubernetes-utils (#…

    …477)
    
    * chore: Introduce needed methods before deprecating kubernetes-utils
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * move to correct folder
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * fix
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * restructuring
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * go mod tidy
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * restructure
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * refactor code
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * remove unneeded methods
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * first version of tests
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * covered by tests
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * missing comments
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * polish
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * fix
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * pr review
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    odubajDT authored Jun 24, 2022
    Configuration menu
    Copy the full SHA
    4d49101 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. fix: Use ExecuteCommand implementation from kubernetes-utils (#482)

    * fix: Use ExecuteCommand implementation from kubernetes-utils
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    
    * revert to older version
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    odubajDT authored Jun 27, 2022
    Configuration menu
    Copy the full SHA
    8d145bc View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. feat: Move commonly used modules from keptn/keptn into sub-packages o…

    …f go-utils (#483)
    
    * feat: Move commonly used modules from keptn/keptn into sub-packages of go-utils
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * feat: Move commonly used modules from keptn/keptn into sub-packages of go-utils
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * merge master
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * move internal api client utils to api package
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * try to fix sync issue
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * remove -race flag from test
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    bacherfl authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    3ed2fc6 View commit details
    Browse the repository at this point in the history
  2. feat: Refactor git remote repository credentials models (#475)

    BREAKING CHANGE: Git credentials for git authentication were moved to a separate sub-structure and split to either ssh or http sub-structures depending on the used authentication method.
    
    Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
    odubajDT authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    fc5b6f9 View commit details
    Browse the repository at this point in the history
  3. feat: Add v2.InternalAPISet that implements the v2.KeptnInterface (

    …#487)
    
    * Use new functions to construct handlers
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Consistency
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    
    * Add `v2.InternalAPISet`
    
    Signed-off-by: Arthur Pitman <arthur.pitman@dynatrace.com>
    arthurpitman authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    eb5fb9b View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. build(deps): bump peter-evans/create-pull-request from 4.0.1 to 4.0.4 (

    …#472)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 29, 2022
    Configuration menu
    Copy the full SHA
    89e6cad View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. fix: Make unit tests work with -race flag (#489)

    * adapted unit tests to make them work with -race flag
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * adapted unit tests to make them work with -race flag
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * fixed all unit tests
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    
    * enable -race flag
    
    Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
    bacherfl authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    9b0c779 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. fix(go-utils): Pass logger implementation from go-sdk to cp-connector (

    …#494)
    
    Signed-off-by: warber <bernd.warmuth@dynatrace.com>
    warber authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    29e14a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    8369229 View commit details
    Browse the repository at this point in the history
  2. fix: Use NetworkingV1 instead of deprecated ExtensionsV1beta1 (#492)

    Fixes keptn/keptn#4432
    
    Signed-off-by: Nitanshu Vashistha <nitanshu.vzard@gmail.com>
    nvzard authored Jul 5, 2022
    Configuration menu
    Copy the full SHA
    0fc8c36 View commit details
    Browse the repository at this point in the history
  3. chore(release): 0.17.0

    Keptn Bot committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    61b52e5 View commit details
    Browse the repository at this point in the history
Loading