nl-doors-v1
v1.0.4
Published
Authorization and authentication for enterprise apps
Downloads
4
Readme
#To run locally
Add this to your ssh config:
Host bastion-dev
User admin
Hostname bastion.dev.nightlifr.com
IdentityFile ~/.ssh/it-keypair.pem
LocalForward 6379 redis.dev.nightlifr.com:6379
LocalForward 3306 smally-smalls.cech7hbjyqbt.us-west-1.rds.amazonaws.com:3306
LocalForward 3389 10.20.65.106:389
StrictHostKeyChecking no
IdentitiesOnly yes
Run the bastion:
ssh bastion-dev
Run the local launch configuration:
Local dev - env
environment setup
there is a special group that needs to be create, the 'devs' group on id 7. When extract is used, it will auto associate the newly created JTs into the devs group.
To inspect the state of all current sessions, go into the nl-web box and run:
production
docker run -i -t prologic/redis-cli -h nl-redis.nightlifr.com
Doors v1 migration:
- Create nl_doors_v1 db, utf8 encoding
- Import data from old doors into it
- Delete constraints
- Run migration: sequelize db:migrate
- For dev, add the api sets that will enable api sets themselves to be managed, in migrations_manual/bootstrap_permissions.sql
- make sure haproxy-all:0.0.3 is deployed so that it can hit the doors-v1 service
- make sure the doors-v1 service is running (from deploy/svc.yaml)