-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console API] Add basic get status API (#903)
This change introduces a simple get status API to our Console API for retrieving the status of an OSI migration. This logic currently only returns the status and statusMessage from the OSI getPipeline API with the anticipation to add more details like progress in future iterations. Also included is some reformatting of the response given by each of the API endpoints to keep a consistent response structure on error. --------- Signed-off-by: Tanner Lewis <[email protected]>
- Loading branch information
Showing
7 changed files
with
152 additions
and
25 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...icCapture/dockerSolution/src/main/docker/migrationConsole/console_api/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Console API | ||
|
||
### Running Tests | ||
|
||
If pipenv is not installed, install with below | ||
```shell | ||
python3 -m pip install --upgrade pipenv | ||
``` | ||
|
||
Install dependencies | ||
```shell | ||
pipenv install --deploy --dev | ||
``` | ||
|
||
Run test cases | ||
```shell | ||
pipenv run coverage run --source='.' manage.py test console_api | ||
``` | ||
|
||
Generate coverage report | ||
```shell | ||
pipenv run coverage report | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters