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

Upgrade: No Code Metadata Modeling #2629

Merged
merged 350 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
350 commits
Select commit Hold shift + click to select a range
912289d
Add browse dao skeleton
May 14, 2021
106a0a7
Adding EbeanAspectDao & EntityService
jjoyce0510 May 14, 2021
995ecf7
Merging changes
jjoyce0510 May 14, 2021
fe3fbea
Adding SearchResult model
jjoyce0510 May 14, 2021
2344bfd
In progress
May 14, 2021
934fd68
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 14, 2021
9ec0315
Implemented search read path
May 14, 2021
fe7f90b
Added browse DAO implementation
May 14, 2021
637f4ae
Add URN index type
May 14, 2021
ef1cb8a
Adding ESSearchDAOFactory & ESBrowseDAOFactory
jjoyce0510 May 14, 2021
566b406
Migrating Datasets Resource
jjoyce0510 May 14, 2021
05b3585
Fixed style
May 14, 2021
a66cbc2
Fixed style
May 14, 2021
1818fb4
Migrating to new daos
jjoyce0510 May 14, 2021
c9210b7
Migrate to new Daos
jjoyce0510 May 14, 2021
45f3d7e
Migrating Daos
jjoyce0510 May 14, 2021
f2862ed
adding lienage resource
gabe-lyons May 14, 2021
14cff10
fixing lineage style
gabe-lyons May 14, 2021
74be6ee
rest formatting
gabe-lyons May 14, 2021
31c12c2
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 14, 2021
cb2659f
Update annotation
May 14, 2021
e1401d9
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 14, 2021
5940d20
fully qualified name to aspect name
jjoyce0510 May 14, 2021
5b29926
Add aspect name conversion
May 14, 2021
e7020ac
Fix autocomplete
May 14, 2021
a312948
Fix search
May 14, 2021
4ca0a44
unbreaking browse
gabe-lyons May 14, 2021
b707735
Comments etc
jjoyce0510 May 17, 2021
f9fc48f
Simplifying kafka event emitter
jjoyce0510 May 17, 2021
b94d33a
Remove unused import
jjoyce0510 May 17, 2021
4399720
adding overrides
gabe-lyons May 17, 2021
94a242a
Migrating and deprecating resources
jjoyce0510 May 17, 2021
d3295a6
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 17, 2021
e172a5a
Minor refactorings
jjoyce0510 May 17, 2021
46dd5b2
Migrating downstreamLineageResource
jjoyce0510 May 17, 2021
2cb6e1f
addressing parse errors
gabe-lyons May 17, 2021
168851b
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 17, 2021
23e61da
Adding data_platforms.json
jjoyce0510 May 18, 2021
941eef1
users and datasets reads working
gabe-lyons May 18, 2021
44195a1
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 18, 2021
45d946d
Refactoring for Validation
jjoyce0510 May 18, 2021
28c2c05
merging result
jjoyce0510 May 18, 2021
e40b1e3
graphql integration in progress
gabe-lyons May 19, 2021
84d3961
graphql up to date with new resources
gabe-lyons May 19, 2021
91e2372
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 19, 2021
82d8180
Reworking overrides etc
jjoyce0510 May 19, 2021
869151d
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 19, 2021
f4f18e3
Update
May 19, 2021
06fe66e
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 19, 2021
ef535a2
fix browse paths
May 19, 2021
1b34127
Small Mappings Refactor
jjoyce0510 May 19, 2021
0662b02
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 19, 2021
cd04067
Disable gradle task debugging
jjoyce0510 May 19, 2021
697f84a
Fixed browsepath yet again
May 19, 2021
ae35c6a
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 19, 2021
881bb0a
Fixed browse path
May 19, 2021
4d5692d
Add logging for unsupported index types
May 19, 2021
e24ac76
Removing unnecessary files
jjoyce0510 May 19, 2021
6ef1484
getting ingest working
gabe-lyons May 20, 2021
9ed33b9
Merge brt puanch 'NoCode' of github.com:acryldata/datahub-fork into N…
gabe-lyons May 20, 2021
8f02066
Update settings
May 20, 2021
c61d3b1
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 20, 2021
996fb9a
Add getBrowsePaths
May 20, 2021
63aa864
add default browse aspects in old ingest endpoints + fix lineage reso…
gabe-lyons May 20, 2021
ed98034
fixing linting issues
gabe-lyons May 20, 2021
b9601b5
committing adding browsepaths to gen'd datajob aspects
gabe-lyons May 20, 2021
585ac33
Adding V1 upgrade job
jjoyce0510 May 20, 2021
e992b0d
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 20, 2021
287936a
printing out warnings when datahub-frontend is ahead of gms
gabe-lyons May 20, 2021
37a3d78
refactoring graph client to use interface and adding test to graph cl…
gabe-lyons May 21, 2021
4653a4f
Refactoring Upgrade Manager and fixing bugs
jjoyce0510 May 21, 2021
0a95bdf
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 21, 2021
02825c1
refactoring error throwing in EntityClient
gabe-lyons May 21, 2021
4f92900
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 21, 2021
1de56a1
Refactoring NoCodeDataMigration
jjoyce0510 May 21, 2021
fb5a89e
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 21, 2021
5676279
Fix an error message
jjoyce0510 May 21, 2021
9d0eb7f
making deletes blocking
gabe-lyons May 21, 2021
d9ebc53
Merge brancht push
gabe-lyons May 21, 2021
90c819e
Minor fixes to upgrade infra
jjoyce0510 May 21, 2021
c3c81a5
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 21, 2021
f6d43e9
Adding V2 init.sql
jjoyce0510 May 21, 2021
116abda
Optimize imports
May 21, 2021
1103ce5
Refactoring and adding validation
jjoyce0510 May 21, 2021
40288b4
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 21, 2021
b6b9aa9
validate storage layer in GMS
gabe-lyons May 21, 2021
c73b166
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 21, 2021
57f5c25
Fixing validation
jjoyce0510 May 21, 2021
86d4186
fixing lint issues
gabe-lyons May 21, 2021
ad6052a
fixing lints
gabe-lyons May 21, 2021
f0c1a9c
Adding key aspects
jjoyce0510 May 21, 2021
7eee396
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 21, 2021
536f2ea
add clearer validation message for key type mismatch
gabe-lyons May 21, 2021
5285812
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 21, 2021
ab79af7
minor fixes
gabe-lyons May 21, 2021
5c0d271
adding cleanup script
gabe-lyons May 21, 2021
f63826a
Adding options force-update and clean to upgrade script. Also improvi…
jjoyce0510 May 22, 2021
62bc17d
Merging
jjoyce0510 May 22, 2021
77f0387
switching to drop table
gabe-lyons May 22, 2021
d056205
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 22, 2021
d24700f
fixing formatting bugs when there are no relationship types supplied
gabe-lyons May 24, 2021
259450a
Abstracting out Entity Service + EbeanEntityService
jjoyce0510 May 24, 2021
63061c6
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 24, 2021
6785476
adding read only mode in gms
gabe-lyons May 24, 2021
22b5145
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 24, 2021
2b1ba25
In progress
May 24, 2021
55050b2
Adding batchSize and batchDelayMs args to Upgrade NoCode
jjoyce0510 May 24, 2021
b7c9218
adding write only back in w/ refactor
gabe-lyons May 24, 2021
b82fead
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 24, 2021
42a301b
Adding explicit parameters to NoCodeUpgrade
jjoyce0510 May 24, 2021
15349cf
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 24, 2021
74f3c41
Removing unused code
jjoyce0510 May 24, 2021
2d90db7
adding config endpoints
gabe-lyons May 24, 2021
cb783c5
Triying to fix NPE
jjoyce0510 May 25, 2021
16d6f7d
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 25, 2021
bf5f500
Fixing dockerfile
jjoyce0510 May 25, 2021
35ac9ac
Finalizing docker-compose
jjoyce0510 May 25, 2021
3f5faf0
Adding upgrade.sh
jjoyce0510 May 25, 2021
ae787ef
Add keyword urn
May 25, 2021
167450f
Mapping legacy aspects to new aspects
jjoyce0510 May 25, 2021
0d0bbbe
In progress
May 25, 2021
19cfbd3
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 25, 2021
75525e8
Update search annotations
May 25, 2021
1d2107b
Finished searchable refactor
May 25, 2021
1dff357
checking mae and gms config in migration script
gabe-lyons May 25, 2021
0d9ac54
enacting read-only mode
gabe-lyons May 25, 2021
4d7918c
turning off readonly mode after migration
gabe-lyons May 25, 2021
efc609b
make neo calls non-blocking
gabe-lyons May 25, 2021
b9b482f
Committing test files
jjoyce0510 May 25, 2021
1b4ff0a
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 25, 2021
bac9189
Merge branch 'master' into NoCode
gabe-lyons May 25, 2021
71c41b9
Adding EntitySpecBuilderTest
jjoyce0510 May 25, 2021
86094de
Simplify SearchableFieldExtractor
jjoyce0510 May 25, 2021
f27d6ce
renaming neo client test
jjoyce0510 May 25, 2021
6c04791
Fixing index validation
jjoyce0510 May 25, 2021
1f97426
merged with master
gabe-lyons May 25, 2021
a44693d
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 25, 2021
d6adb2b
Refactoring
May 25, 2021
699f993
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 25, 2021
e84b350
Adding EntityEventProducer Interface
jjoyce0510 May 25, 2021
40c655a
Refactored
May 25, 2021
117a5a9
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 25, 2021
cfd35dd
Fix test'
May 25, 2021
55acbca
adding browse on ingest by default
gabe-lyons May 25, 2021
d6614fb
EbeanEntityService Test
jjoyce0510 May 26, 2021
d763814
Merging
jjoyce0510 May 26, 2021
4aa9abd
Add delete legacy search indices
May 26, 2021
0019436
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 26, 2021
9ec10cc
cleaning up browse path change
gabe-lyons May 26, 2021
f3ecd28
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 26, 2021
ca5bc21
adding default autocompelte field for tags
gabe-lyons May 26, 2021
c9d2503
no longer overwritign existing browse paths
gabe-lyons May 27, 2021
c9d21f2
Revert upgrade env
May 27, 2021
430a950
Fixing init.sql and other minor bug
jjoyce0510 May 27, 2021
6e24b4c
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
May 27, 2021
b82daa1
Fixed inject constructor
May 27, 2021
6f70935
removing debug auto on
gabe-lyons May 27, 2021
141945c
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 27, 2021
c6164cc
Small validation updates
jjoyce0510 May 27, 2021
2b418fc
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 27, 2021
7294aa3
unbreaking service
gabe-lyons May 27, 2021
1add8f7
Adding docs
jjoyce0510 May 28, 2021
ceebd2b
fixiing tests
jjoyce0510 May 28, 2021
3e796e8
adding datahub upgrade github action
shirshanka May 28, 2021
a32fe39
updating the docs
gabe-lyons May 28, 2021
1c0a0eb
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons May 28, 2021
74cc5af
Starting no-code-upgrade.md
jjoyce0510 May 31, 2021
7f5da33
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 May 31, 2021
b48a5a5
Updating docs
jjoyce0510 Jun 1, 2021
f06d794
Adding to sidebar to unblock build
Jun 1, 2021
c1f6bc1
Fixing network issues
jjoyce0510 Jun 1, 2021
4595cc6
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 1, 2021
4bc48f9
Update pdl annotations based on default logic
Jun 1, 2021
67c1a5a
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 1, 2021
ac34d7b
Added search unit tests
Jun 1, 2021
fc91472
Fixing noCode and Clean scripts
jjoyce0510 Jun 1, 2021
57fd7d1
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 1, 2021
450171a
Fixing run_clean.sh
jjoyce0510 Jun 1, 2021
c727ae0
Adding smart annotation validation on non-primitive fields
jjoyce0510 Jun 1, 2021
0d0ce72
Removing gradle api
jjoyce0510 Jun 1, 2021
a303cb5
Fixing tests and removing gradle api
jjoyce0510 Jun 1, 2021
f264162
adding logback back to mae consumer
gabe-lyons Jun 1, 2021
418cca2
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 1, 2021
46ef59f
Fix test
Jun 1, 2021
d480f16
Updating Docs
jjoyce0510 Jun 1, 2021
ccbc7dc
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 1, 2021
262f432
Add browse dao test
Jun 1, 2021
f64c8e1
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 1, 2021
8a20dae
fixing logging
gabe-lyons Jun 1, 2021
98f4d90
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 1, 2021
b0befae
Multiline docs
Jun 1, 2021
0faa703
Updating documentation
jjoyce0510 Jun 1, 2021
6c3edc7
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 1, 2021
da1390e
Added field types
Jun 1, 2021
c27eb5b
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 1, 2021
18b9eac
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 1, 2021
ac0090c
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 1, 2021
222a253
Revising extending-the-metadata-model.md
jjoyce0510 Jun 1, 2021
5b5b714
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 1, 2021
d3ef1af
Adding final changes to extending the metadata model
jjoyce0510 Jun 1, 2021
0bbaa10
glossary term snapshot > entity resource
gabe-lyons Jun 1, 2021
f1f40b1
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 1, 2021
415b634
Merge branch 'master' into NoCode
gabe-lyons Jun 1, 2021
1a07009
Add enable autocomplete
Jun 2, 2021
f817c0f
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 2, 2021
36662a1
autocomplete uses annotations for autocomplete field
gabe-lyons Jun 2, 2021
8ec669e
Add search service test
Jun 2, 2021
3402583
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 2, 2021
09ee5d4
Add the service test actually
Jun 2, 2021
cdeb449
add relationship to DataJobKey
gabe-lyons Jun 2, 2021
2b22af2
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 2, 2021
7049b03
Add helm
Jun 2, 2021
a0173c6
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 2, 2021
5b7337b
cleanups
gabe-lyons Jun 2, 2021
77bdcc1
Refactoring upgrade to remove unnecessary methods and vars
jjoyce0510 Jun 2, 2021
39c5c0c
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 2, 2021
13123a3
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 2, 2021
68a3f7f
deleting member variable
gabe-lyons Jun 2, 2021
c619ed7
fixing docs site
gabe-lyons Jun 2, 2021
82452cb
Remove unnecessary config
jjoyce0510 Jun 2, 2021
9163142
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 2, 2021
35e963e
Refactor Entity pdl
Jun 2, 2021
b9bb9a9
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 2, 2021
bd38c87
Add helm migration guide
Jun 2, 2021
64be522
fixing docs website
gabe-lyons Jun 2, 2021
03760e1
Fix search service test
Jun 2, 2021
478870b
Adding to gitignore
jjoyce0510 Jun 2, 2021
4ff5a3a
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 2, 2021
f2906b0
Fix style
Jun 2, 2021
c17c35e
pushing lint fix
gabe-lyons Jun 2, 2021
ebc1246
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 2, 2021
623e659
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 2, 2021
2a833bc
fixing dataflow graphql for updates
gabe-lyons Jun 2, 2021
b1372ca
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
jjoyce0510 Jun 2, 2021
0d2417c
Update avro
Jun 2, 2021
a67df5f
Revert glue
Jun 2, 2021
1619e17
maybe fixing the test
gabe-lyons Jun 2, 2021
45c1171
Merge branch 'NoCode' of github.com:acryldata/datahub-fork into NoCode
gabe-lyons Jun 2, 2021
e1d2111
fixing half of rest tests
gabe-lyons Jun 2, 2021
90b0dde
Fix test
Jun 2, 2021
f570974
Merge branch 'NoCode' of https://github.com/acryldata/datahub-fork in…
Jun 2, 2021
cf73152
formatting
gabe-lyons Jun 2, 2021
e83039c
Updating Dockerfile to fix build task
jjoyce0510 Jun 2, 2021
6c8db2e
Reverting glue code
jjoyce0510 Jun 2, 2021
c824818
update docker-datahub-upgrade.md
jjoyce0510 Jun 2, 2021
5c6dc25
Merge remote-tracking branch 'acryl/NoCode' into NoCode
jjoyce0510 Jun 2, 2021
74b8213
feat(ci): Changing default tag to head for docker pushes. Stopping pu…
shirshanka Jun 3, 2021
7df07d0
Merge remote-tracking branch 'acryl/NoCode' into NoCode
jjoyce0510 Jun 3, 2021
4587998
Merge branch 'master' into NoCode
jjoyce0510 Jun 3, 2021
8e4a1bf
Fixing paren mismatch
jjoyce0510 Jun 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
74 changes: 74 additions & 0 deletions .github/workflows/docker-datahub-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: docker-datahub-upgrade docker
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
branches:
- master
paths:
- './datahub-upgrade/**'
- '.github/workflows/docker-datahub-upgrade.yml'
paths_ignore:
- '**.md'
- '**.env'
release:
types: [published, edited]

jobs:
setup:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.tag.outputs.tag }}
publish: ${{ steps.publish.outputs.publish }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compute Tag
id: tag
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
echo "SHORT_SHA: $SHORT_SHA"
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/.*$,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
id: publish
env:
ENABLE_PUBLISH: ${{ secrets.ORG_DOCKER_PASSWORD }}
run: |
echo "Enable publish: ${{ env.ENABLE_PUBLISH != '' }}"
echo "::set-output name=publish::${{ env.ENABLE_PUBLISH != '' }}"
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
# list of Docker images to use as base name for tags
images: |
acryldata/datahub-upgrade
# add git short SHA as Docker tag
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.ORG_DOCKER_PASSWORD }}
- name: Build and Push image
uses: docker/build-push-action@v2
with:
file: ./docker/datahub-upgrade/Dockerfile
tags: ${{ steps.docker_meta.outputs.tags }}
push: ${{ needs.setup.outputs.publish == 'true' }}
4 changes: 2 additions & 2 deletions .github/workflows/docker-elasticsearch-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
with:
file: ./docker/elasticsearch-setup/Dockerfile
tags: ${{ steps.docker_meta.outputs.tags }}
push: ${{ needs.setup.outputs.publish == 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-frontend-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-gms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down Expand Up @@ -70,4 +70,4 @@ jobs:
with:
file: ./docker/datahub-gms/Dockerfile
tags: ${{ steps.docker_meta.outputs.tags }}
push: ${{ needs.setup.outputs.publish == 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-kafka-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
file: ./docker/kafka-setup/Dockerfile
context: ./docker/kafka-setup
tags: ${{ steps.docker_meta.outputs.tags }}
push: ${{ needs.setup.outputs.publish == 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-mae-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-mce-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
echo "GITHUB_REF: $GITHUB_REF"
SHORT_SHA=$(git rev-parse --short "$GITHUB_SHA")
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,latest\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
TAG=$(echo ${GITHUB_REF} | sed -e "s,refs/heads/master,head\,${SHORT_SHA},g" -e 's,refs/tags/,,g' -e 's,refs/pull/\([0-9]*\).*,pr\1,g')
echo "tag=$TAG"
echo "::set-output name=tag::$TAG"
- name: Check whether publishing enabled
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
*.iws
*.ipr

*gma-create-all.sql
shirshanka marked this conversation as resolved.
Show resolved Hide resolved
*gma-drop-all.sql

# Pegasus & Avro
**/src/mainGenerated*
**/src/testGenerated*
Expand Down
16 changes: 11 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
classpath 'com.linkedin.pegasus:gradle-plugins:' + pegasusVersion
classpath 'com.github.node-gradle:gradle-node-plugin:2.2.4'
classpath 'com.commercehub.gradle.plugin:gradle-avro-plugin:0.8.1'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.2.RELEASE'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.1.4.RELEASE'
}
}

Expand Down Expand Up @@ -38,6 +38,7 @@ project.ext.externalDependency = [
'cacheApi' : 'javax.cache:cache-api:1.1.0',
'commonsIo': 'commons-io:commons-io:2.4',
'commonsLang': 'commons-lang:commons-lang:2.6',
'data' : 'com.linkedin.pegasus:data:' + pegasusVersion,
'ebean': 'io.ebean:ebean:11.33.3',
'ebeanAgent': 'io.ebean:ebean-agent:11.27.1',
'elasticSearchRest': 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.9.3',
Expand All @@ -62,6 +63,7 @@ project.ext.externalDependency = [
'h2': 'com.h2database:h2:1.4.196',
'hibernateCore': 'org.hibernate:hibernate-core:5.2.16.Final',
'httpClient': 'org.apache.httpcomponents:httpclient:4.5.9',
'iStackCommons': 'com.sun.istack:istack-commons-runtime:4.0.1',
'jacksonCore': 'com.fasterxml.jackson.core:jackson-core:2.9.7',
'jacksonDataBind': 'com.fasterxml.jackson.core:jackson-databind:2.9.7',
'javatuples': 'org.javatuples:javatuples:1.2',
Expand All @@ -79,6 +81,7 @@ project.ext.externalDependency = [
'lombok': 'org.projectlombok:lombok:1.18.12',
'mariadbConnector': 'org.mariadb.jdbc:mariadb-java-client:2.6.0',
'mockito': 'org.mockito:mockito-core:3.0.0',
'mockitoInline': 'org.mockito:mockito-inline:3.0.0',
'mysqlConnector': 'mysql:mysql-connector-java:5.1.47',
'neo4jHarness': 'org.neo4j.test:neo4j-harness:3.4.11',
'neo4jJavaDriver': 'org.neo4j.driver:neo4j-java-driver:4.0.1',
Expand All @@ -101,12 +104,15 @@ project.ext.externalDependency = [
'springCore': 'org.springframework:spring-core:5.2.3.RELEASE',
'springJdbc': 'org.springframework:spring-jdbc:5.2.3.RELEASE',
'springWeb': 'org.springframework:spring-web:5.2.3.RELEASE',
'springBootAutoconfigure': 'org.springframework.boot:spring-boot-autoconfigure:2.1.2.RELEASE',
'springBootStarterWeb': 'org.springframework.boot:spring-boot-starter-web:2.1.2.RELEASE',
'springBootStarterJetty': 'org.springframework.boot:spring-boot-starter-jetty:2.1.2.RELEASE',
'springBootAutoconfigure': 'org.springframework.boot:spring-boot-autoconfigure:2.1.4.RELEASE',
'springBootStarterWeb': 'org.springframework.boot:spring-boot-starter-web:2.1.4.RELEASE',
'springBootStarterJetty': 'org.springframework.boot:spring-boot-starter-jetty:2.1.4.RELEASE',
'springKafka': 'org.springframework.kafka:spring-kafka:2.2.14.RELEASE',
'springActuator': 'org.springframework.boot:spring-boot-starter-actuator:2.1.2.RELEASE',
'testng': 'org.testng:testng:6.9.9',
'testng': 'org.testng:testng:7.3.0',
'testContainers': 'org.testcontainers:testcontainers:1.15.1',
'testContainersJunit': 'org.testcontainers:junit-jupiter:1.15.1',
'testContainersElasticsearch': 'org.testcontainers:elasticsearch:1.15.3',
'zookeeper': 'org.apache.zookeeper:zookeeper:3.4.14'
]

Expand Down
1 change: 1 addition & 0 deletions datahub-frontend/play.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ dependencies {
playRun externalDependency.guice
playRun externalDependency.playDocs
playRun externalDependency.playGuice
playRun externalDependency.logbackClassic
}

model {
Expand Down
4 changes: 2 additions & 2 deletions datahub-frontend/run/frontend.env
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ DATAHUB_GMS_PORT=8080
# DATAHUB_ANALYTICS_ENABLED=false

# Kafka Producer Configuration
KAFKA_BOOTSTRAP_SERVER=localhost:29092
KAFKA_BOOTSTRAP_SERVER=localhost:9092
DATAHUB_TRACKING_TOPIC=DataHubUsageEvent_v1

# Required Elastic Client Configuration (Analytics)
ELASTIC_CLIENT_HOST=localhost
ELASTIC_CLIENT_PORT=9200
ELASTIC_CLIENT_PORT=9200
4 changes: 2 additions & 2 deletions datahub-frontend/run/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<logger name="com.linkedin.datahub" level="DEBUG" />
<logger name="play.core.server.AkkaHttpServer" level="INFO" />

<root level="warn">
<root level="info">
<appender-ref ref="STDOUT"/>
<appender-ref ref="FILE"/>
</root>
</configuration>
</configuration>
1 change: 1 addition & 0 deletions datahub-graphql-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
compile externalDependency.antlr4Runtime
compile externalDependency.antlr4
compile externalDependency.guava

compileOnly externalDependency.lombok
annotationProcessor externalDependency.lombok

Expand Down
Loading