Skip to content

Commit 6aed349

Browse files
committed
Merge branch 'release/1.0.1'
2 parents efe9690 + c5c69f1 commit 6aed349

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

redwood/cli/migrations/metadata-migration-2017-06-02.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [[ -z ${_REDWOOD_ROOT} ]]; then
1010
echo 'not running within redwood cli: you need to manually run `redwood project create TREEHOUSE SU2C PROTECT_NBL`'
1111
else
1212
echo "adding projects"
13-
"${_REDWOOD_ROOT}/bin/redwood" project create TREEHOUSE SU2C PROTECT_NBL
13+
"${_REDWOOD_ROOT}/bin/redwood" project create Treehouse SU2C PROTECT_NBL Quake_Brain_scRNA-Seq
1414
fi
1515

1616
function mapping_for() {

redwood/cli/modules/project/libexec/project-list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ while getopts ":s:" opt; do
2020
done
2121
shift "$((OPTIND - 1))"
2222

23-
docker exec -it redwood-auth-db psql -t -d dcc -U dcc_auth -c "select scope from oauth_client_details where client_id='mgmt';" | tr ',' "\n" | tr -d ' \t' | grep -e "^${site}" | sed "s/^${site}\.//" | sed 's/\.download$//' | sed 's/\.upload$//' | grep -v download | grep -v upload | uniq | sort
23+
docker exec -it redwood-auth-db psql -tqA -d dcc -U dcc_auth -c "select replace(scope, ',', E'\n') from oauth_client_details where client_id='mgmt';" | cut -d'.' -f 2 | grep -v download | grep -v upload | sort | uniq
2424
# TODO: this will fail for external databases

redwood/conf/auth-1-bootstrap-postgresql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO dcc_auth;
9999
INSERT INTO users (username, password, enabled) VALUES ('mgmt', '${MGMT_CLIENT_SECRET}', true);
100100
INSERT INTO authorities (username, authority) VALUES ('mgmt', 'ROLE_MANAGEMENT');
101101
102-
INSERT INTO oauth_client_details (client_id, resource_ids, client_secret, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove) VALUES ('mgmt', '', '${MGMT_CLIENT_SECRET}', 'aws.DEV.upload,aws.DEV.download,aws.upload,aws.download', 'password', '', 'ROLE_MANAGEMENT', 31536000, NULL, '{}', '');
102+
INSERT INTO oauth_client_details (client_id, resource_ids, client_secret, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove) VALUES ('mgmt', '', '${MGMT_CLIENT_SECRET}', 'aws.DEV.upload,aws.DEV.download,aws.TEST.upload,aws.TEST.download,aws.upload,aws.download', 'password', '', 'ROLE_MANAGEMENT', 31536000, NULL, '{}', '');
103103
-- INSERT INTO oauth_client_details (client_id, resource_ids, client_secret, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove) VALUES ('resource', '', 'pass', 'deny_resource_servers_to_generate_tokens_with_valid_scope', '', '', 'ROLE_RESOURCE', 0, NULL, '{}', '');
104104
INSERT INTO oauth_client_details (client_id, resource_ids, client_secret, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove) VALUES ('storage', '', '${STORAGE_CLIENT_SECRET}', 'deny_resource_servers_to_generate_tokens_with_valid_scope', '', '', 'ROLE_RESOURCE', 0, NULL, '{}', '');
105105
INSERT INTO oauth_client_details (client_id, resource_ids, client_secret, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove) VALUES ('metadata', '', '${METADATA_CLIENT_SECRET}', 'deny_resource_servers_to_generate_tokens_with_valid_scope', '', '', 'ROLE_RESOURCE', 0, NULL, '{}', '');

redwood/prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
- LETSENCRYPT_HOST=metadata.${base_url}
1515
- LETSENCRYPT_EMAIL=${email}
1616
redwood-storage-server:
17-
image: quay.io/ucsc_cgl/redwood-storage-server:r1.0.25
17+
image: quay.io/ucsc_cgl/redwood-storage-server:r1.0.26
1818
environment:
1919
- LETSENCRYPT_HOST=storage.${base_url}
2020
- LETSENCRYPT_EMAIL=${email}

0 commit comments

Comments
 (0)