-
Notifications
You must be signed in to change notification settings - Fork 0
Add backbeat route apis #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development/1.0
Are you sure you want to change the base?
Conversation
5305e7d to
670da80
Compare
51e8e9c to
3d0f040
Compare
3d0f040 to
e09c5a5
Compare
9ffcbce to
0ad1669
Compare
.github/docker-compose.yml
Outdated
| # MongoDB (base) | ||
| # =================== | ||
| mongodb: | ||
| image: mongo:5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some parameters (mongodb image/version, port...) are duplicated : should probably be moved to an .env file to ensure consistency
.github/docker-compose.yml
Outdated
| # =================== | ||
| # Cloudserver with MongoDB + Backbeat | ||
| # =================== | ||
| cloudserver-backbeat: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not merge this with the cloudserver service?
(just need to drop the dependency on 'backbeat' if we want to be able to start it without all the backbeat/zookeeper/... stack)
d7986fe to
5b20462
Compare
04d210b to
b346637
Compare
b346637 to
a3b3666
Compare
| - name: Stop Cloudserver | ||
| if: always() | ||
| run: docker compose -f .github/docker-compose.cloudserver-mongo.yml down | ||
| run: docker compose -f .github/docker-compose.yml --env-file .github/docker.env --profile mongo down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this needed? the runner will be destroyed anyway...
| import { describeForBackbeatSetup } from './testHelpers'; | ||
| import assert from 'assert'; | ||
|
|
||
| // Note : these tests are relatively simple, as it's not straightforward to setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note for thought (nothing to change now!) : instead of deploying "full" services (and thus having some sort of integration tests), we could have "mocked" the API in the tests (kind of more "unit test" approach, which avoids depending on the external packages & setting up all services)
a3b3666 to
00b92a5
Compare
00b92a5 to
18472a8
Compare
ISSUE: CLDSRVCLT-5