Skip to content

Feature - Replace direct Project DB queries with Projects API calls #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

Merged
merged 7 commits into from
Dec 24, 2019

Conversation

maxceem
Copy link
Contributor

@maxceem maxceem commented Dec 24, 2019

No description provided.

imcaizheng and others added 4 commits December 22, 2019 18:07
Replace direct DB queries to Postgres with Project Service API
This is done because we call it quite immediately after project creation. This may end up, that "project-processor-es" process message about project creation and project update in the wrong order. So to make sure project creation message is processed first by "project-processor-es" we adde delay before calling project update.
As project may be updated using M2M token, `updatedBy` may have a negative value in such case.
- gitignore "api.env" which should be only used locally
- provide more real work example in ReadMe for PROJECTS_API
- docker-compose should run the service by default
- improved sample.api.env to have more real-world env variables examples
@vikasrohit vikasrohit merged commit 4363bec into develop Dec 24, 2019
@vikasrohit
Copy link

for the records, updated the new env variables in the build config (dev env) for the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants