-
Notifications
You must be signed in to change notification settings - Fork 5
SK-1623 Java SDK v2 #129
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
SK-1623 Java SDK v2 #129
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
caa3b1c
SK-1663 Basic scaffolding and project structure for v2
skyflow-vivek f44be85
SK-1663 Worked on feedback for scaffolding
skyflow-vivek f9df247
SK-1663 Moved main dir to src dir
skyflow-vivek 35762d2
SK-1663 Scaffolding for java sdk v2
skyflow-vivek 45d96f9
SK-1663 Java sdk v2 scaffolding worked on feedback
skyflow-vivek ad543ad
SK-1663 Update method signatures for all controllers
skyflow-vivek f44c1f7
SK-1663 Worked on feedback for java sdk v2 scafolding
skyflow-vivek 9eba2dd
SK-1677 Delete old vault controller implementation
skyflow-vivek f7ee304
SK-1677 Client Initilisation and Credentials priorotisation
skyflow-vivek 786055d
SK-1677 Client initilisation and credentials prioritisation
skyflow-vivek 6049e1c
SK-1677 Used Constants instead of hard-coded strings
skyflow-vivek 988ab14
SK-1678 Bearer Token uitlities
skyflow-vivek 5ad62c7
SK-1665 Generate and integrate Data API code
skyflow-vivek 54cf369
SK-1664 Public interfaces for vault APIs
skyflow-vivek c511774
SK-1701 Implemented public interfaces for insert vault API
skyflow-vivek 96ab82c
SK-1703 Worked on feedback for Detokenize public interfaces
skyflow-vivek 864159e
SK-1701 Worked on feedback for Insert public interfaces
skyflow-vivek 4aabe84
SK-1702 Implement public interfaces for Get vault API
skyflow-vivek 3246b37
SK-1678 Replaced use of JSONObject with Gson JsonObject
skyflow-vivek 382877b
SK-1664 Implement vault API public interfaces
skyflow-vivek 0ad69e4
SK-1707 Implement Delete API public interfaces
skyflow-vivek df0a13f
SK-1705 Implement Query API public interfaces
skyflow-vivek de7eddc
SK-1664 implement tokenize api public interface
skyflow-shravan d441a28
SK-1666 implement invoke connection public interface
skyflow-shravan 5496e94
SK-1701 Add continueOnError in insert vault API public interface
skyflow-vivek 19aa8ce
SK-1681 Add validations
skyflow-vivek 9e04420
SK-1681 add validations for tokenize request
skyflow-shravan c4ad6c5
SK-1666 validations for invoke connection request
skyflow-shravan b56f6ef
SK-1664 move ColumnValue class to tokens package
skyflow-shravan b08a535
SK-1664 Implement vault API interfaces
skyflow-vivek c6c282c
SK-1682 add error codes, messages and logs
skyflow-shravan 27f7443
SK-1681 Add validations
skyflow-vivek e8352ac
SK-1678 Add support for using Api Key
skyflow-vivek 3ca482f
Merge branch 'SK-1664-implement-vault-api-public-interfaces' into SK-…
skyflow-vivek 19a3ca8
Merge pull request #123 from skyflowapi/SK-1682-implement-error-codes…
skyflow-vivek 78a202d
SK-1680 Implement logging
skyflow-vivek 4e61b52
SK-1684 Add unit tests
skyflow-vivek 184124b
SK-1680 Changed info logs to error logs in validation checks
skyflow-vivek 8df4058
SK-1684 Add unit tests
skyflow-vivek b246c3e
Merge pull request #119 from skyflowapi/SK-1677-implement-client-init…
skyflow-vivek 0b21134
Merge pull request #120 from skyflowapi/SK-1678-implement-bearer-toke…
skyflow-vivek b525d59
Merge pull request #121 from skyflowapi/SK-1664-implement-vault-api-p…
skyflow-vivek 994aa4d
Merge pull request #124 from skyflowapi/SK-1681-add-validations
skyflow-vivek be856d0
SK-1684 Add unit tests for bearer token utilities
skyflow-vivek fc336f0
SK-1684 Add unit tests for signed data tokens
skyflow-vivek 9f3bd92
SK-1684 Add unit tests for Java SDK v2
skyflow-vivek 9447fcc
Merge branch 'SK-1684-add-unit-tests' into SK-1666-implement-invoke-c…
skyflow-vivek 8fcfdf3
Merge pull request #122 from skyflowapi/SK-1666-implement-invoke-conn…
skyflow-vivek f148469
SK-1666 Fix conflicts and build issues after merge
skyflow-vivek f529a23
SK-1684 Add unit tests for invoke connection
skyflow-vivek 8efdf12
SK-1623 Java SDK v2
skyflow-vivek 6027972
SK-1623 Downgrade dotenv to work with java 8
skyflow-vivek f4affdf
SK-1767 Fix unit tests not running in CI pipeline
skyflow-vivek 8fa94f7
SK-1767 Add new secret for Java SDK v2 tests
skyflow-vivek 8e9193e
SK-1767 Fix issues in CI pipeline
skyflow-vivek f63b903
SK-1767 Fix compilation issues in CI pipeline
skyflow-vivek f092e78
SK-1682 Modified the structure of Skyflow error
skyflow-vivek 9ec99b4
SK-1623 Fix minor issues in Java SDK v2
skyflow-vivek b2b06c1
SK-1685 Add samples for Java SDK v2
skyflow-vivek 1b57ba7
Merge pull request #125 from skyflowapi/SK-1684-add-unit-tests
skyflow-vivek a1d64ce
SK-1685 Add samples for Bearer token utilities
skyflow-vivek d1c8d5e
Merge pull request #126 from skyflowapi/SK-1685-add-readme-and-samples
skyflow-vivek 6a9e583
SK-1623 Fix minor issues in Javs SDK v2
skyflow-vivek b9ab36f
SK-1752 workflow for internal release
skyflow-shravan 656272d
SK-1752 workflow for internal release
skyflow-shravan 57657d2
SK-1753 add create env step
skyflow-shravan d09ff94
SK-1753 auto generate release version in pom.xml
skyflow-shravan b76fa83
SK-1753 auto generate release version in pom.xml
skyflow-shravan 92eae6a
SK-1753 auto generate release version in pom.xml
skyflow-shravan 167b1b4
SK-1753 auto generate release version in pom.xml
skyflow-shravan 953903a
SK-1753 auto generate release version in pom.xml
skyflow-shravan 817bdc4
SK-1753 auto generate release version in pom.xml
skyflow-shravan 5e2d385
SK-1753 auto generate release version in pom.xml
skyflow-shravan 5c48271
SK-1753 restore version in pom.xml
skyflow-shravan 4dadb91
Merge pull request #134 from skyflowapi/SK-1753-internal-release-work…
skyflow-shravan 222e54a
SK-1623 Fix typos in Samples
skyflow-vivek b4f2015
SK-1623 Worked on feedback for Update vault API interface
skyflow-vivek 42bec3b
SK-1633 Upgraded dependency version
skyflow-vivek 1eb16d7
SK-1623 Made constructors for Bearer token utilities builders private
skyflow-vivek 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,69 @@ | ||
| name: Publish package to the JFROG Artifactory | ||
| on: | ||
| push: | ||
| tags: '*.*.*' | ||
| paths-ignore: | ||
| - "pom.xml" | ||
| - "*.md" | ||
| branches: | ||
| - release/* | ||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| ref: ${{ github.ref_name }} | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Set up Jfrog artifactory | ||
| uses: actions/setup-java@v1 | ||
| with: | ||
| java-version: '1.8' | ||
| distribution: 'adopt' | ||
| server-id: central | ||
| server-username: JFROG_USERNAME | ||
| server-password: JFROG_PASSWORD | ||
| gpg-private-key: ${{ secrets.JFROG_GPG_KEY }} # Value of the GPG private key to import | ||
| gpg-passphrase: JFROG_GPG_PASSPHRASE # env variable for GPG private key passphrase | ||
|
|
||
| - name: Get Previous tag | ||
| id: previoustag | ||
| uses: WyriHaximus/github-action-get-previous-tag@v1 | ||
| with: | ||
| fallback: 1.0.0 | ||
|
|
||
| - name: Bump Version | ||
| run: | | ||
| chmod +x ./scripts/bump_version.sh | ||
| ./scripts/bump_version.sh "${{ steps.previoustag.outputs.tag }}" "$(git rev-parse --short "$GITHUB_SHA")" | ||
|
|
||
| - name: Commit changes | ||
| run: | | ||
| git config user.name ${{ github.actor }} | ||
| git config user.email ${{ github.actor }}@users.noreply.github.com | ||
| git add pom.xml | ||
| git commit -m "[AUTOMATED] Private Release ${{ steps.previoustag.outputs.tag }}-dev.$(git rev-parse --short $GITHUB_SHA)" | ||
| git push origin -f | ||
|
|
||
| - name: Create env | ||
| id: create-env | ||
| run: | | ||
| touch .env | ||
| echo SKYFLOW_CREDENTIALS=${{ secrets.SKYFLOW_CREDENTIALS }} >> .env | ||
| echo TEST_EXPIRED_TOKEN=${{ secrets.TEST_EXPIRED_TOKEN }} >> .env | ||
|
|
||
| - name: Create credentials json | ||
| id: create-json | ||
| uses: jsdaniell/create-json@1.1.2 | ||
| with: | ||
| name: "credentials.json" | ||
| json: ${{ secrets.TEST_CREDENTIALS_FILE_STRING }} | ||
|
|
||
| - name: Publish package to Jfrog Artifactory | ||
| run: mvn clean deploy -P jfrog | ||
| env: | ||
| JFROG_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | ||
| JFROG_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
| JFROG_GPG_PASSPHRASE: ${{ secrets.JFROG_GPG_PASSPHRASE }} | ||
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.