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: add logging and network info route #20

Merged
merged 62 commits into from
Jul 3, 2023
Merged

feat: add logging and network info route #20

merged 62 commits into from
Jul 3, 2023

Conversation

MicaiahReid
Copy link
Contributor

@MicaiahReid MicaiahReid commented Jun 14, 2023

This PR:

  • adds logging infrastructure
  • adds modules to manage k8s resources, specifically all of the associated constants for all pods/configs/services
  • adds a route to get a network's info

fixes #15, part of #6, and part of #12

@MicaiahReid MicaiahReid changed the base branch from http-proxy to main June 20, 2023 18:06
* add modules to manage k8s resources

* update delete devnet to use utils

* add strum deps

* add struct for devnet info response

* add struct for stacksv2info response

* helper function to fetch status from a pod

* helper function to get stacks v2 info route

* function to query/assemble devnet info

* remove get_proxy_data

* add route to get devnet info

* rename struct

* add pvc module

* update delete devnet to use pvc mod

* rename utils -> resources

* add ports to service

* use service ports enum

* revert server port number

* refactor template parser to use new resource enums

* fix service url

* improve logging

* add content type to response

* add to ClusterRole resource list
@MicaiahReid MicaiahReid mentioned this pull request Jun 20, 2023
5 tasks
@MicaiahReid MicaiahReid changed the title feat: add logging feat: add logging and network info route Jun 20, 2023
@MicaiahReid MicaiahReid merged commit 2af0bab into main Jul 3, 2023
github-actions bot pushed a commit that referenced this pull request Nov 16, 2023
## 1.0.0 (2023-11-16)

### Features

* add `HEAD /api/v1/network/{network}` route ([#41](#41)) ([1bf329f](1bf329f))
* add logging and network info route ([#20](#20)) ([2af0bab](2af0bab)), closes [#21](#21)
* proxy http requests to downstream pods ([#11](#11)) ([6ecdf0f](6ecdf0f))
* release develop ([#84](#84)) ([89a1a1b](89a1a1b))

### Bug Fixes

* add access_control_allow_credentials header ([a482a93](a482a93))
* add cors settings; refactor http responses ([#42](#42)) ([c46db4c](c46db4c)), closes [#21](#21)
* assert more general error msg ([#48](#48)) ([926e3a0](926e3a0))
* create namespace in deploy api script ([f5ff5e0](f5ff5e0))
Copy link

🎉 This PR is included in version 1.0.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
None yet
Development

Successfully merging this pull request may close these issues.

setup logging infrastructure
1 participant