-
Notifications
You must be signed in to change notification settings - Fork 629
chore(server): bump REST API version #3159
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
Open
imbajin
wants to merge
53
commits into
apache:master
Choose a base branch
from
hugegraph:cx/bump-server-api-version
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
52035da
chore(server): bump REST API version
imbajin 88a762a
fix(server): package current reactor artifacts
imbajin 3d9d954
fix(pd): validate raft peer addresses
imbajin ed1310c
feat(server): support GraphSpace-wide observer
imbajin 0752ec2
fix(server): enforce Gremlin mutations
imbajin ddfec94
fix(server): inspect traversal mutation steps
imbajin 3d23131
fix(server): proxy copied traversal strategies
imbajin eae9401
fix(server): isolate GraphSpace membership
imbajin e2d7fff
fix(server): prepare audit limiter after login
imbajin 7a57568
fix(server): scope metadata callback admin
imbajin 006a2b3
fix(server): scope space manager user access
imbajin 2f844ed
fix(server): honor custom admin mutations
imbajin ca0478a
fix(server): allow admin template management
imbajin d8699ae
refactor(style): set line width to 120
imbajin 28641f5
fix(server): preserve anonymous template ownership
imbajin 8c69441
fix(server): guard merge traversal writes
imbajin 17615dc
fix(server): scope merge step detection
imbajin 8d03d9c
fix(server): verify merge traversal guards
imbajin 2ed446b
fix(server): isolate merge test fixtures
imbajin b94347b
fix(server): bind merge fixtures to tinkerpop
imbajin f38b4ad
fix(server): align merge fixture API
imbajin 6f78df5
chore(server): remove speculative merge guards
imbajin 7083242
chore(ci): upgrade dependency review
imbajin 3fd62c2
fix(auth): preserve space observer graph checks
9083478
fix(auth): scope role responses by graphspace
db02dc7
fix(auth): reject unscoped lambda mutations
3d25a7e
fix(auth): clear grpc listener contexts
3e81d0e
fix(auth): keep strategy lists immutable
6968a7d
ci(docker): build hbase image changes
e2a89e5
fix(auth): preserve observer role on cleanup failure
5a7a172
fix(auth): isolate metadata listener contexts
4a0a7af
test(auth): register user api regressions
8e1943d
fix(auth): honor space observers in manager checks
78343d8
test(auth): cover partial observer cleanup
e689a6b
fix(auth): clean persisted observer grants
b7e386b
fix(auth): classify custom comparator callbacks
0fe4851
fix(auth): prevent traversal strategy removal
3125ce3
ci(docker): smoke test hbase runtime
b337003
fix(auth): proxy persisted observer lookup
be4d9fd
fix(auth): keep role graph lookup rpc compatible
786f502
fix(auth): scope persisted observer lookup
eb98790
ci(docker): set hbase runtime hostname
6e45502
fix(auth): guard unscoped traversal callbacks
47f6316
test(auth): isolate proxy callback regressions
f2e96c5
fix(auth): preserve trusted graph predicates
cfeff36
fix(auth): preserve space manager observer cleanup
abb7e7b
fix(auth): isolate traversal source strategies
b9799a0
fix(auth): reject disguised predicate callbacks
d361f3c
fix(auth): inspect where predicate callbacks
ef3472b
fix(auth): allow safe traversal requirements
d3d6d69
fix(auth): preserve negated graph predicates
95a3c4d
fix(auth): allow safe traversal options
71945d5
fix(hstore): clear schema metadata with graph
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,78 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| name: "HBase Docker Build CI" | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - 'release-*' | ||
| paths: | ||
| - '.github/workflows/hbase-docker-build-ci.yml' | ||
| - 'docker/hbase/**' | ||
| pull_request: | ||
| paths: | ||
| - '.github/workflows/hbase-docker-build-ci.yml' | ||
| - 'docker/hbase/**' | ||
|
|
||
| jobs: | ||
| docker-build: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Validate HBase entrypoint and config | ||
| run: | | ||
| bash -n docker/hbase/entrypoint.sh | ||
| python3 -c 'import xml.etree.ElementTree as ET; ET.parse("docker/hbase/hbase-site.xml")' | ||
|
|
||
| - name: Build HBase image | ||
| run: | | ||
| IMAGE_ID=$(docker build -q docker/hbase) | ||
| echo "Built: $IMAGE_ID" | ||
| ENTRYPOINT=$(docker inspect --format='{{json .Config.Entrypoint}}' "$IMAGE_ID") | ||
| echo "Entrypoint: $ENTRYPOINT" | ||
| [[ "$ENTRYPOINT" == '["/entrypoint.sh"]' ]] || { | ||
| echo "ERROR: unexpected HBase entrypoint: $ENTRYPOINT" | ||
| exit 1 | ||
| } | ||
|
|
||
| CONTAINER_ID=$(docker run -d --hostname hbase "$IMAGE_ID") | ||
| cleanup() { | ||
| docker logs "$CONTAINER_ID" || true | ||
| docker rm -f "$CONTAINER_ID" || true | ||
| } | ||
| trap cleanup EXIT | ||
|
|
||
| for attempt in $(seq 1 240); do | ||
| if docker logs "$CONTAINER_ID" 2>&1 | grep -Fq "HBase is ready."; then | ||
| docker exec "$CONTAINER_ID" bash -lc \ | ||
| 'echo "status '\''simple'\''" | "$HBASE_HOME/bin/hbase" shell -n' \ | ||
| | grep -E -q \ | ||
| '([1-9][0-9]*[[:space:]]+live[[:space:]]+servers|[1-9][0-9]*[[:space:]]+servers|servers:[[:space:]]*[1-9])' | ||
| exit 0 | ||
| fi | ||
| if [[ "$(docker inspect -f '{{.State.Running}}' "$CONTAINER_ID")" != "true" ]]; then | ||
| echo "ERROR: HBase container exited before readiness" | ||
| exit 1 | ||
| fi | ||
| sleep 2 | ||
| done | ||
| echo "ERROR: HBase container did not become ready within 480 seconds" | ||
| exit 1 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**/Dockerfile*filter leaves the repository'sdocker/hbase/**tree outside everypull_request.pathsentry, although it still contains a Dockerfile, entrypoint, and HBase configuration. Changes to that image will no longer trigger Docker Build CI and can merge without any image validation. Please retaindocker/hbase/**in the trigger or add a dedicated HBase build job with checks appropriate to that image.