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 tracker and Buganizer fixes #147

Merged
merged 1,422 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1422 commits
Select commit Hold shift + click to select a range
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
882ba1f
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK May 21, 2024
8f000c2
Buganizer 341324188 and ID - 227 fixes
Jeyaprakash-NK May 21, 2024
b1cead7
code fix
Jeyaprakash-NK May 21, 2024
6f99f95
Merge pull request #157 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 21, 2024
8d3e8fd
Merge remote-tracking branch 'upstream/main'
Jeyaprakash-NK May 23, 2024
0485880
BQ preview page loader added for page switch
Jeyaprakash-NK May 23, 2024
0f609f9
version updated to 0.1.78
Jeyaprakash-NK May 23, 2024
f868f97
Merge pull request #158 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 23, 2024
1f5a5dc
debounce added
aditee-accenture May 23, 2024
847148a
page size increased and year change
Jeyaprakash-NK May 23, 2024
6f405bf
Merge pull request #159 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 23, 2024
0764616
Changed all the credentials API to async await
harsha-accenture May 23, 2024
4784793
Moved a method from urls to gcpUrlService
harsha-accenture May 23, 2024
8e67788
List jobs API call stop after unmounting the page
Jeyaprakash-NK May 24, 2024
da69bfc
Moving the gcp_service_url back to urls file
harsha-accenture May 24, 2024
94399c5
Review comments
aditee-accenture May 24, 2024
dbfee0c
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK May 24, 2024
f9867df
Merge branch 'sprint20-client-bug-tracker-fixes' of https://github.co…
Jeyaprakash-NK May 24, 2024
0bbe5ec
Create batch - Network & SubNetwork fixes
Jeyaprakash-NK May 24, 2024
76bff01
internal bug fix
aditee-accenture May 24, 2024
df77f91
internal bug fix ID-1
aditee-accenture May 24, 2024
4c87971
Refactored backend code as per review comments
harsha-accenture May 24, 2024
2c3eb09
removed unwanted code
harsha-accenture May 24, 2024
6b1e278
Merge pull request #161 from Shubha-accenture/origin/sprint20-backend…
harsha-accenture May 24, 2024
349e7ac
Merge pull request #160 from Shubha-accenture/sprint20-client-bug-tra…
Jeyaprakash-NK May 24, 2024
48b258a
Bug fix for the prepare_dag
harsha-accenture May 24, 2024
5c078fb
Merge pull request #162 from Shubha-accenture/origin/sprint20-backend…
harsha-accenture May 24, 2024
3f486ed
Internal bug fixes
aditee-accenture May 24, 2024
fa8249b
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK May 24, 2024
036d92c
handling filter undefined
saranyaloganathan23 May 27, 2024
2c21158
Dag output download fix
aditee-accenture May 27, 2024
395ca35
Removing unused input file download and papermill name change
saranyaloganathan23 May 27, 2024
68eccbe
Merge branch 'sprint20-client-bug-tracker-fixes' of https://github.co…
saranyaloganathan23 May 27, 2024
61e2ebe
removing dag input file download code
saranyaloganathan23 May 27, 2024
34744ea
black code formatting
saranyaloganathan23 May 27, 2024
904412c
internal bug fix ID: 5
aditee-accenture May 27, 2024
f2aeb15
Internal bug ID-1
aditee-accenture May 27, 2024
66ec96f
Internal bug fix ID: 2
aditee-accenture May 27, 2024
01497e8
Merge pull request #163 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 27, 2024
68dacd4
Storing dag file in scheduled-jobs folder
saranyaloganathan23 May 28, 2024
10200e7
var name change
saranyaloganathan23 May 28, 2024
b2a3f0d
Merge pull request #164 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 28, 2024
0a5e65d
creating subfolder for dag and papermill
saranyaloganathan23 May 29, 2024
a9dae7b
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK May 29, 2024
469b5a1
Settings page FE changes
Jeyaprakash-NK May 29, 2024
f1f973c
unit test cases
saranyaloganathan23 May 29, 2024
a8b2b9f
Merge pull request #165 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 29, 2024
ab780ee
Submit job small fix "Spark"
Jeyaprakash-NK May 29, 2024
8288bf9
multiple toast fix
aditee-accenture May 29, 2024
f60b2ba
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK May 29, 2024
9d78f39
toast id change
aditee-accenture May 29, 2024
312277d
Merge branch 'sprint20-client-bug-tracker-fixes' of https://github.co…
aditee-accenture May 29, 2024
051cd01
Merge pull request #166 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 29, 2024
7daa528
Settings name modified in test cases
Jeyaprakash-NK May 30, 2024
ffd8815
import order and commented code removal
saranyaloganathan23 May 30, 2024
14854ca
black code formatter
saranyaloganathan23 May 30, 2024
8a7923e
Merge branch 'main' of https://github.com/Shubha-accenture/dataproc-j…
Jeyaprakash-NK May 30, 2024
1e7ab4c
isort import ordering
saranyaloganathan23 May 30, 2024
322a6fa
Merge branch 'sprint20-client-bug-tracker-fixes' of https://github.co…
saranyaloganathan23 May 30, 2024
4018073
black code formatting
saranyaloganathan23 May 30, 2024
a48be2b
removing string format in unsed places
saranyaloganathan23 May 30, 2024
a707a6d
Merge pull request #167 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 30, 2024
ff0f9ec
removing unused imports
saranyaloganathan23 May 30, 2024
d4e20d6
Merge pull request #168 from Shubha-accenture/sprint20-client-bug-tra…
harsha-accenture May 30, 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
34 changes: 14 additions & 20 deletions dataproc_jupyter_plugin/commons/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.


from dataproc_jupyter_plugin.services.gcpUrlService import gcp_service_url

ENVIRONMENT_API = "https://composer.googleapis.com/v1"
TAGS = "dataproc_jupyter_plugin"
GCS = "gs://"
CONTENT_TYPE = "application/json"


dataproc_url = gcp_service_url("dataproc")
dataproc_url = gcp_service_url("dataproc")
compute_url = gcp_service_url(
"compute", default_url="https://compute.googleapis.com/compute/v1"
)
metastore_url = gcp_service_url("metastore")
cloudkms_url = gcp_service_url("cloudkms")
cloudresourcemanager_url = gcp_service_url("cloudresourcemanager")
datacatalog_url = gcp_service_url("datacatalog")
storage_url = gcp_service_url(
"storage", default_url="https://storage.googleapis.com/storage/v1/"
)
dataplex_url = gcp_service_url(
"dataplex", default_url="https://dataplex.googleapis.com/v1"
)
PACKAGE_NAME = "dataproc_jupyter_plugin"
COMPOSER_SERVICE_NAME = "composer"
DATAPROC_SERVICE_NAME = "dataproc"
BIGQUERY_SERVICE_NAME = "bigquery"
DATACATALOG_SERVICE_NAME = "datacatalog"
CLOUDRESOURCEMANAGER_SERVICE_NAME = "cloudresourcemanager"
STORAGE_SERVICE_NAME = "storage"
COMPUTE_SERVICE_NAME = "compute"
METASTORE_SERVICE_NAME = "metastore"
CLOUDKMS_SERVICE_NAME = "cloudkms"
COMPUTE_SERVICE_DEFAULT_URL = "https://compute.googleapis.com/compute/v1"
STORAGE_SERVICE_DEFAULT_URL = "https://storage.googleapis.com/storage/v1/"
WRAPPER_PAPPERMILL_FILE = "wrapper_papermill.py"
LOCAL_DAG_FILE_LOCATION = "./Scheduled-jobs"
45 changes: 0 additions & 45 deletions dataproc_jupyter_plugin/commons/gcloudOperations.py

This file was deleted.

167 changes: 167 additions & 0 deletions dataproc_jupyter_plugin/controllers/airflow.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
# 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.

import json
import subprocess
from dataproc_jupyter_plugin import credentials
from dataproc_jupyter_plugin.services import airflow
from jupyter_server.base.handlers import APIHandler
import tornado


class DagListController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer_name = self.get_argument("composer")
dag_list = await client.list_jobs(composer_name)
self.finish(json.dumps(dag_list))
except Exception as e:
self.log.exception(f"Error fetching cluster list")
self.finish({"error": str(e)})


class DagDeleteController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
from_page = self.get_argument("from_page", default=None)
delete_response = await client.delete_job(composer, dag_id, from_page)
if delete_response == 0:
self.finish(json.dumps({"status": delete_response}))
else:
self.log.exception(f"Error deleting dag file")
self.finish(json.dumps({"status": delete_response}))
except Exception as e:
self.log.exception(f"Error deleting dag file: {str(e)}")
self.finish({"error": str(e)})


class DagUpdateController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
status = self.get_argument("status")
update_response = await client.update_job(composer, dag_id, status)
if update_response == 0:
self.finish({"status": 0})
else:
self.log.exception(f"Error updating status")
self.finish(json.dumps(update_response))
except Exception as e:
self.log.exception(f"Error updating status: {str(e)}")
self.finish({"error": str(e)})


class DagRunController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer_name = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
start_date = self.get_argument("start_date")
offset = self.get_argument("offset")
end_date = self.get_argument("end_date")
dag_run_list = await client.list_dag_runs(
composer_name, dag_id, start_date, end_date, offset
)
self.finish(json.dumps(dag_run_list))
except Exception as e:
self.log.exception(f"Error fetching dag run list {str(e)}")
self.finish({"error": str(e)})


class DagRunTaskController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer_name = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
dag_run_id = self.get_argument("dag_run_id")
dag_run_list = await client.list_dag_run_task(
composer_name, dag_id, dag_run_id
)
self.finish(json.dumps(dag_run_list))
except Exception as e:
self.log.exception(f"Error fetching dag run tasks: {str(e)}")
self.finish({"error": str(e)})


class DagRunTaskLogsController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer_name = self.get_argument("composer")
dag_id = self.get_argument("dag_id")
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")
dag_run_list = await client.list_dag_run_task_logs(
composer_name, dag_id, dag_run_id, task_id, task_try_number
)
self.finish(json.dumps(dag_run_list))
except Exception as e:
self.log.exception(f"Error fetching dag run task logs: {str(e)}")
self.finish({"error": str(e)})


class EditDagController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
bucket_name = self.get_argument("bucket_name")
dag_id = self.get_argument("dag_id")
dag_details = await client.edit_jobs(dag_id, bucket_name)
self.finish(json.dumps(dag_details))
except Exception as e:
self.log.exception(f"Error getting dag details")
self.finish({"error": str(e)})


class ImportErrorController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
composer_name = self.get_argument("composer")
import_errors_list = await client.list_import_errors(composer_name)
self.finish(json.dumps(import_errors_list))
except Exception as e:
self.log.exception(f"Error fetching import error list")
self.finish({"error": str(e)})


class TriggerDagController(APIHandler):
@tornado.web.authenticated
async def get(self):
try:
client = airflow.Client(await credentials.get_cached(), self.log)
dag_id = self.get_argument("dag_id")
composer = self.get_argument("composer")
trigger = await client.dag_trigger(dag_id, composer)
self.finish(json.dumps(trigger))
except Exception as e:
self.log.exception(f"Error triggering dag")
self.finish({"error": str(e)})
1 change: 0 additions & 1 deletion dataproc_jupyter_plugin/controllers/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from dataproc_jupyter_plugin import credentials
from dataproc_jupyter_plugin.services import bigquery


Copy link
Contributor

Choose a reason for hiding this comment

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

Restore this; there should be two blank lines before every top-level definition: https://google.github.io/styleguide/pyguide.html#35-blank-lines

When the black tool and the Google Python style guidelines conflict, we should go with what the black tool mandates, but when they are compatible we should follow both.

In this case they are compatible so we should follow the Google style guide rules.

# GCP project holding BigQuery public datasets.
BQ_PUBLIC_DATASET_PROJECT_ID = "bigquery-public-data"

Expand Down
37 changes: 0 additions & 37 deletions dataproc_jupyter_plugin/controllers/clusterController.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 Google LLC
# 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.
Expand All @@ -13,22 +13,19 @@
# limitations under the License.

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


class ComposerListController(APIHandler):
class EnvironmentListController(APIHandler):
@tornado.web.authenticated
def get(self):
async def get(self):
"""Returns names of available composer environments"""
try:
environments_manager = ComposerService()
credentials = GetCachedCredentials.get_cached_credentials(self.log)
environments = environments_manager.list_environments(credentials, self.log)

client = composer.Client(await credentials.get_cached(), self.log)
environments = await client.list_environments()
except Exception as e:
self.log.exception(f"Error fetching composer environments: {str(e)}")
self.finish({"error": str(e)})
Expand Down
Loading