Skip to content
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

WIP: CDS UI Alpha v1 #123

Merged
merged 98 commits into from
Apr 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
304a94f
Initial - migrated datasets page to updated API
Mar 25, 2020
303cc95
dataset validation fix
Mar 26, 2020
ac394b5
account request migrations
Mar 27, 2020
92b8733
account migrations
Mar 27, 2020
60f83fd
account updates
Mar 27, 2020
15948cb
account fixes
Mar 27, 2020
232ab67
Update dataManager.js
Mar 27, 2020
cc6ca66
fixes for accounts
Mar 27, 2020
0b42bf3
Update PoliciesCard.vue
Mar 27, 2020
be741bf
settings
Mar 27, 2020
205bb53
Fix for sockjs console errors
Mar 27, 2020
b6ad13b
get policy and policy accounts
Mar 28, 2020
8b0d048
Update DatasetsCard.vue
Mar 28, 2020
5664099
delete Policy
Mar 28, 2020
74c67fb
policy updates
Mar 28, 2020
690ef63
fixes and console log reduction
Mar 28, 2020
ee3b047
b/152680662
Mar 29, 2020
c5e3b79
clean up
Mar 29, 2020
3c80d42
clean up
Mar 29, 2020
4d2b529
clean up
Mar 29, 2020
ceac901
clean up
Mar 29, 2020
f2ef5ce
b/152343675 - Admin init schema
Mar 29, 2020
65407fb
re-factoring adding sync for policies
Mar 29, 2020
f2655d9
Update dataManager.js
Mar 30, 2020
3e30381
Update AdminCard.vue
Mar 30, 2020
decf9a6
Update main.js
Mar 30, 2020
7785833
clean up
Mar 30, 2020
5f00d1d
changing header
Mar 30, 2020
41c8254
adding view function stubs
Mar 31, 2020
54c1b98
Updated related data upon dataset deletion
Apr 1, 2020
7e73706
Update dataManager.js
Apr 1, 2020
518de35
migrating list views
Apr 1, 2020
8b4709f
updates for getView
Apr 2, 2020
491f30e
view reference data
Apr 2, 2020
438ce30
Migrating delete view
Apr 2, 2020
6ce58a1
Migrating validation
Apr 2, 2020
624bc41
view creation
Apr 2, 2020
fa67ed6
Update EditView.vue
Apr 2, 2020
e4075ee
view creation migration
Apr 2, 2020
6b2de5f
view creation and update fixes
Apr 3, 2020
b86c231
Update bigqueryUtil.js
Apr 3, 2020
081b9a1
Update storageUtil.js
Apr 3, 2020
4ab289b
deploy updates
Apr 3, 2020
bbbf5f9
Update settings_cds-demo-2.json
Apr 3, 2020
076ea96
Update settings_cds-demo-2.json
Apr 3, 2020
8e0f53c
Update dataManager.js
Apr 3, 2020
b327d8d
Update settings.json
Apr 3, 2020
56662d8
Delete validateManager.js
phriscage Apr 3, 2020
934eb26
Update Dockerfile
phriscage Apr 3, 2020
4ef5acc
Update README.md
phriscage Apr 3, 2020
c1e24a7
Update deployment.yaml
phriscage Apr 3, 2020
7fa2873
Update lb-service.yaml
phriscage Apr 3, 2020
ac4c38d
Update service.yaml
phriscage Apr 3, 2020
f592ef7
Update index.html
phriscage Apr 3, 2020
735b8b8
user
Apr 3, 2020
c200e53
renaming bqds to CDS
phriscage Apr 3, 2020
f092215
Merge branch 'cds-ui-v1' of github.com:GoogleCloudPlatform/cloud-data…
phriscage Apr 3, 2020
d90accd
removing unused firebase props
Apr 3, 2020
40779e8
fix
Apr 3, 2020
52241e8
moving runtime config
Apr 3, 2020
0871b06
clean up
Apr 3, 2020
91e6f8d
dataset fix
Apr 3, 2020
7662d37
clean up
Apr 3, 2020
ffebb2f
fixes
Apr 3, 2020
a979e08
Merge branch 'master' into cds-ui-v1
Apr 3, 2020
98541b2
Update dataManager.js
Apr 3, 2020
97cb589
Update dataManager.js
Apr 3, 2020
18a41e5
validation and test fixes
Apr 3, 2020
a1f5736
Update configValidator.js
Apr 3, 2020
36f61ac
Update configValidator.js
Apr 3, 2020
c25b169
Update package-lock.json
Apr 3, 2020
a87881d
alert for validation errors
Apr 4, 2020
75d4845
b/153211376
Apr 4, 2020
0a66f1c
date fix
Apr 4, 2020
454834c
Update EditView.vue
Apr 4, 2020
eafd836
Update settings.json
Apr 4, 2020
975a206
Update EditView.vue
Apr 4, 2020
a1f4472
renaming batch id
Apr 4, 2020
64ad176
updated labelName to cfg.cdsManagedLabelKey
phriscage Apr 4, 2020
44feab3
Re-factoring column/headers for sample data
Apr 5, 2020
cfd209b
Update EditView.vue
Apr 6, 2020
a5cfe10
Update EditView.vue
Apr 6, 2020
7db64b8
b/152209251
Apr 6, 2020
cdb4b84
Update EditView.vue
Apr 6, 2020
3be18b6
Update sqlBuilder.js
Apr 6, 2020
9848d29
Update sqlBuilder.js
Apr 6, 2020
e9d93f7
b/152209251
Apr 6, 2020
0bc9130
update dataset description / dataset link to bq console
Apr 6, 2020
d268ebb
Update index.js
Apr 6, 2020
207ed51
git url updates
Apr 6, 2020
587af71
Update index.js
Apr 6, 2020
57c7213
Update EditView.vue
Apr 6, 2020
21b8197
removing colon
Apr 6, 2020
5bb5ecd
updated admin API endpoints, documentation, and frontend page for admin
phriscage Apr 6, 2020
c1ed74f
bug fixes
Apr 6, 2020
a557e5a
Adding Authorization header
Apr 6, 2020
a88ecc4
b/152209251
Apr 7, 2020
fbd0d44
firebase auth
Apr 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions api/devDeploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash -eu
#
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

cd "$(dirname "$0")"
export PROJECT_ID=`gcloud config list --format 'value(core.project)'`
echo $PROJECT_ID
export TAG=dev
cd v1alpha
cd ../../
gcloud builds submit --config api/v1alpha/cloudbuild.yaml --substitutions=TAG_NAME=${TAG}
gcloud run deploy cds-api \
--image gcr.io/${PROJECT_ID}/cds-api:${TAG} \
--region=us-central1 \
--allow-unauthenticated \
--platform managed \
--service-account cds-demo-2-ui@cds-demo-2.iam.gserviceaccount.com
Comment on lines +23 to +29
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the Cloud Run deploy action to Cloud Build script? https://cloud.google.com/cloud-build/docs/deploying-builds/deploy-cloud-run

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure @phriscage, that would be cool.

2,236 changes: 2,099 additions & 137 deletions api/v1alpha/package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions api/v1alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"swagger-ui-express": "^4.1.2",
"underscore": "^1.9.1",
"uuid": "^3.3.3",
"bqds-shared": "file:../../shared"
"bqds-shared": "file:../../shared",
"jsonschema": "^1.2.6",
"firebase-admin": "^8.10.0"
},
"scripts": {
"dev": "nodemon src/index.js",
Expand All @@ -33,6 +35,6 @@
},
"repository": {
"type": "git",
"url": "git://github.com/GoogleCloudPlatform/bq-datashare-toolkit.git"
"url": "git@github.com:GoogleCloudPlatform/cloud-datashare-toolkit.git"
}
}
Loading