Releases: metal-toolbox/conditionorc
Releases · metal-toolbox/conditionorc
v1.1.2
v1.1.1
Changelog
- 46a1a64 Publish condition to Jestream based on Condition kind
- 76beced add an API to kick off validation (#243)
- 1041e26 api/conditions/routes: fix merge rebase changes
- da1ca82 api/orc/routes: disable linter for test file
- 04e2315 api/orc/routes: use created logger entry
- e5a14bf api/v1/conditions: update client user agent, comments
- ba499a8 api/v1/orc: Add API client methods and request helper methods
- 9be677b api/v1/orc: Add handler to fetch a Condition from the Jetstream
- b780c2e api/v1/orc: Add statusvalue KV publish handler
- 39e0d00 api/v1/orc: Add tests on client Do() method
- 0c6addb api/v1/orc: Add tests on client methods
- 2b873d3 api/v1/orc: Client constructor returns Queryor interface
- 951fcff api/v1/orc: Fetch pending Condition from KV instead of Jetstream
- a4e780e api/v1/orc: Purge liveness endpoint handlers
- 052ddc5 api/v1/orc: StatusKV interface - ControllerID is the ServerID for inband controllers
- 3198c82 api/v1/orc: TaskQuery handler to use GetActiveCondition
- 00dd238 api/v1/orc: Update handler tests for conditionGet
- 95b4f22 api/v1/orc: Update route handler tests for ConditionPending endpoint
- d3c17ad api/v1/orc: Updates client tests
- 9530fa9 api/v1/orc: add liveness KV publish handler
- fc038a2 api/v1/orc: add task KV publish, query handler
- 9b19e5d api/v1/orc: client - mend tests for updated conditionStatusUpdate handler
- 56cd278 api/v1/orc: client interface, implementation updated based on API changes
- 985d463 api/v1/orc: conditionStatusUpdate handler to use GetActiveCondition()
- d1e425e api/v1/orc: conditionStatusUpdate to return 404 on condition not found
- 045ba86 api/v1/orc: conditionStatusUpdate() handler updated to remove controllerID references
- cce2efa api/v1/orc: integration tests for livenessKV
- 94f2223 api/v1/orc: integration tests for statusValueKV
- 91434a0 api/v1/orc: integration tests for taskKV
- 8fc5d98 api/v1/orc: reduce the required scope for the Orchestrator API routes
- 9793626 api/v1/orc: remove controllerID references from taskKV interface methods
- c1ce8fd api/v1/orc: removes conditionKind as a parameter for the condtionGet route
- cb9c191 api/v1/orc: taskKV interface returns stale entry error
- e231e65 api/v1/orc: taskPublish handler to return 404 on condition not found
- f7157e4 api/v1/orc: taskQuery() handler changes
- 472f6b6 api/v1/orc: update handler conditionPending() -> conditionGet()
- 177b89b api/v1/orc: updated client mocks
- 0dc1ebd api/v1: include acquire, release server conditions in composite
- 8cd17d6 chore(deps): update anchore/sbom-action action to v0.17.0 (#233)
- 979a85f chore(deps): update anchore/scan-action action to v4 (#234)
- 1b787d0 client_auth_test: use go-jose/go-jose.v2
- 470693e create or bind the task KV bucket (#248)
- b56efe6 fix(deps): update module github.com/metal-toolbox/fleetdb to v1.19.3 (#224)
- 9a97350 fix(deps): update module github.com/swaggo/files to v2 (#246)
- b1c018c fix(deps): update module golang.org/x/oauth2 to v0.22.0 (#250)
- 4c65356 go mod tidy
- 566df42 lint: purge trailing newline
- bd6158e mockery: disable expecter and set unroll-variadic to true
- 549dd24 mockery: generate mocks for orc client Queryor interface
- 4d7d4b7 mod: update go-jose to 2.6.3
- 01ae42e pkg/api/v1/orc: Update statusValueKV interface mocks, tests
- 3387b64 pkg/api/v1/orc: generate mocks for client doer interface
- 172d4f6 update deps (#249)
v1.1.0
Changelog
- a7fedd4 delete unlinked status if we can't update a CR
- 8e20201 fleetdb: return error instead of CreatedAt value update
- 358232a fleetdb: set CreatedAt to UpdatedAt when its undefined
- 32adafb orc/updates: ensure ConditionUpdate.CreatedAt is set
- a59244f orc/updates: test cases for collapse filterIncompleteRecords() into filterToReconcile()
- e2a9c38 orchestrator/updates: collapse filterIncompleteRecords() into filterToReconcile()
- 3076982 write history if unlinked condition is in a final state
v1.0.10
v1.0.9
Changelog
- bfbac63 Publish() method signature updated
- 948f501 Use mockery for generating mocks, replace existing
- af53a79 Vc/record event history (#237)
- dbe50d0 [FS-1568]Add the draft server provision api (#238)
- 68a5b28 api/v1/client: update tests to use testify/mock instead of gomock
- e7b9f4b api/v1/cond: purge unused orchestrator routes init
- fc85d89 api/v1/conditions: pass in facility code
- e849039 api/v1/events: switch to rivets/events and use testify/mock instead of gomock for tests
- e099711 api/v1/orc: Add routes, types
- 112a2eb api/v1/routes, types: switch to rivets/events, update tests to use testify/mock
- 4b6d783 api/v1/routes: remove redundant mock assertations
- 6ee9ffa api/v1/routes: setup orchestrator API routes
- 1a76367 api/v1: include acquire, release server conditions in composite
- 5a1a3b1 api/v1: move conditions API client into its package
- 11d390f api/v1: purge remaining gomock bits
- 67a8222 api/v1: update mock Publish in tests to pass rollup bool parameter
- 1c6a967 chore(deps): update actions/setup-go action to v5 (#168)
- 4cbb7f6 chore(deps): update docker/build-push-action action to v6 (#215)
- b768a80 chore(deps): update github/codeql-action action to v3 (#175)
- b4ee2d2 chore(deps): update golangci/golangci-lint-action action to v6 (#212)
- 975fe15 cmd/orchestrator: initialize orchestrator service with API endpoints
- a52300c cmd: move enable OIDC auth flag to top level for reusability
- 23f9efd condition publish method accepts a rollupSubject bool parameter
- 86c48e6 event handler refactor (#232)
- 8d3d13f fix(deps): update module github.com/swaggo/files to v2 (#165)
- e0124b8 fixes tests for Publish method signature update
- d73caf8 go: mod tidy to clean up gomock
- dda8bc8 go: pin to rivets v1.2.0
- 2a0a738 go: run go mod tidy
- b20701f go: update rivets to release with events Publish(), PublishOverwrite() methods
- dd411ed internal/orchestrator: conditions API client was moved into its own package
- 7426af0 internal/store, orchestrator: switch to rivets/events
- 68e38dd mockery: update configuration to skip parameters passed to variadic functions from being 'unrolled'
- f27b8f2 mocks replaced by generated mocks in previous commit
- f777a5e orchestrator/updates: fixes test to accept facility parameter
- 2c8f99c orchestrator: purge dependency on controller library
- ebb92f6 rivets: use v1.0.9 which includes updated stream interface, impl
- 5b607c2 server: enable server to initialize orchestrator API router
- 855256d server: initialize Conditions, Orchestrator API routes
- 53731a8 skip linting test files
- 6594cc6 v1/conditions/routes: un list conditions we're not ready for as yet
v1.0.8
Changelog
- 15bf320 Configure chainguard to accept commits signed by GitHub (#210)
- 1a43927 Fix copy/paste error in firmwareInstall() tracing (#211)
- 1f4de26 ci: skip linter cache setup to fix linting issues
- 65b218c ci: switch to newer linter action
- 04969c8 ci: update various other actions
- 978f81a go: pin to rivets with 2h Condition stale threshold
- 8d87e34 go: update deps
- 6f7ddf3 go: update fleetdb to current release
- 44a9d17 orc/updates: set KV update msg to be trace level
- 684b337 orchestrator/notify: move slack notify message to trace level
- a8dfc17 orchestrator/updates: fix tests for updated condition threshold
- 88cce23 store/nats: GetActiveConditions set debug logging to trace
- c9c2536 tests: fix intermittent test failures with NATS server
- dcbe415 v1/types: Condition create requires a TargetID
- 3a3b83d v1/types: update condition merge error to be clearer about cause
v1.0.7
Changelog
- bee6621 api/v1/types/MergeExisting: ensure Target value is merged
- 665faaf api: purge unused HSS events related code
- beac1cf go: pin to rivets release with Condition type changes
- 323b2c9 go: pin to rivets with periodic updates
- c60a8b8 go: pin to rivets with required consts
- f222c96 go: update deps
- a467ae7 metrics: define a few additional metrics for collection
- 289635a orchestrator/updates: activeConditionsToReconcile() refactor to return creates and updates
- 65d91bb orchestrator/updates: attempt Create and then Update
- be9b90a orchestrator/updates: collect nats error metric on failed update, remove TODO comments
- e25b7b1 orchestrator/updates: enable the reconciler
- ba676e4 orchestrator/updates: filterToReconcile() method to return creates and updates
- 04a9120 orchestrator/updates: fix tests for changes to shared WaitGroup object
- adf4f9e orchestrator/updates: fix up a few comments
- e960421 orchestrator/updates: instrument methods with metrics
- 69629dd orchestrator/updates: move Condition StaleThreshold const to rivets
- fa75e48 orchestrator/updates: reconcile Conditions assigned to dead controllers
- 43abd8c orchestrator/updates: reconcile active-condition records
- d423cf3 orchestrator/updates: record KV entry update parse errors in span
- 47e8a6f orchestrator/updates: remove redundant filter by Condition Kind, add tests
- b5dd851 orchestrator/updates: split up reconciliation into two separate methods
- c0ad0a6 orchestrator/updates: split up the eventUpdate method
- 577fb96 orchestrator/updates: stale status threshold constant from rivets/events/controller
- b202ef5 orchestrator/updates: testcases to verify reconcile is limited to configured facility
- 0c707e9 orchestrator: purge HSS event listener, this is not being pursued anymore
- 60cbd90 orchestrator: remove shared waitgroup, setup separate one for reconciler
- 06c9365 orchestrator: rename method eventUpdateFromKV to parseEventUpdateFromKV
- 1615d3b pkg/api: A few minor comment, log entry updates
- a91be6d store/nats: Create() use Condition states when available
- 3ea07ea store/nats: List() method returns all entries in active-conditions
- 2a33811 store/nats: fixes a nil active condition being returned
- 9bbb6db store/nats: include target ID in Condition payload
- ba82b2e store/nats: record nats error and orchestrator to not proceed on a List() error
- d60f6e7 types/ConditionUpdate: validate TargetID, wrap errBadUpdateTarget error
- 92f9b16 update builder golang image to 1.22 on Alpine 3.19 (#201)
- 4820aee v1/types: include a CreatedAt field on the ConditionUpdate type
v1.0.6
v1.0.5
Changelog
- 6c9a942 Changes to compilation to support linux (#192)
- 1e634f8 ci: checkout code before setup-go
- 1ee69b1 ci: use go.mod file for go version, fixes codeql error
- f916f57 github/ci: bump Go release to 1.22
- a3ffba4 go: bump to 1.22 and update deps
- aef1fe3 golangci-lint: update to newer release, include additional linters
- 1d0057e internal/fleetdb: rivets serverservice module renamed to fleetdb
- ec32377 linting
v1.0.4
What's Changed
- Update alpine Docker tag to v3.19.0 by @renovate in #161
- Bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #171
- dependency update by @DoctorVin in #176
- add some metrics for condition api and orchestrator by @DoctorVin in #180
- refresh the status kv watcher on more than a single nil on the updates channel by @DoctorVin in #181
- routine dependency update by @DoctorVin in #182
- FS-1240; Update firmwareinstall active condition http error by @jakeschuurmans in #184
- [FS-1253] make 'no active condition' handling uniform by @DoctorVin in #185
- update dependencies by @DoctorVin in #186
New Contributors
- @dependabot made their first contribution in #171
Full Changelog: v1.0.3...v1.0.4