Skip to content

Commit

Permalink
Merge pull request #11 from rzrbld/future-release
Browse files Browse the repository at this point in the history
- fix group delete
- add bucket-quota methods
- add quota info to list-extended-v2
- add openapi specs, update lifecycle example
- update deps
  • Loading branch information
rzrbld authored May 18, 2020
2 parents 0154399 + 618183d commit dd06fc4
Show file tree
Hide file tree
Showing 9 changed files with 1,681 additions and 102 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ Here is a Web UI for this API - [adminio-ui](https://github.com/rzrbld/adminio-u

![Docker hub stats](https://img.shields.io/docker/pulls/rzrbld/adminio-api?style=flat-square) ![GitHub License](https://img.shields.io/github/license/rzrbld/adminio-api?style=flat-square)

## OpenAPI v3

### Breaking changes in 0.9 version

- env renamed: API_HOST_PORT > ADMINIO_HOST_PORT
- API version v1 is depicated and soon will be removed.
see OpenAPI v3 specs at `openAPI/openapi_v3.yaml` or [html version](https://rzrbld.github.io/openapi/)

### Run full stack demo
obtain [docker-compose.yml](https://raw.githubusercontent.com/rzrbld/adminio-ui/master/docker-compose.yml) from [adminio-ui](https://github.com/rzrbld/adminio-ui) repository. And run it:
Expand All @@ -34,6 +32,9 @@ docker run -d \
```

### Monitoring
Adminio-API expose metrics for [Prometheus](https://prometheus.io/) at `/metrics` if `ADMINIO_METRICS_ENABLE` is set to `true`.

### Run manually
- [start](https://docs.min.io/) minio server
- set env variables
Expand Down Expand Up @@ -78,6 +79,7 @@ docker run -d \
- slack
- wso2

### example config

### Example config
- prometheus config for adminio metrics: `examples/prometheus.yml`
- bucket lifecycle: `examples/lifecycle.xml`
5 changes: 4 additions & 1 deletion examples/lifecycle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
<Status>Enabled</Status>
<Filter>
<And></And>
<Tag></Tag>
<Tag>
<Key>Key</Key>
<Value>Value</Value>
</Tag>
</Filter>
<Expiration>
<Days>1</Days>
Expand Down
380 changes: 380 additions & 0 deletions openAPI/openapi.html

Large diffs are not rendered by default.

Loading

0 comments on commit dd06fc4

Please sign in to comment.