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

Bug fixes #142

Merged
merged 1,358 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1358 commits
Select commit Hold shift + click to select a range
dcd9865
Big query URL change and config update changes
Jeyaprakash-NK Mar 5, 2024
8c9dac6
Added bigframes as BE dependency
Jeyaprakash-NK Mar 5, 2024
42185af
last code review comment
aditee-accenture Mar 5, 2024
76680b2
Merge pull request #123 from Shubha-accenture/sprint19-scheduler-code…
Shubha-accenture Mar 5, 2024
ea1484d
pull from main
Jeyaprakash-NK Mar 5, 2024
f5d2eb6
pull from main and conflicts resolved
Jeyaprakash-NK Mar 5, 2024
6570da5
Code review changes
aditee-accenture Mar 5, 2024
a380abd
code cleanup
aditee-accenture Mar 5, 2024
c0c4f15
Merge pull request #124 from Shubha-accenture/sprint19-scheduler-code…
Shubha-accenture Mar 5, 2024
385184a
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 5, 2024
e3a81c5
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 5, 2024
c1b3a91
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Mar 6, 2024
81c5a4a
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 6, 2024
12ef2bf
Merge pull request #119 from Shubha-accenture/sprint19-scheduler-enha…
harsha-accenture Mar 6, 2024
3738d37
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 6, 2024
24ff2e7
import changes
Jeyaprakash-NK Mar 6, 2024
55ac11e
Revert "import changes"
Jeyaprakash-NK Mar 6, 2024
e4b1995
import authAPI changes
Jeyaprakash-NK Mar 6, 2024
a761527
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
saranyaloganathan23 Mar 6, 2024
f703696
Scheduler - internal fixes
Jeyaprakash-NK Mar 6, 2024
60f5b29
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Mar 7, 2024
cfae5c6
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 7, 2024
0efe809
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 7, 2024
e4796e1
version update to 0.1.74
Jeyaprakash-NK Mar 7, 2024
66c71fe
Merge branch 'sprint19-scheduler-enhancement-changes' of https://gith…
saranyaloganathan23 Mar 7, 2024
0646ad5
Merge pull request #125 from Shubha-accenture/sprint19-scheduler-enha…
Shubha-accenture Mar 7, 2024
bd50b03
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 7, 2024
55441e8
Client bug tracker fixes - ID 208,209
Jeyaprakash-NK Mar 14, 2024
e4dcd99
Notebook Templates fix
aditee-accenture Mar 15, 2024
168eb9a
code cleanup
aditee-accenture Mar 15, 2024
d309dff
Bug tracker fix - ID 211
Jeyaprakash-NK Mar 18, 2024
19dbff8
Client bug tracker fixes - 206, 208, 209, 211
Jeyaprakash-NK Mar 19, 2024
72a1797
Merge pull request #126 from Shubha-accenture/sprint19-bug-tracker-fixes
harsha-accenture Mar 19, 2024
adb0f6d
version updated to 0.1.75
Jeyaprakash-NK Mar 19, 2024
b59ab52
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 19, 2024
e4a9208
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Mar 20, 2024
128d17c
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 20, 2024
ab42bd4
big query entries API
saranyaloganathan23 Mar 21, 2024
59d1bd2
DPMS UI changes for new view
Jeyaprakash-NK Mar 21, 2024
31123ef
schema list changes
saranyaloganathan23 Mar 22, 2024
06fe186
constant changes
saranyaloganathan23 Mar 22, 2024
b6754dd
table info API and unit test cases
saranyaloganathan23 Mar 22, 2024
de3c2f3
Big query data explorer UI changes:
Jeyaprakash-NK Mar 22, 2024
1588f1c
database details modification
Jeyaprakash-NK Mar 25, 2024
4763185
Execution history calendar color code changes
Jeyaprakash-NK Mar 25, 2024
e7fe602
preview API changes and unit test case
saranyaloganathan23 Mar 25, 2024
c65f1b9
Preview Data initial changes
Jeyaprakash-NK Mar 25, 2024
59aff67
css color fix
Jeyaprakash-NK Mar 25, 2024
8130152
Big query preview data UI changes
Jeyaprakash-NK Mar 25, 2024
ae3865c
API calls moved to service file
Jeyaprakash-NK Mar 25, 2024
81f8394
Plugin minor UI changes
Jeyaprakash-NK Mar 26, 2024
696711e
Handled loading issue - using oldNotebookValue
Jeyaprakash-NK Mar 26, 2024
a0467ab
Merge pull request #127 from Shubha-accenture/sprint19-bug-tracker-fixes
harsha-accenture Mar 26, 2024
707decc
Dataset icon added for big query
Jeyaprakash-NK Mar 26, 2024
66cc754
table info API, Project API, and unit tests
saranyaloganathan23 Mar 26, 2024
18f5aac
Big query Table Details UI changes
Jeyaprakash-NK Mar 26, 2024
f0008c2
Table Info date format changes
Jeyaprakash-NK Mar 26, 2024
9e25203
Big Query Dataset Details UI changes
Jeyaprakash-NK Mar 26, 2024
3d87cd4
Column type css changes and Details page fixes
Jeyaprakash-NK Mar 26, 2024
190158c
Table description hover basic title added
Jeyaprakash-NK Mar 26, 2024
6ab4739
Dataset Info page fixes
Jeyaprakash-NK Mar 27, 2024
f7f884f
Preview data limit set to 20 changes
Jeyaprakash-NK Mar 27, 2024
98ad01c
passing runtime version to serverless dag
saranyaloganathan23 Mar 27, 2024
e63e3f3
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
saranyaloganathan23 Mar 27, 2024
3877ea3
Empty Dataset handled in tree view
Jeyaprakash-NK Mar 27, 2024
c9bc3ed
condition changes
saranyaloganathan23 Mar 27, 2024
2046da7
Big Query project hierarchy and cleanup
Jeyaprakash-NK Mar 27, 2024
09ec06e
DPMS old code retained changes
Jeyaprakash-NK Mar 27, 2024
5e2396f
Merge pull request #128 from Shubha-accenture/sprint19-runtime-versio…
Shubha-accenture Mar 27, 2024
f158f68
Dataset API pageToken and CSS tree changes
Jeyaprakash-NK Mar 27, 2024
116195d
changing dataplex API to bigquery APIs
saranyaloganathan23 Mar 28, 2024
d37b34a
Big Query region added and stored in local storage
Jeyaprakash-NK Mar 28, 2024
16618e1
FE changes for APIs from Dataplex to bigQuery
Jeyaprakash-NK Mar 28, 2024
2ee1760
ID-213. Removed cluster option for BigQuery
aditee-accenture Mar 29, 2024
8ee7e06
Big query enhancement changes
Jeyaprakash-NK Mar 29, 2024
38da70a
Big Query schema added fields and tree condition changes
Jeyaprakash-NK Mar 29, 2024
41a48d2
BQ region grouping added and stored value in settings
Jeyaprakash-NK Mar 29, 2024
3eaad71
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Mar 29, 2024
50f6515
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Mar 29, 2024
8f47e60
BQ dataset filter by BQ region changes
Jeyaprakash-NK Mar 29, 2024
7a83477
settings changes
saranyaloganathan23 Mar 29, 2024
43cb319
BQ region onchange for empty handled
Jeyaprakash-NK Mar 29, 2024
139b57f
version updated to 0.1.76
Jeyaprakash-NK Mar 29, 2024
3a85d58
Handling table count logic change
Jeyaprakash-NK Mar 29, 2024
adc99b0
adding page token
saranyaloganathan23 Apr 1, 2024
e274127
Table preview API page token added
Jeyaprakash-NK Apr 1, 2024
275aff7
Tree view based on total table counts
Jeyaprakash-NK Apr 1, 2024
d367a0e
preview check
saranyaloganathan23 Apr 1, 2024
58fa35d
Merge branch 'sprint19-dataset-explorer-changes' of https://github.co…
saranyaloganathan23 Apr 1, 2024
fcd13fe
Tree view loader fix
Jeyaprakash-NK Apr 1, 2024
439b802
Preview API error handling
Jeyaprakash-NK Apr 1, 2024
43e4f08
code cleanup
Jeyaprakash-NK Apr 1, 2024
8069dae
BQ table, dataset info page loader and preview empty handled
Jeyaprakash-NK Apr 1, 2024
1e1ba16
BE code review changes and formating
saranyaloganathan23 Apr 1, 2024
1ee8882
Merge branch 'sprint19-dataset-explorer-changes' of https://github.co…
saranyaloganathan23 Apr 1, 2024
d2085d4
Internal review comments changes FE
Jeyaprakash-NK Apr 1, 2024
418c2b1
Merge pull request #129 from Shubha-accenture/sprint19-dataset-explor…
Jeyaprakash-NK Apr 1, 2024
3619864
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Apr 1, 2024
0b16f22
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Apr 1, 2024
e4903b7
Merge pull request #130 from Shubha-accenture/sprint19-dataset-explor…
Jeyaprakash-NK Apr 1, 2024
dd92726
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Apr 2, 2024
5f41b49
Review comments - bq region dropdown created
Jeyaprakash-NK Apr 2, 2024
ef28e83
license header year change for new files created
Jeyaprakash-NK Apr 2, 2024
854c785
variable name change to "dataset"
Jeyaprakash-NK Apr 2, 2024
cec831b
table style handled using css selector
Jeyaprakash-NK Apr 2, 2024
3607964
useEffect review comments fixed
Jeyaprakash-NK Apr 2, 2024
730f422
useEffect review comments fixes
Jeyaprakash-NK Apr 2, 2024
be1637d
usememo removed for schema tables
Jeyaprakash-NK Apr 2, 2024
de5a805
preview column type added
Jeyaprakash-NK Apr 2, 2024
ad51579
Merge pull request #131 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 2, 2024
4703f5f
minor fix for Loader
aditee-accenture Apr 3, 2024
317a090
Serverless notebook logo based on language
Jeyaprakash-NK Apr 3, 2024
bc745ce
Bug tracker - 222 dag run always for selected date
Jeyaprakash-NK Apr 3, 2024
fe4f1b2
Type added
Jeyaprakash-NK Apr 3, 2024
a0cc6a7
Merge pull request #132 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 4, 2024
8fdb470
setIsLoading missing added
Jeyaprakash-NK Apr 4, 2024
9031a1f
Table and dataset code bigquery refactoring
saranyaloganathan23 Apr 4, 2024
667b594
Rename wrapper file
saranyaloganathan23 Apr 4, 2024
9fdc0ec
Merge pull request #133 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 4, 2024
d81fc91
Pull from google repo and conflicts resolved
Jeyaprakash-NK Apr 5, 2024
3c65ebc
Bq preview index file changes
saranyaloganathan23 Apr 5, 2024
cd56be7
Wrapper files name change
Jeyaprakash-NK Apr 5, 2024
fd832b7
Merge pull request #134 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 5, 2024
fb76084
Tree structure refactor logic changes
Jeyaprakash-NK Apr 5, 2024
a9fa9c5
Merge pull request #135 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 5, 2024
e4794c0
Plugin toast handled based on BQ feature enable
Jeyaprakash-NK Apr 8, 2024
ad56673
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Apr 8, 2024
da799fe
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Apr 8, 2024
4b3230b
big query and dpms refactor
Jeyaprakash-NK Apr 8, 2024
eff430a
ID:221-Toast message timer fix
aditee-accenture Apr 8, 2024
b09da1c
Merge branch 'sprint19-dataset-explorer-changes' of https://github.co…
aditee-accenture Apr 8, 2024
390d21a
Multiple projects handling in dataset tree view
Jeyaprakash-NK Apr 8, 2024
f16f461
Merge pull request #136 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 8, 2024
9ed25a7
Empty schema info page handled
Jeyaprakash-NK Apr 10, 2024
9b9bfc3
search functionality code commented out
Jeyaprakash-NK Apr 12, 2024
f5113fd
Height css changes
Jeyaprakash-NK Apr 12, 2024
12060ef
Merge pull request #137 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 12, 2024
9302162
schema empty error message added
Jeyaprakash-NK Apr 15, 2024
fb6497c
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Apr 15, 2024
b6a7b7c
Merge pull request #138 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 15, 2024
1e30c16
schema page minor UI fixes scroll
Jeyaprakash-NK Apr 17, 2024
578964a
Network configuration Error messages style change
Jeyaprakash-NK Apr 17, 2024
dc38839
No cluster available handled for create pages
Jeyaprakash-NK Apr 17, 2024
b883428
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Apr 17, 2024
799f604
search code enabled
Jeyaprakash-NK Apr 17, 2024
0844b26
ipynb file removed
Jeyaprakash-NK Apr 17, 2024
b40eab7
Revert "search code enabled"
Jeyaprakash-NK Apr 17, 2024
835ce47
Revert "ipynb file removed"
Jeyaprakash-NK Apr 17, 2024
b56dd1b
Delete ipynb file
Jeyaprakash-NK Apr 17, 2024
0a38df3
History server cluster no data message added
Jeyaprakash-NK Apr 18, 2024
2e1580d
Merge pull request #139 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 18, 2024
eb6ba34
Big Query search changes FE and BE
Jeyaprakash-NK Apr 18, 2024
10dc1a3
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Apr 18, 2024
521a808
code cleanup changes
Jeyaprakash-NK Apr 18, 2024
1688e45
commented code removed
Jeyaprakash-NK Apr 18, 2024
c170dcd
Fetching all the records in backend
harsha-accenture Apr 19, 2024
9a1bb4d
Incorporated review comments
harsha-accenture Apr 19, 2024
c796f98
Merge pull request #140 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 19, 2024
49a7ec3
code formatting
saranyaloganathan23 Apr 22, 2024
c4e4556
removed utitlities
saranyaloganathan23 Apr 22, 2024
61adaca
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Apr 22, 2024
6c86835
Merge pull request #141 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 22, 2024
43c34e9
By default display BigQuery tree in panel
Jeyaprakash-NK Apr 22, 2024
b6db989
Merge branch 'sprint19-bigquery-launcher-changes' of https://github.c…
Jeyaprakash-NK Apr 22, 2024
6e0b8d6
Merge pull request #142 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 22, 2024
091eaa7
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Apr 23, 2024
7258d02
BQ search FE search removed and handled in BE
Jeyaprakash-NK Apr 23, 2024
0f03146
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Apr 23, 2024
990bb1f
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Apr 23, 2024
0412e09
big query tree loader icon size reduced
Jeyaprakash-NK Apr 23, 2024
28ced98
No dataset - Toast removed
Jeyaprakash-NK Apr 23, 2024
d92a4b5
search loader size reduced
Jeyaprakash-NK Apr 23, 2024
6f70a1a
Handled dataset empty condition
Jeyaprakash-NK Apr 23, 2024
2c111f4
handled text overflow for big query tree data
Jeyaprakash-NK Apr 23, 2024
441899c
Merge pull request #143 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 23, 2024
944bb4d
ID:231, 233 bugs fixed
aditee-accenture Apr 23, 2024
b9de0b7
css fixes
Jeyaprakash-NK Apr 23, 2024
cf289dd
Dataset explorer reload after project/region change
Jeyaprakash-NK Apr 24, 2024
8e5a5f5
code cleanup
aditee-accenture Apr 24, 2024
10adfae
name change
Jeyaprakash-NK Apr 24, 2024
6f80633
license year change
Jeyaprakash-NK Apr 24, 2024
d6867ab
Merge pull request #144 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 24, 2024
fd088b4
toast errors changes
aditee-accenture Apr 25, 2024
d3da2ac
active toast fix
aditee-accenture Apr 25, 2024
21c0fb2
bug tracker fixes - 235, 238, 241
Jeyaprakash-NK Apr 25, 2024
77ab4e5
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Apr 25, 2024
12921b9
console log fix
aditee-accenture Apr 25, 2024
b85be52
pull from main and conflict resolved
aditee-accenture Apr 25, 2024
17a385c
Bug tracker ID 237 fix
Jeyaprakash-NK Apr 25, 2024
be08feb
code cleanuo
aditee-accenture Apr 25, 2024
cc9636a
code cleanup
aditee-accenture Apr 25, 2024
8344979
Merge pull request #145 from Shubha-accenture/sprint19-toast-errors-fix
harsha-accenture Apr 25, 2024
afb8452
Bug tracker ID - 243 fix
Jeyaprakash-NK Apr 26, 2024
cd13101
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Apr 26, 2024
6c543aa
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Apr 26, 2024
fc8f3bc
Preview scroll fix
aditee-accenture Apr 26, 2024
27a7f6b
minor css fix
aditee-accenture Apr 26, 2024
98abf50
Preview page pagination server side changes
Jeyaprakash-NK Apr 26, 2024
c4ba796
license year change
Jeyaprakash-NK Apr 26, 2024
fc5e128
Merge pull request #146 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 26, 2024
2a24a7e
Preview data object type handled
Jeyaprakash-NK Apr 26, 2024
b4afe90
Merge pull request #147 from Shubha-accenture/sprint19-dataset-explor…
Jeyaprakash-NK Apr 26, 2024
ca3ddd9
Big Query dataset explorer new panel created
Jeyaprakash-NK Apr 29, 2024
695db9c
Loader changes and pagination changes
saranyaloganathan23 Apr 29, 2024
bc3296d
class name changes - BigQueryWidget
Jeyaprakash-NK Apr 29, 2024
465497d
Dataset explorer refresh icon added
Jeyaprakash-NK Apr 29, 2024
e706a99
Merge pull request #148 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 29, 2024
2c969bb
Refresh Icon moved to top level
Jeyaprakash-NK Apr 30, 2024
9bfce38
icon changes
saranyaloganathan23 Apr 30, 2024
ec68c6e
handling loader
saranyaloganathan23 Apr 30, 2024
f90f809
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK Apr 30, 2024
b5dbc42
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK Apr 30, 2024
aab1a81
removed commented
saranyaloganathan23 Apr 30, 2024
2de3c12
configure gateway name change
Jeyaprakash-NK Apr 30, 2024
ee0b754
get cached credentials added in utils
Jeyaprakash-NK Apr 30, 2024
64c9717
Merge branch 'sprint19-dataset-explorer-fixes' of https://github.com/…
saranyaloganathan23 Apr 30, 2024
ed0d7e0
Credentials cache added
Jeyaprakash-NK Apr 30, 2024
b6855a3
Merge branch 'sprint19-dataset-explorer-fixes' of https://github.com/…
saranyaloganathan23 Apr 30, 2024
27c1f62
token expiry fetch changes
saranyaloganathan23 Apr 30, 2024
d317dc3
Merge pull request #149 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture Apr 30, 2024
4005a71
Tooltip added for custom created panels
Jeyaprakash-NK May 2, 2024
b75222d
Linear progress bar added for calendar load
Jeyaprakash-NK May 2, 2024
2865c6d
UI fixes and Loader added for tree all levels
Jeyaprakash-NK May 2, 2024
8099134
remove cache
saranyaloganathan23 May 2, 2024
24307d7
code formatting
saranyaloganathan23 May 2, 2024
a971132
loader padding changes
saranyaloganathan23 May 2, 2024
2d36efd
prettier fix
Jeyaprakash-NK May 2, 2024
9ca3e86
Merge pull request #150 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture May 2, 2024
e3480c6
Tooltip added for tree
Jeyaprakash-NK May 3, 2024
8d23000
bug fix
aditee-accenture May 3, 2024
6be9885
code cleanup
aditee-accenture May 3, 2024
7322f12
Merge pull request #151 from Shubha-accenture/sprint19-dataset-explor…
Shubha-accenture May 3, 2024
9fb9b79
execution history height changes
aditee-accenture May 6, 2024
adac948
Merge pull request #152 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture May 7, 2024
6c62887
Backend file, folder name changes
Jeyaprakash-NK May 9, 2024
a1fb2c1
controller name fix
Jeyaprakash-NK May 9, 2024
da5f62e
Merge pull request #153 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture May 9, 2024
22cd3af
Big Query code separation - FE
Jeyaprakash-NK May 9, 2024
b715c51
Dpms service file separation changes
Jeyaprakash-NK May 9, 2024
0aa6fac
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK May 9, 2024
0e01388
Merge pull request #154 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture May 9, 2024
137003d
Height resize handled on window height change
Jeyaprakash-NK May 10, 2024
0a2d0f1
Merge pull request #155 from Shubha-accenture/sprint19-dataset-explor…
harsha-accenture May 13, 2024
6bda1c3
version updated to 0.1.77
Jeyaprakash-NK May 17, 2024
9f41368
ID 249- BQ preview pagination fixes
Jeyaprakash-NK May 20, 2024
08ac40c
ID 341324879 - Buganizer P4 fix
Jeyaprakash-NK May 20, 2024
aa4997a
ID 341318983 - P3 BQ region settings fixes
Jeyaprakash-NK May 20, 2024
7a99cff
Bug Tracker Id - 251 and Buganiser id 341323620 fix
saranyaloganathan23 May 20, 2024
e0315de
toast handling in dag list
saranyaloganathan23 May 20, 2024
bc0fe7c
Merge pull request #156 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 20, 2024
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
26 changes: 17 additions & 9 deletions dataproc_jupyter_plugin/contollers/bigqueryController.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


import json

from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.bigqueryService import (
BigQueryDatasetInfoService,
BigQueryDatasetListService,
Expand All @@ -28,6 +28,7 @@
)
from dataproc_jupyter_plugin.utils.constants import bq_public_dataset_project_id
from google.cloud.jupyter_config import gcp_project
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials


class BigqueryDatasetController(APIHandler):
Expand All @@ -37,7 +38,7 @@ def get(self):
page_token = self.get_argument("pageToken")
project_id = self.get_argument("project_id")
bigquery_dataset = BigQueryDatasetListService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dataset_list = bigquery_dataset.list_datasets(
credentials, page_token, project_id, self.log
)
Expand All @@ -55,7 +56,7 @@ def get(self):
dataset_id = self.get_argument("dataset_id")
project_id = self.get_argument("project_id")
bigquery_dataset = BigQueryTableListService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
table_list = bigquery_dataset.list_table(
credentials, dataset_id, page_token, project_id, self.log
)
Expand All @@ -72,7 +73,7 @@ def get(self):
dataset_id = self.get_argument("dataset_id")
project_id = self.get_argument("project_id")
bq_dataset = BigQueryDatasetInfoService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dataset_info = bq_dataset.list_dataset_info(
credentials, dataset_id, project_id, self.log
)
Expand All @@ -90,7 +91,7 @@ def get(self):
table_id = self.get_argument("table_id")
project_id = self.get_argument("project_id")
bq_table = BigQueryTableInfoService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
table_info = bq_table.list_table_info(
credentials, dataset_id, table_id, project_id, self.log
)
Expand All @@ -106,12 +107,19 @@ def get(self):
try:
dataset_id = self.get_argument("dataset_id")
table_id = self.get_argument("table_id")
page_token = self.get_argument("pageToken")
max_results = self.get_argument("max_results")
start_index = self.get_argument("start_index")
project_id = self.get_argument("project_id")
bq_preview = BigQueryPreviewService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
preview_data = bq_preview.bigquery_preview_data(
credentials, dataset_id, table_id, page_token, project_id, self.log
credentials,
dataset_id,
table_id,
max_results,
start_index,
project_id,
self.log,
)
self.finish(json.dumps(preview_data))
except Exception as e:
Expand Down Expand Up @@ -139,7 +147,7 @@ def get(self):
system = self.get_argument("system")
projects = [gcp_project(), bq_public_dataset_project_id]
bq_search = BigQuerySearchService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
search_data = bq_search.bigquery_search(
credentials, search_string, type, system, projects, self.log
)
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/clusterController.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.clusterListService import ClusterListService


Expand All @@ -27,7 +27,7 @@ def get(self):
page_token = self.get_argument("pageToken")
page_size = self.get_argument("pageSize")
cluster = ClusterListService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
cluster_list = cluster.list_clusters(
credentials, page_size, page_token, self.log
)
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/composerController.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# limitations under the License.

import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.composerService import ComposerService
from requests import HTTPError

Expand All @@ -26,7 +26,7 @@ def get(self):
"""Returns names of available composer environments"""
try:
environments_manager = ComposerService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
environments = environments_manager.list_environments(credentials, self.log)

except Exception as e:
Expand Down
8 changes: 4 additions & 4 deletions dataproc_jupyter_plugin/contollers/dagController.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

import json
import subprocess
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.dagListService import (
DagListService,
DagDeleteService,
Expand All @@ -32,7 +32,7 @@ def get(self):
try:
dag = DagListService()
composer_name = self.get_argument("composer")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dag_list = dag.list_jobs(credentials, composer_name, TAGS, self.log)
self.finish(json.dumps(dag_list))
except Exception as e:
Expand Down Expand Up @@ -70,7 +70,7 @@ def get(self):
composer = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
from_page = self.get_argument("from_page", default=None)
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
delete_response = dag.delete_job(
credentials, composer, dag_id, from_page, self.log
)
Expand All @@ -92,7 +92,7 @@ def get(self):
composer = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
status = self.get_argument("status")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
update_response = dag.update_job(
credentials, composer, dag_id, status, self.log
)
Expand Down
8 changes: 4 additions & 4 deletions dataproc_jupyter_plugin/contollers/dagRunController.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.dagRunService import (
DagRunListService,
DagRunTaskListService,
Expand All @@ -34,7 +34,7 @@ def get(self):
start_date = self.get_argument("start_date")
offset = self.get_argument("offset")
end_date = self.get_argument("end_date")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dag_run_list = dag_run.list_dag_runs(
credentials,
composer_name,
Expand All @@ -58,7 +58,7 @@ def get(self):
composer_name = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
dag_run_id = self.get_argument("dag_run_id")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dag_run_list = dag_run.list_dag_run_task(
credentials, composer_name, dag_id, dag_run_id, self.log
)
Expand All @@ -78,7 +78,7 @@ def get(self):
dag_run_id = self.get_argument("dag_run_id")
task_id = self.get_argument("task_id")
task_try_number = self.get_argument("task_try_number")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dag_run_list = dag_run.list_dag_run_task_logs(
credentials,
composer_name,
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/editDagController.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# limitations under the License.

import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.editDagService import DagEditService
from dataproc_jupyter_plugin.utils.constants import TAGS

Expand All @@ -27,7 +27,7 @@ def get(self):
dag = DagEditService()
bucket_name = self.get_argument("bucket_name")
dag_id = self.get_argument("dag_id")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
dag_details = dag.edit_jobs(dag_id, bucket_name, credentials, self.log)
self.finish(json.dumps(dag_details))
except Exception as e:
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/executorController.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# limitations under the License.


from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.executorService import ExecutorService


Expand All @@ -25,7 +25,7 @@ def post(self):
try:
input_data = self.get_json_body()
execute = ExecutorService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
execute.execute(credentials, input_data, self.log)
except Exception as e:
self.log.exception(f"Error creating dag schedule: {str(e)}")
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/importErrorController.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.importErrorService import ImportErrorService


Expand All @@ -26,7 +26,7 @@ def get(self):
try:
import_errors = ImportErrorService()
composer_name = self.get_argument("composer")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
import_errors_list = import_errors.list_import_errors(
credentials, composer_name, self.log
)
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/runtimeController.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.runtimeListService import RuntimeListService


Expand All @@ -27,7 +27,7 @@ def get(self):
page_token = self.get_argument("pageToken")
page_size = self.get_argument("pageSize")
runtime = RuntimeListService()
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
runtime_list = runtime.list_runtime(
credentials, page_size, page_token, self.log
)
Expand Down
4 changes: 2 additions & 2 deletions dataproc_jupyter_plugin/contollers/triggerDagController.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@


import json
from dataproc_jupyter_plugin.utils.credentials import GetCachedCredentials
from jupyter_server.base.handlers import APIHandler
import tornado
from dataproc_jupyter_plugin import handlers
from dataproc_jupyter_plugin.services.triggerDagService import TriggerDagService


Expand All @@ -27,7 +27,7 @@ def get(self):
trigger_dag = TriggerDagService()
dag_id = self.get_argument("dag_id")
composer = self.get_argument("composer")
credentials = handlers.get_cached_credentials(self.log)
credentials = GetCachedCredentials.get_cached_credentials(self.log)
trigger = trigger_dag.dag_trigger(credentials, dag_id, composer, self.log)
self.finish(json.dumps(trigger))
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion dataproc_jupyter_plugin/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def post(self):
run_gcloud_subcommand(f"config set project {project_id}")
run_gcloud_subcommand(f"config set dataproc/region {region}")
clear_gcloud_cache()
update_gateway_client_url(self.config, self.log)
configure_gateway_client_url(self.config, self.log)
self.finish({"config": ERROR_MESSAGE + "successful"})
except subprocess.CalledProcessError as er:
self.finish({"config": ERROR_MESSAGE + "failed"})
Expand Down
11 changes: 9 additions & 2 deletions dataproc_jupyter_plugin/services/bigqueryService.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,14 @@ def list_table_info(self, credentials, dataset_id, table_id, project_id, log):

class BigQueryPreviewService:
def bigquery_preview_data(
self, credentials, dataset_id, table_id, page_token, project_id, log
self,
credentials,
dataset_id,
table_id,
max_results,
start_index,
project_id,
log,
):
try:
if (
Expand All @@ -138,7 +145,7 @@ def bigquery_preview_data(
and ("region_id" in credentials)
):
access_token = credentials["access_token"]
api_endpoint = f"https://bigquery.googleapis.com/bigquery/v2/projects/{project_id}/datasets/{dataset_id}/tables/{table_id}/data?pageToken={page_token}"
api_endpoint = f"https://bigquery.googleapis.com/bigquery/v2/projects/{project_id}/datasets/{dataset_id}/tables/{table_id}/data?maxResults={max_results}&startIndex={start_index}"
headers = ApiHeaders.create_headers(access_token)
response = requests.get(api_endpoint, headers=headers)
if response.status_code == 200:
Expand Down
45 changes: 45 additions & 0 deletions dataproc_jupyter_plugin/utils/credentials.py
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rename this to dataproc_juptyer_plugin/credentials.py.

There's no reason to have anything in the codebase named utils.

Copy link
Collaborator

Choose a reason for hiding this comment

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

  1. credentials.py is renamed to gcloudOperations.py
  2. utils folder is renamed to commons as it contains all the common code.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Copyright 2024 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
#
# https://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.


from google.cloud.jupyter_config.config import (
gcp_credentials,
gcp_project,
gcp_project_number,
gcp_region,
)


class GetCachedCredentials:
def get_cached_credentials(self):
credentials = {
"project_id": "",
"project_number": 0,
"region_id": "",
"access_token": "",
"config_error": 0,
"login_error": 0,
}

try:
credentials["project_id"] = gcp_project()
credentials["region_id"] = gcp_region()
credentials["config_error"] = 0
credentials["access_token"] = gcp_credentials()
credentials["project_number"] = gcp_project_number()
return credentials
except Exception as ex:
self.log.exception(f"Error fetching credentials from gcloud ", ex)
credentials["config_error"] = 1
return credentials
Loading