Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
167cd47
SK-2343: Maintain the Java v2 SDK's code and documentation in the mai…
saileshwar-skyflow Oct 14, 2025
da31806
SK-2342: update main yml file (#255)
saileshwar-skyflow Oct 14, 2025
1c0966b
SK-2385: update detect generated code
saileshwar-skyflow Nov 7, 2025
b3e11c2
SK-2385: fix detect parsing
saileshwar-skyflow Nov 7, 2025
6c5240b
SK-2386 Fix some issues in deidentify file
skyflow-vivek Nov 12, 2025
e36927e
SK-2386 Remove commented code and imports
skyflow-vivek Nov 12, 2025
7c3ad33
Merge pull request #256 from skyflowapi/saileshwar/SK-2385-update-gen…
skyflow-vivek Nov 12, 2025
fc3343b
[AUTOMATED] Private Release 3.0.0-beta.6-dev-7c3ad33
skyflow-vivek Nov 12, 2025
ad00cc3
SK-2386 Update pom file
skyflow-vivek Nov 12, 2025
c0d69f1
[AUTOMATED] Private Release 3.0.0-beta.6-dev-ad00cc3
skyflow-vivek Nov 12, 2025
dd08ccc
Merge pull request #257 from skyflowapi/release/25.11.1
skyflow-vivek Nov 12, 2025
18a2449
[AUTOMATED] Public Release - 2.0.1
skyflow-vivek Nov 12, 2025
6c28b9a
SK-2467: add checkstyle linter and configuration (#269)
skyflow-himanshu Jan 12, 2026
f2e45d9
SK-2541 make skyflow id as optional in file upload call
skyflow-bharti Feb 9, 2026
f12e041
SK-2541 fix tests
skyflow-bharti Feb 9, 2026
c20e456
Merge pull request #274 from skyflowapi/SK-2541-server-side-sd-ks-to-…
skyflow-bharti Feb 11, 2026
2b81910
[AUTOMATED] Private Release 3.0.0-beta.8-dev-c20e456
skyflow-bharti Feb 11, 2026
acef446
Merge pull request #276 from skyflowapi/release/26.2.1
skyflow-bharti Feb 11, 2026
16ccb9e
[AUTOMATED] Public Release - 2.0.2
skyflow-bharti Feb 11, 2026
090bf90
SK-1964: add sample for handling deidentify file response in async fo…
skyflow-himanshu Feb 20, 2026
c5f7fc0
SK-2594: Upgrade Jackson dependencies to fix security vulnerability (…
saileshwar-skyflow Mar 19, 2026
ebd41f5
SK-2635: Release/26.3.3 - add cspell as spellcheck for java sdk (#286)
skyflow-himanshu Mar 20, 2026
3b24dbb
[AUTOMATED] Public Release - 2.0.3
saileshwar-skyflow Mar 20, 2026
9d69e23
SK-2594: update skyflow-java version to 2.0.3 in samples (#288)
saileshwar-skyflow Mar 20, 2026
d17258c
SK-2777: Public Release - Update Fern client re-initialisation (#301)
saileshwar-skyflow Apr 28, 2026
5ce9c9e
[AUTOMATED] Public Release - 2.0.4
saileshwar-skyflow Apr 28, 2026
235ea64
docs: add v2.1.0 upgrade banner and migration guide to v1 README
Devesh-Skyflow May 20, 2026
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
  •  
  •  
  •  
111 changes: 111 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"version": "0.2",
"language": "en",
"allowCompoundWords": true,
"files": [
"**/*.{java,md,xml,yml,yaml,json,txt,properties}"
],
"words": [
"Skyflow",
"skyflow",
"skyflowapi",
"skyflowapis",
"skyflow-java",
"detokenize",
"Detokenize",
"detokenizing",
"detokenized",
"tokenize",
"Tokenize",
"tokenized",
"tokenization",
"reidentify",
"Reidentify",
"reidentified",
"re-identify",
"Re-identify",
"re-identification",
"deidentify",
"Deidentify",
"deidentified",
"de-identify",
"De-identify",
"de-identification",
"de-identifying",
"upsert",
"upserting",
"upserted",
"BYOT",
"skyflowId",
"skyflow_id",
"skyflowIds",
"apikey",
"Gson",
"gson",
"okhttp",
"OkHttp",
"jjwt",
"Jwts",
"jaxb",
"dotenv",
"powermock",
"mvn",
"sonatype",
"jfrog",
"prekarilabs",
"Gradle",
"gradle",
"mavenCentral",
"blackbox",
"Params",
"deidentifying",
"deidentification",
"Deidentification",
"println",
"cdimascio",
"gsonfire",
"javax",
"Creds",
"creds",
"javac",
"PKCS",
"Pkcs",
"pkcs",
"prioritise",
"Prioritise",
"Timeto",
"Wdex",
"jacoco"
],
"languageSettings": [
{
"languageId": "java",
"locale": "*",
"ignoreRegExpList": [
"/\\b[A-Z][A-Z0-9_]{2,}\\b/g",
"/^package\\s+.*/m",
"/^import\\s+.*/m"
]
}
],
"ignorePaths": [
".git/**",
".github/**",
"target/**",
"**/target/**",
"*.lock",
"Rule/**",
"src/main/java/com/skyflow/generated/**",
"**/*.ts",
"**/processed-*",
"samples/src/main/java/com/example/credentials.json"
],
"ignoreRegExpList": [
"/\\b[A-Z][A-Z0-9_]{2,}\\b/g",
"/https?:\\/\\/[^\\s]*/g",
"/(eyJ[A-Za-z0-9+/=_-]+\\.)+[A-Za-z0-9+/=_-]+/g",
"/[A-Za-z0-9_.~-]*%[0-9A-Fa-f]{2}[A-Za-z0-9_.~%-]*/g",
"/\\b[A-Za-z0-9_]{7,}\\b(?=])/g",
"/\"[A-Za-z0-9+/=]{15,}\"/g"
]
}
20 changes: 20 additions & 0 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Public beta release
on:
push:
tags: '*.*.*-beta.*'
jobs:
build-and-deploy:
uses: ./.github/workflows/shared-build-and-deploy.yml
with:
ref: ${{ github.ref_name }}
server-id: central
profile: maven-central
tag: 'beta'
secrets:
server-username: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_USERNAME }}
server-password: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_PASSWORD }}
gpg-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
skyflow-credentials: ${{ secrets.SKYFLOW_CREDENTIALS }} >> .env
test-expired-token: ${{ secrets.TEST_EXPIRED_TOKEN }} >> .env
test-reusable-token: ${{ secrets.TEST_REUSABLE_TOKEN }} >> .env
4 changes: 2 additions & 2 deletions .github/workflows/endorlabsScan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
json: ${{ secrets.TEST_CREDENTIALS_FILE_STRING }}

- name: Compile Package
run: mvn -B package -DTEST_VAULT_ID=${{ secrets.TEST_VAULT_ID }} -DTEST_VAULT_URL=${{ secrets.TEST_VAULT_URL }} -DTEST_SKYFLOW_ID=${{ secrets.TEST_SKYFLOW_ID }} -DTEST_TOKEN=${{ secrets.TEST_TOKEN }} -DTEST_CREDENTIALS=${{ secrets.TEST_CREDENTIALS_FILE_STRING }} -DTEST_EXPIRED_TOKEN=${{ secrets.TEST_EXPIRED_TOKEN }} -DTEST_REUSABLE_TOKEN=${{ secrets.TEST_REUSABLE_TOKEN }} -DSKYFLOW_CREDENTIALS=${{ secrets.SKYFLOW_CREDENTIALS }} -f pom.xml
run: mvn -B package -f pom.xml -Dmaven.javadoc.skip=true

- name: Endor Labs SCA Scan
uses: endorlabs/github-action@main
Expand All @@ -47,4 +47,4 @@ jobs:
pr: false
enable_github_action_token: true
scan_dependencies: true
additional_args: "--as-default-branch --call-graph-languages=java"
additional_args: "--as-default-branch --call-graph-languages=java"
11 changes: 7 additions & 4 deletions .github/workflows/internal-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Publish package to the JFROG Artifactory
on:
push:
tags: '*.*.*'
tags-ignore:
- '*.*'
paths-ignore:
- "pom.xml"
- "*.md"
branches:
- release/*
Expand All @@ -13,11 +13,14 @@ jobs:
uses: ./.github/workflows/shared-build-and-deploy.yml
with:
ref: ${{ github.ref_name }}
is-internal: true
server-id: central
profile: jfrog
tag: 'internal'
secrets:
server-username: ${{ secrets.ARTIFACTORY_USERNAME }}
server-password: ${{ secrets.ARTIFACTORY_PASSWORD }}
gpg-key: ${{ secrets.JFROG_GPG_KEY }}
gpg-passphrase: ${{ secrets.JFROG_GPG_PASSPHRASE }}
gpg-passphrase: ${{ secrets.JFROG_GPG_PASSPHRASE }}
skyflow-credentials: ${{ secrets.SKYFLOW_CREDENTIALS }} >> .env
test-expired-token: ${{ secrets.TEST_EXPIRED_TOKEN }} >> .env
test-reusable-token: ${{ secrets.TEST_REUSABLE_TOKEN }} >> .env
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '1.8'
java-version: '11'

- name: create-json
id: create-json
Expand All @@ -22,8 +22,16 @@ jobs:
name: "credentials.json"
json: ${{ secrets.TEST_CREDENTIALS_FILE_STRING }}

- 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
echo TEST_REUSABLE_TOKEN=${{ secrets.TEST_REUSABLE_TOKEN }} >> .env

- name: Build & Run tests with Maven
run: mvn -B package -DTEST_VAULT_ID=${{ secrets.TEST_VAULT_ID }} -DTEST_VAULT_URL=${{ secrets.TEST_VAULT_URL }} -DTEST_SKYFLOW_ID=${{ secrets.TEST_SKYFLOW_ID }} -DTEST_TOKEN=${{ secrets.TEST_TOKEN }} -DTEST_CREDENTIALS=${{ secrets.TEST_CREDENTIALS_FILE_STRING }} -DTEST_EXPIRED_TOKEN=${{ secrets.TEST_EXPIRED_TOKEN }} -f pom.xml
run: mvn -B package -f pom.xml -Dmaven.javadoc.skip=true

- name: Codecov
uses: codecov/codecov-action@v2.1.0
Expand Down
34 changes: 27 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: PR CI Checks

on: [ pull_request ]
on: [pull_request]

jobs:
check-commit-message:
Expand All @@ -11,18 +11,18 @@ jobs:
uses: gsactions/commit-message-checker@v1
with:
pattern: '(\[?[A-Z]{1,5}-[1-9][0-9]*)|(\[AUTOMATED\])|(Merge)|(Release).+$'
flags: 'gm'
excludeDescription: 'true'
checkAllCommitMessages: 'true'
flags: "gm"
excludeDescription: "true"
checkAllCommitMessages: "true"
accessToken: ${{ secrets.PAT_ACTIONS }}
error: 'One of your your commit messages is not matching the format with JIRA ID Ex: ( SDK-123 commit message )'
error: "One of your your commit messages is not matching the format with JIRA ID Ex: ( SDK-123 commit message )"
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '1.8'
java-version: "11"

- name: create-json
id: create-json
Expand All @@ -31,8 +31,16 @@ jobs:
name: "credentials.json"
json: ${{ secrets.TEST_CREDENTIALS_FILE_STRING }}

- 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
echo TEST_REUSABLE_TOKEN=${{ secrets.TEST_REUSABLE_TOKEN }} >> .env

- name: Build & Run tests with Maven
run: mvn -B package -DTEST_EXPIRED_TOKEN=${{ secrets.TEST_EXPIRED_TOKEN }} -DTEST_DATA_CREDENTIALS_FILE=${{ secrets.TEST_DATA_CREDENTIALS_FILE }} -f pom.xml
run: mvn -B package -f pom.xml -Dmaven.javadoc.skip=true

- name: Codecov
uses: codecov/codecov-action@v2.1.0
Expand All @@ -41,3 +49,15 @@ jobs:
files: target/site/jacoco/jacoco.xml
name: codecov-skyflow-java
verbose: true

spellcheck:
name: Run spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v8
with:
config: .cspell.json
strict: true
inline: error
incremental_files_only: false
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: Publish package to the Maven Central Repository
name: Public release
on:
push:
tags: '*.*.*'
tags: '[0-9]+.[0-9]+.[0-9]+'
jobs:
build-and-deploy:
uses: ./.github/workflows/shared-build-and-deploy.yml
with:
ref: ${{ github.ref_name }}
is-internal: false
server-id: ossrh
server-id: central
profile: maven-central
tag: 'public'
secrets:
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_PASSWORD }}
server-username: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_USERNAME }}
server-password: ${{ secrets.CENTRAL_PUBLISHER_PORTAL_PASSWORD }}
gpg-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
skyflow-credentials: ${{ secrets.SKYFLOW_CREDENTIALS }} >> .env
test-expired-token: ${{ secrets.TEST_EXPIRED_TOKEN }} >> .env
test-reusable-token: ${{ secrets.TEST_REUSABLE_TOKEN }} >> .env
Loading
Loading