Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
13e5a35
feat: multi-module project structure with openpay-sdk library
RZEROSTERN Sep 29, 2026
2e5304d
feat: core layer with domain models, errors, Ktor networking and Koin DI
RZEROSTERN Sep 29, 2026
74cb2b6
feat: card validation domain logic
RZEROSTERN Sep 29, 2026
093f04c
feat: tokenization API with public Openpay facade
RZEROSTERN Sep 29, 2026
c2ba63b
feat: antifraud device session collector
RZEROSTERN Sep 29, 2026
ba943c0
feat: Compose-first card form UI with accessibility
RZEROSTERN Sep 29, 2026
8fcee87
feat: internationalization for English, Spanish, Portuguese and French
RZEROSTERN Sep 29, 2026
977e932
feat: sample app demonstrating the SDK end to end
RZEROSTERN Sep 29, 2026
4ef3232
feat: Maven publishing for the openpay-sdk artifact
RZEROSTERN Sep 29, 2026
4eebe4b
docs: full documentation in English, Spanish, French and Portuguese
RZEROSTERN Sep 29, 2026
e32500d
Merge pull request #1 from DEV1-Softworks/feature/project-structure
RZEROSTERN Sep 29, 2026
80f8f6f
Merge pull request #11 from DEV1-Softworks/feature/documentation
RZEROSTERN Sep 29, 2026
51961ef
fix: checkout content hidden behind the keyboard
RZEROSTERN Sep 29, 2026
ba837d7
Merge pull request #12 from DEV1-Softworks/bugfix/checkout-keyboard-o…
RZEROSTERN Sep 29, 2026
e21be38
chore: remove the .idea folder from version control
RZEROSTERN Sep 29, 2026
18ac087
Merge pull request #13 from DEV1-Softworks/chore/untrack-idea-folder
RZEROSTERN Sep 29, 2026
a054b78
feat: live card preview in the standardized card form
RZEROSTERN Sep 30, 2026
4b30fdc
feat: previews for every composable and an independent add-card screen
RZEROSTERN Sep 30, 2026
08e1848
Merge pull request #14 from DEV1-Softworks/feature/card-form-preview
RZEROSTERN Sep 30, 2026
9780ff8
Merge pull request #15 from DEV1-Softworks/feature/previews-and-card-…
RZEROSTERN Sep 30, 2026
2050312
Merge pull request #16 from DEV1-Softworks/feature/card-form-preview
RZEROSTERN Sep 30, 2026
6249640
ci: GitHub Actions pipeline with tests and PR coverage comments
RZEROSTERN Sep 30, 2026
9a950d2
Merge pull request #17 from DEV1-Softworks/feature/github-actions-ci
RZEROSTERN Sep 30, 2026
bf11eb7
fix: remove stray characters typed into CheckoutViewModel
RZEROSTERN Sep 30, 2026
1b63d85
feat: issuer logo and brand colors on the card preview and token output
RZEROSTERN Sep 30, 2026
9e53038
Merge pull request #18 from DEV1-Softworks/feature/card-brand-visuals
RZEROSTERN Sep 30, 2026
c9c9e57
feat: 70% navy Visa gradient, drop the number field badge, implementa…
RZEROSTERN Sep 30, 2026
8986513
Merge pull request #19 from DEV1-Softworks/feature/card-brand-visuals
RZEROSTERN Sep 30, 2026
ed1e3c2
chore: Apache 2.0 LICENSE file
RZEROSTERN Sep 30, 2026
81e0bbd
feat: Changed URL for repository
RZEROSTERN Oct 1, 2026
fa61b47
Merge pull request #20 from DEV1-Softworks/feature/license
RZEROSTERN Oct 1, 2026
c525df9
ci: CD pipeline that publishes releases to Maven Central
RZEROSTERN Oct 1, 2026
76f9ab2
Merge pull request #21 from DEV1-Softworks/feature/cd-pipeline
RZEROSTERN Oct 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: CD

on:
push:
tags:
- 'v*'
workflow_dispatch:

permissions:
contents: read

concurrency:
group: cd-${{ github.ref }}
cancel-in-progress: false

jobs:
test:
name: Tests and coverage gate
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v7

- name: Set up JDK 17
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 17

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6

- name: Run unit tests and the coverage gate
run: ./gradlew testDebugUnitTest :openpay-sdk:jacocoCoverageVerification

publish:
name: Publish to Maven Central
runs-on: ubuntu-latest
needs: test
steps:
- name: Check out the repository
uses: actions/checkout@v7

- name: Verify the tag matches the library version
if: github.ref_type == 'tag'
run: |
tag_version="${GITHUB_REF_NAME#v}"
gradle_version="$(grep '^VERSION_NAME=' gradle.properties | cut -d= -f2)"
if [ "$tag_version" != "$gradle_version" ]; then
echo "::error::Tag $GITHUB_REF_NAME does not match VERSION_NAME=$gradle_version in gradle.properties"
exit 1
fi

- name: Set up JDK 17
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 17

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6

- name: Publish the signed artifacts to the Central Portal staging API
env:
MAVEN_REPOSITORY_URL: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
MAVEN_REPOSITORY_USERNAME: ${{ secrets.MAVEN_REPOSITORY_USERNAME }}
MAVEN_REPOSITORY_PASSWORD: ${{ secrets.MAVEN_REPOSITORY_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
run: ./gradlew :openpay-sdk:publishReleasePublicationToRemoteRepository

- name: Remind about the manual portal release step
run: |
{
echo "## Deployment staged"
echo ""
echo "The signed artifacts were uploaded to the Central Portal."
echo "Go to https://central.sonatype.com → Publish → Deployments,"
echo "wait for validation to pass and press **Publish** to release"
echo "to Maven Central. Nothing is public until that button is pressed."
} >> "$GITHUB_STEP_SUMMARY"

github-release:
name: Create the GitHub release
runs-on: ubuntu-latest
needs: publish
if: github.ref_type == 'tag'
permissions:
contents: write
steps:
- name: Check out the repository
uses: actions/checkout@v7

- name: Create the release with generated notes
env:
GH_TOKEN: ${{ github.token }}
run: gh release create "$GITHUB_REF_NAME" --verify-tag --generate-notes
103 changes: 103 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: CI

on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
unit-tests:
name: Unit tests and coverage
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check out the repository
uses: actions/checkout@v7

- name: Set up JDK 17
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 17

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6

- name: Run unit tests with coverage
run: ./gradlew testDebugUnitTest jacocoTestReport :openpay-sdk:jacocoCoverageVerification

- name: Publish coverage on the pull request
if: github.event_name == 'pull_request'
uses: Madrapps/jacoco-report@v1.8.0
with:
paths: ${{ github.workspace }}/**/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
title: Unit test coverage
update-comment: true
min-coverage-overall: 80
min-coverage-changed-files: 80

- name: Upload coverage reports
if: always()
uses: actions/upload-artifact@v7
with:
name: coverage-reports
path: '**/build/reports/jacoco/jacocoTestReport/'

- name: Upload unit test results
if: always()
uses: actions/upload-artifact@v7
with:
name: unit-test-results
path: '**/build/reports/tests/testDebugUnitTest/'

instrumented-tests:
name: Instrumented tests
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v7

- name: Enable KVM for the emulator
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: Set up JDK 17
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 17

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6

- name: Run instrumented tests on an emulator
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 34
arch: x86_64
disable-animations: true
script: ./gradlew connectedDebugAndroidTest

- name: Upload instrumented test results
if: always()
uses: actions/upload-artifact@v7
with:
name: instrumented-test-results
path: '**/build/reports/androidTests/connected/'
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
/.idea/
.DS_Store
/build
/captures
Expand Down
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/AndroidProjectSystem.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/compiler.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/deploymentTargetSelector.xml

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/gradle.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/markdown.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/misc.xml

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/runConfigurations.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Loading
Loading