https://github.com/opendevstack/mockbucket
The mock service of ODS
https://github.com/opendevstack/mockbucket
Last synced: 3 months ago
JSON representation
The mock service of ODS
- Host: GitHub
- URL: https://github.com/opendevstack/mockbucket
- Owner: opendevstack
- License: apache-2.0
- Created: 2019-12-18T08:52:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-13T10:11:27.000Z (over 5 years ago)
- Last Synced: 2025-01-25T00:20:09.891Z (5 months ago)
- Language: Shell
- Size: 22.5 KB
- Stars: 0
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MockBucket
The mock service of ODS
## Contents
This project provides a docker image with the following mocked services for ODS:
* GIT http server
* APIs for creating:
* Project
* Repository
* Webhooks
**DISCLAIMER**: All mocked services are intended to support tests of ODS projects, the APIs are not fully functional## APIs
List of available APIs### GIT
* `http://:8080/scm/{projectKey}/{repositorySlug}.git`: git clone URL
### Rest
* `/projects [POST]`: Mimics the create project API
* `/projects/{projectKey}/repos [POST]`: Mimics the create repository API
* `/projects/{projectKey}/repos/{repositorySlug}/webhooks [POST]`: Mimics the create webhook API **[INCOMPLETE]**## Building and Running
```shell script
docker-compose up --build
```