Skip to content
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: sapcc/go-api-declarations
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.14.1
Choose a base ref
...
head repository: sapcc/go-api-declarations
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.14.2
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 14, 2025

  1. Add extended info to api

    VoigtS committed Mar 14, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e26e4f0 View commit details

Commits on Mar 23, 2025

  1. Merge branch 'main' into was_extended

    majewsky committed Mar 23, 2025
    Copy the full SHA
    19ce8d8 View commit details
  2. rename WasExtended to WasRenewed

    This name is consistent with how this operation is otherwise called
    in the Limes API.
    majewsky committed Mar 23, 2025
    Copy the full SHA
    2e4b457 View commit details
  3. Merge pull request #43 from sapcc/was_extended

    Add renewal info to commitment API
    majewsky authored Mar 23, 2025
    Copy the full SHA
    536cf74 View commit details
Showing with 3 additions and 0 deletions.
  1. +3 −0 limes/resources/commitment.go
3 changes: 3 additions & 0 deletions limes/resources/commitment.go
Original file line number Diff line number Diff line change
@@ -59,6 +59,9 @@ type Commitment struct {
// NotifyOnConfirm can only be set if ConfirmBy is filled.
// Used to send a mail notification at commitment confirmation.
NotifyOnConfirm bool `json:"notify_on_confirm,omitempty"`
// WasRenewed indicates whether this commitment has been renewed.
// This means that a new commitment was created that will be confirmed when this commitment is set to expire.
WasRenewed bool `json:"was_renewed,omitempty"`
}

// CommitmentRequest is the API representation of a *new* commitment as requested by a user.