- style: set noConsole as error
- chore: replace eslint/prettier by biome
- chore: upgrade to node 22
- chore: simplify linting
- style: centralize eslint config
- chore: make tsconfig stricter
- fix(http-server-go): handle missing q for self impl
- refactor(http-server-go): do not use pkg names with underscores
- docs: adjust getting started instructions
- style(http-server-go): simplify resources pkg structure
- style(http-server-go): uppercase http and id when applicable
- refactor(http-server-go): make resources file names less redundant
- refactor(http-server-go): do not prefix methods with get
- test(http-server-go): test all subpackages
- refactor(http-server-go): organize source with subpackages
- chore: convert to esm
- refactor: prefix all node core modules imports
- feat(http-server-go)!: remove noop service impl => 💥 BREAKING CHANGE : You need to switch to
fileJson
as default if you explicitly setnoop
- feat: introduce dashboards
- refactor(http-server-go)!: modularize runnables => 💥 BREAKING CHANGE : You need to adjust the environment variable names if you run the server with custom ones (see
impl/http-server-go/config.go
)
- feat: introduce dashboards
- chore: make docker-compose env vars overridable by @c100k in #12
- fix(http-server-go): adjust json file service implementation by @c100k in #13
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.3.1 to 7.4.0 by @dependabot in #8
- chore(deps-dev): bump @typescript-eslint/parser from 7.3.1 to 7.4.0 by @dependabot in #9
- chore(deps-dev): bump fast-check from 3.17.0 to 3.17.1 by @dependabot in #10
- chore(deps-dev): bump eslint-plugin-sonarjs from 0.24.0 to 0.25.0 by @dependabot in #11
This is the first release of the http-server-go, implementing the spec.
Give it a try in a couple of seconds :
# Make the downloaded binary executable
chmod u+x ~/Downloads/rebootx-on-prem-http-server-go-linux-amd64
# Run it in a debian docker container
docker run --rm -e RBTX_API_KEY="supersecret" -e RBTX_PATH_PREFIX="covfefe" -p "8080:8080" -v ~/Downloads/rebootx-on-prem-http-server-go-linux-amd64:/http-server-go debian:latest /http-server-go
# Make a request to the server
curl -v -H "Authorization: supersecret" http://localhost:8080/covfefe/runnables
This is the first release of the spec containing the following endpoints : list
, reboot
, stop
.
To browse the spec, the fastest way is to clone this repository and execute docker compose up
. It will spin up SwaggerUI connected to a basic noop server.
You can also import the swagger.json
file in any compatible tool of your choice (e.g. Insomnia, Postman).