generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 5
COH-30144 Implement NSLookup resolution for Python Client #193
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
7345423
nslookup code integration with main
dhirupandey e995b0d
fix build failure
dhirupandey 8966b2c
testing ci for nslookup [skip ci]
dhirupandey ebfbb62
testing ci for nslookup
dhirupandey 33da975
testing ci for nslookup
dhirupandey 9761529
testing ci for nslookup
dhirupandey ea0893f
testing ci for nslookup
dhirupandey 4333168
testing ci for nslookup
dhirupandey 4ae1970
testing ci for nslookup
dhirupandey fae5ac5
testing ci for nslookup
dhirupandey 8ccf506
testing ci for nslookup
dhirupandey 4d9b802
Update documentation
dhirupandey d1672b9
Merge branch 'main' into nslookup-v1
dhirupandey f7b658e
Address all the review comments
dhirupandey 52bc20a
Update copyright year
dhirupandey 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Copyright 2022, 2025, Oracle Corporation and/or its affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at | ||
# https://oss.oracle.com/licenses/upl. | ||
|
||
name: CI nslookup Build | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 5 * * *" | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
ci-nslookup: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9.x"] | ||
poetry-version: ["1.8.4"] | ||
os: [ubuntu-latest] | ||
coherenceVersion: | ||
- 24.09 | ||
- 22.06.10 | ||
base-image: | ||
- gcr.io/distroless/java17-debian11 | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'zulu' | ||
|
||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Cache Maven packages | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- name: Install Poetry | ||
shell: bash | ||
run: | | ||
pip install poetry==${{ matrix.poetry-version }} | ||
|
||
- name: Install Dependencies | ||
run: python -m poetry install | ||
|
||
- name: Configure Validation | ||
run: python -m poetry run make validate-setup | ||
|
||
- name: Validate Sources | ||
run: python -m poetry run make validate | ||
|
||
- name: Run Coherence Server | ||
shell: bash | ||
run: | | ||
export COHERENCE_VERSION=${{ matrix.coherenceVersion }} | ||
curl -sL https://raw.githubusercontent.com/oracle/coherence-cli/main/scripts/install.sh | bash | ||
cohctl version | ||
cohctl create cluster grpc-cluster -v ${{ matrix.coherenceVersion }} -y -a coherence-grpc-proxy | ||
sleep 20 | ||
cohctl monitor health -n localhost:7574 -T 40 -w | ||
|
||
- name: Run test | ||
shell: bash | ||
run: | | ||
export COHERENCE_SERVER_ADDRESS=coherence:///localhost:7574 | ||
python -m poetry run make test-nslookup | ||
|
||
- name: Archive server logs | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: server-logs-${{matrix.python-version}}-${{ matrix.coherenceVersion }} | ||
path: ./tests/utils/*.txt | ||
retention-days: 10 |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.