Skip to content

Commit

Permalink
[#2] import code from the provisioning plugin
Browse files Browse the repository at this point in the history
Import the code from the self provisioning plugin at commit:
3493b2d648669d781acf91ce7ad0efc80035be66

Functioning:
yarn buid
yarn start
yarn test
yarn build-api-doc
  • Loading branch information
lavocatt committed Jul 16, 2024
1 parent 688c41b commit c9b3fda
Show file tree
Hide file tree
Showing 21 changed files with 12,711 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
env:
browser: true
es2021: true
node: true
es6: true
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- prettier
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 2020
sourceType: module
plugins:
- prettier
- '@typescript-eslint'
- 'unused-imports'
rules:
eqeqeq: error
prettier/prettier:
- error
unused-imports/no-unused-imports-ts: 2
settings:
react:
version: detect
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
3 changes: 3 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
arrowParens: always
singleQuote: true
trailingComma: all
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
# jolokia-api-server
# Jolokia api-server

The Jolokia api-server is an express js server that serves an OpenApi defined
api as an overlay to jolokia servers, translating the jolokia answers to json
when needed.

Checkout the api.md file to know more about what operations are currently
supported.

## Dev setup

```
yarn build
yarn start
```

## Documentation generation

After updating the `openapi.yml` file, please make sure to generate the
documentation:

```
yarn run build-api-doc
```

## Production build

To be defined.
Loading

0 comments on commit c9b3fda

Please sign in to comment.