forked from apache/atlas
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'beta' into transform-datamesh-policies
- Loading branch information
Showing
113 changed files
with
5,950 additions
and
2,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ on: | |
- beta | ||
- development | ||
- master | ||
- staging | ||
- lineageondemand | ||
|
||
jobs: | ||
|
@@ -51,16 +52,6 @@ jobs: | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | ||
id: get_branch | ||
|
||
- name: Create Maven Settings | ||
uses: s4u/[email protected] | ||
with: | ||
servers: | | ||
[{ | ||
"id": "github", | ||
"username": "atlan-ci", | ||
"password": "${{ secrets.my_pat }}" | ||
}] | ||
- name: Build with Maven | ||
run: | | ||
branch_name=${{ steps.get_branch.outputs.branch }} | ||
|
@@ -77,7 +68,7 @@ jobs: | |
shell: bash | ||
|
||
- name: Get version tag | ||
run: echo "##[set-output name=version;]$(echo `git ls-remote https://${{ secrets.my_pat }}@github.com/atlanhq/${REPOSITORY_NAME}.git ${{ steps.get_branch.outputs.branch }} | awk '{ print $1}' | cut -c1-7`)abcd" | ||
run: echo "##[set-output name=version;]$(echo `git ls-remote https://${{ secrets.my_pat }}@github.com/atlanhq/${REPOSITORY_NAME}.git refs/heads/${{ steps.get_branch.outputs.branch }} | awk '{ print $1}' | cut -c1-7`)abcd" | ||
id: get_version | ||
|
||
- name: Set up Buildx | ||
|
@@ -104,7 +95,6 @@ jobs: | |
tags: | | ||
ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:latest | ||
ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:${{ steps.get_version.outputs.version }} | ||
- name: Scan Image | ||
uses: aquasecurity/trivy-action@master | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"entities": | ||
[ | ||
{ | ||
"typeName": "AuthPolicy", | ||
"customAttributes": { | ||
"internalId": 28 | ||
}, | ||
"attributes": | ||
{ | ||
"name": "READ_GLOSSARY", | ||
"qualifiedName": "READ_GLOSSARY", | ||
"policyCategory": "bootstrap", | ||
"policySubCategory": "default", | ||
"policyServiceName": "atlas", | ||
"policyType": "allow", | ||
"policyPriority": 1, | ||
"policyUsers": | ||
[], | ||
"policyGroups": | ||
[], | ||
"policyRoles": | ||
[ | ||
"$admin", | ||
"$api-token-default-access" | ||
], | ||
"policyResourceCategory": "ENTITY", | ||
"policyResources": | ||
[ | ||
"entity-type:AtlasGlossary", | ||
"entity-classification:*", | ||
"entity:*" | ||
], | ||
"policyActions": | ||
[ | ||
"entity-read" | ||
] | ||
} | ||
}, | ||
{ | ||
"typeName": "AuthPolicy", | ||
"customAttributes": { | ||
"internalId": 29 | ||
}, | ||
"attributes": | ||
{ | ||
"name": "READ_TERM", | ||
"qualifiedName": "READ_TERM", | ||
"policyCategory": "bootstrap", | ||
"policySubCategory": "default", | ||
"policyServiceName": "atlas", | ||
"policyType": "allow", | ||
"policyPriority": 1, | ||
"policyUsers": | ||
[], | ||
"policyGroups": | ||
[], | ||
"policyRoles": | ||
[ | ||
"$admin", | ||
"$api-token-default-access" | ||
], | ||
"policyResourceCategory": "ENTITY", | ||
"policyResources": | ||
[ | ||
"entity-type:AtlasGlossaryTerm", | ||
"entity-classification:*", | ||
"entity:*" | ||
], | ||
"policyActions": | ||
[ | ||
"entity-read" | ||
] | ||
} | ||
}, | ||
{ | ||
"typeName": "AuthPolicy", | ||
"customAttributes": { | ||
"internalId": 30 | ||
}, | ||
"attributes": | ||
{ | ||
"name": "READ_CATEGORY", | ||
"qualifiedName": "READ_CATEGORY", | ||
"policyCategory": "bootstrap", | ||
"policySubCategory": "default", | ||
"policyServiceName": "atlas", | ||
"policyType": "allow", | ||
"policyPriority": 1, | ||
"policyUsers": | ||
[], | ||
"policyGroups": | ||
[], | ||
"policyRoles": | ||
[ | ||
"$admin", | ||
"$api-token-default-access" | ||
], | ||
"policyResourceCategory": "ENTITY", | ||
"policyResources": | ||
[ | ||
"entity-type:AtlasGlossaryCategory", | ||
"entity-classification:*", | ||
"entity:*" | ||
], | ||
"policyActions": | ||
[ | ||
"entity-read" | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.