Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: status page at GET / and GET /api/v1/status routes #68

Merged
merged 11 commits into from
Sep 25, 2023

Conversation

MicaiahReid
Copy link
Contributor

@MicaiahReid MicaiahReid commented Sep 23, 2023

Description

This PR makes the GET / and GET /api/v1/status available, and responds with a status object:

{ "version": "stacks-devnet-api v0.1.0" }

Note, this route is available before any auth headers are checked.
Fixes #59


Checklist

  • All tests pass
  • Tests added in this PR (if applicable)

@MicaiahReid MicaiahReid temporarily deployed to Development September 23, 2023 00:43 — with GitHub Actions Inactive
Copy link
Member

@CharlieC3 CharlieC3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding this! :shipit:

@MicaiahReid MicaiahReid merged commit d4c2290 into develop Sep 25, 2023
5 checks passed
@MicaiahReid MicaiahReid deleted the status-page branch September 25, 2023 14:39
@MicaiahReid MicaiahReid temporarily deployed to Staging September 25, 2023 14:40 — with GitHub Actions Inactive
blockstack-devops pushed a commit that referenced this pull request Mar 25, 2024
## [1.1.0](v1.0.0...v1.1.0) (2024-03-25)

### Features

* allow config path to be configured via env var ([#67](#67)) ([483fb8b](483fb8b))
* allow configuring k8s context with env var ([#71](#71)) ([f7e6bc3](f7e6bc3))
* check auth header before allowing access ([#47](#47)) ([6dcb36d](6dcb36d))
* remove pods; implement deployments/stateful sets ([#75](#75)) ([6399c19](6399c19))
* status page at `GET /` and `GET /api/v1/status` routes ([#68](#68)) ([d4c2290](d4c2290))
* upgrade clarinet to v2.4.0; enable `use_nakamoto` field to configure stacks chain for nakamoto ([#89](#89)) ([521acd1](521acd1))
* upgrade to using clarinet crate to parse config  ([#46](#46)) ([d57d3a1](d57d3a1))

### Bug Fixes

* add ACCESS_CONTROL_ALLOW_HEADERS to response header ([#52](#52)) ([225d2c9](225d2c9))
* add subPath for postgres volume mount ([#73](#73)) ([7812741](7812741))
* api container spelling fix ([7b52f93](7b52f93))
* don't require auth on OPTIONS requests; configure user-id prefix to make namespace ([#51](#51)) ([9fe7972](9fe7972))
* reduce permissions for cluster role ([#54](#54)) ([2ea50ea](2ea50ea))
* removing untemplated labels ([#82](#82)) ([e92dcb5](e92dcb5))
* set img pull policy for stacks blockchain api ([0b959c2](0b959c2))
* template ([#85](#85)) ([4399177](4399177))
@blockstack-devops
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add status or health page
3 participants