Comments (9)
@brayden-bcgsc and @mathieulemieux when the tasks above are done can you post the applicable release version of the API container back here
from pori.
In order to test these changes, I did the following on dockerdev server:
- strop and remove all pori containers
- clone a new copy of pori, pori_ipr_api and pori_grapgkb_api repos
- in pori_ipr_api:
- checkout develop branch (includes changes to demo/ipr_demodb.postgres.dump)
- in pori_graphkb_api:
- checkout feature/KBDEV-977-make-shared-default-admin-demo-user-for-graphkb-ipr-57 branch (includes changes to src/repo/schema.js)
- in pori:
- checkout feature/make-shared-default-admin-demo-user-for-graphkb-ipr-57 branch (includes changes to demo/kc_realmexport.json)
- made these changes to docker-compose.dev.yml
- mkdir -p databases/{postgres,orientdb}/{backup,data} && mkdir keys
- docker-compose -f docker-compose.dev.yml up -d --build
- exported 3000, 5000, 8080, 8081 & 8888.
Errors I got:
- I can't log into IPR using pori_admin; only iprdemo will work
- Going from IPR to GraphKB while logged to IPR with iprdemo isn't possible without relogging with pori_admin user
from pori.
Ok, in order to make it work, we need to update the ipr_demodb image too.
It's look like this: before starting the containers with docker-compose,
- in pori_ipr_api repo, run the following command: "docker build -f Dockerfile.db -t bcgsc/pori-ipr-demodb:pori_admin ." (Ty @brayden-bcgsc !)
- in pori repo, make an additional change to the docker-compose.dev.yml to make the ipr_db container based on image bcgsc/pori-ipr-demodb:pori_admin instead of bcgsc/pori-ipr-demodb:latest
Everything went well.
The pori_admin user allows to switch from IPR to GraphKB without the need to logout.
from pori.
On pori_graphkb_api, replace feature/KBDEV-977-make-shared-default-admin-demo-user-for-graphkb-ipr-57 from develop by bugfix/KBDEV-977-make-shared-default-admin-demo-user-for-graphkb-ipr-57 from master. Commit the same changes as before and re-tested everything on dockerdev. Ready to PR.
from pori.
For info, here is the previous PR for default db dump made by @RaphaelPletz to pori_ipr_api: bcgsc/pori_ipr_api#160.
from pori.
Here are the different users in ipr, graphkb and keycloak:
Should we get rid of colab_demo and iprdemo?
from pori.
Here are the different users in ipr, graphkb and keycloak:
Should we get rid of colab_demo and iprdemo?
we should only remove the users that were replaced with the new account (pori_admin) or that are no longer created
- colab_demo should still be being created, it is used for the colab/jupyter notebooks in the docs
- please double check that iprdemo still exists in IPR, if it does it can be left as well
from pori.
Looks like we are still using the iprdemo user in IPR so I'll let it there: https://github.com/bcgsc/pori_ipr_api/blob/b5038f806e183f0432a25078ed682b68ad9081f6/demo/clean_db_for_demo.js#L167-L206
from pori.
Closed by PR #59
from pori.
Related Issues (10)
- ports defined in docker-composer.dev.yml HOT 2
- Invalid parameter: redirect_uri HOT 5
- requests.exceptions.HTTPError: 401 Client Error HOT 14
- Update docker-compose files for database schema HOT 1
- Add mini report upload test to compose start test
- request pending from IPR client to API in dev docker setup HOT 9
- update pori demo link destination HOT 1
- Update pori docs to include comparator ('analysis role') name definitions
- Error on the example script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pori.