Page History
...
- Lauch GAARDS-UI and login using shared COPPA Grid Test account
Code Block title Launch GAARDS-UI (ant security) steve-matyass-macbook-pro-2:cagrid smatyas$ pwd /Users/smatyas/dev/cagrid/caGrid steve-matyass-macbook-pro-2:caGrid smatyas$ ant security ...
- Click Login button and specify the following:
Code Block title COPPA Grid Test Account on Training Grid Credential Provider: Training Organization: Training Username: coppagridtest Password: Coppa#12345
- Click Login button and specify the following:
- Ensure your build-po/install.properties and build-po/upgrade.properties files contain the correct values, namely the following:
Here is what my HOSTNAME environment variable is set to:Code Block pogrid.grid.secure.cert.location=${user.home}/.cagrid/certificates/${pogrid.grid.external.secure.host}-cert.pem pogrid.grid.secure.key.location=${user.home}/.cagrid/certificates/${pogrid.grid.external.secure.host}-key.pem pogrid.grid.external.secure.host=${env.HOSTNAME}
Code Block steve-matyass-macbook-pro-2:~ smatyas$ echo $HOSTNAME steve-matyass-macbook-pro-2.local steve-matyass-macbook-pro-2:~ smatyas$
- Ensure that your GLOBUS_LOCATION environment variable is set
Code Block steve-matyass-macbook-pro-2:~ smatyas$ echo $GLOBUS_LOCATION /Users/smatyas/dev/cagrid/ws-core-4.0.3
- Build your local dev instances
Code Block title PO steve-matyass-macbook-pro-2:build-po smatyas$ pwd /Users/smatyas/dev/projects/coppa/code/build-po steve-matyass-macbook-pro-2:build-po smatyas$ ant deploy:local:install ...
Code Block title PA steve-matyass-macbook-pro-2:build-pa smatyas$ pwd /Users/smatyas/dev/projects/coppa/code/build-pa steve-matyass-macbook-pro-2:build-pa smatyas$ ant deploy:local:install ...
- After you receive a BUILD SUCCESSFUL, you'll need to wait for all JBoss server instances to start fully.
- Confirm your services are ready by going to
Panel title PO Panel title PA
- Confirm your services are ready by going to
- Now that the servers have stared fully, you're ready to test the secure services
Code Block title PO steve-matyass-macbook-pro-2:build-po smatyas$ cd ../po-grid/ steve-matyass-macbook-pro-2:po-grid smatyas$ pwd /Users/smatyas/dev/projects/coppa/code/po-grid steve-matyass-macbook-pro-2:po-grid smatyas$ ant runPersonClient ...
Code Block title PA steve-matyass-macbook-pro-2:build-pa smatyas$ cd ../pa-grid/ steve-matyass-macbook-pro-2:pa-grid smatyas$ pwd /Users/smatyas/dev/projects/coppa/code/pa-grid steve-matyass-macbook-pro-2:pa-grid smatyas$ ant runStudyProtocolClient ...
- Congratulations!
Adding your own Grid Identity to PO / PA
- Add your Grid Identity to your local PO or PA database. Example shows adding '/O=caBIG/OU=caGrid/OU=Training/OU=Dorian/CN=coppagridtest' Grid Identity. Replace "coppagridtest" with your own account as needed (or just use the coppagridtest user).
Code Block title Connect to PO DB psql -U poadmin -d podb password: poadmin123
Code Block title Connect to PA DB psql -U paadmin -d ctods_pa password: paadmin123
Code Block sql sql --adding /O=caBIG/OU=caGrid/OU=Training/OU=Dorian/CN=coppagridtest as a grid client test user account INSERT INTO CSM_USER (LOGIN_NAME, FIRST_NAME, LAST_NAME, PASSWORD) VALUES ('/O=caBIG/OU=caGrid/OU=Training/OU=Dorian/CN=coppagridtest','Test','GridClientUser',''); INSERT INTO CSM_USER_GROUP (USER_ID, GROUP_ID) VALUES ((select user_id from csm_user where login_name = '/O=caBIG/OU=caGrid/OU=Training/OU=Dorian/CN=coppagridtest'), (select group_id from csm_group where group_name = 'gridClient'));