Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 0 additions & 12 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 20
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build and analyze
run: mvn -B verify -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ public class OnboardingDetails implements IbanityModel {
private String preferredOtpMethod;
private UUID requestedOrganisationId;
private String organizationType;
private Boolean skipFinancialInstitutionSelection;
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ public class OnboardingDetailsCreateQuery {
private String preferredOtpMethod;
private UUID requestedOrganisationId;
private String organizationType;
private Boolean skipFinancialInstitutionSelection;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ private OnboardingDetails toRequest(OnboardingDetailsCreateQuery onboardingDetai
.preferredOtpMethod(onboardingDetailsCreateQuery.getPreferredOtpMethod())
.requestedOrganisationId(onboardingDetailsCreateQuery.getRequestedOrganisationId())
.organizationType(onboardingDetailsCreateQuery.getOrganizationType())
.skipFinancialInstitutionSelection(onboardingDetailsCreateQuery.getSkipFinancialInstitutionSelection())
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ void create() throws URISyntaxException, IOException {
.preferredOtpMethod("sms")
.requestedOrganisationId(UUID.fromString("9ca9b992-f415-40d3-9624-dc459619b675"))
.organizationType("business")
.skipFinancialInstitutionSelection(false)
.build();

when(ibanityHttpClient.post(eq(new URI(ONBOARDING_DETAILS_ENDPOINT)), any(),eq(emptyMap()), eq(ACCESS_TOKEN)))
Expand Down Expand Up @@ -95,6 +96,7 @@ private OnboardingDetails createOnboardingDetails() {
.preferredOtpMethod("sms")
.requestedOrganisationId(UUID.fromString("9ca9b992-f415-40d3-9624-dc459619b675"))
.organizationType("business")
.skipFinancialInstitutionSelection(false)
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"partnerReference": "partner-reference",
"automaticSubmissionOnCompletedForms": true,
"preferredOtpMethod": "sms",
"requestedOrganisationId": "9ca9b992-f415-40d3-9624-dc459619b675"
"requestedOrganisationId": "9ca9b992-f415-40d3-9624-dc459619b675",
"skipFinancialInstitutionSelection": false
}
}
}