Skip to content

[PANC-71] Add Integration Tests For Mock Airtel API.#15

Open
sanchit-0 wants to merge 1 commit intofynarfin:developfrom
sanchit-0:mock-airtel-api
Open

[PANC-71] Add Integration Tests For Mock Airtel API.#15
sanchit-0 wants to merge 1 commit intofynarfin:developfrom
sanchit-0:mock-airtel-api

Conversation

@sanchit-0
Copy link

@sanchit-0 sanchit-0 commented Jul 10, 2024

Description

PANC-71 Write Mock APIs for Airtel money.

The integration TCs have been based on the following design:

  • 001 USSD Push Payment API Is Unsuccessful
  • 002 USSD Push Payment API Is Successful And CallBack Gives Success Response
  • 003 003 USSD Push Payment API Is Successful And CallBack Gives Failure Response

NOTE: The DTOs required by ph-ee-integration-tests are in ph-ee-connector-common-0.0.0 whereas the repo was using org.mifos:ph-ee-connector-common:1.4.1-SNAPSHOT.

  • PR title should have jira ticket enclosed in [].

    Format: [jira_ticket] description

    ex: [phee-123] PR title.
  • Add a link to the Jira ticket.
  • Describe the changes made and why they were made.

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Followed the PR title naming convention mentioned above.

  • Acknowledge that we will not merge PRs that are not passing the checks ("green") - it is your (author's) responsibility to get a proposed PR to pass all the checks, not primarily the project's maintainers.

  • The PR title should include a JIRA ticket

  • Design-related bullet points or design document links related to this PR added in the description above.

  • Updated corresponding Postman Collection or API documentation for the changes in this PR.

  • Create/update unit or integration tests for verifying the changes made.

  • Add required Swagger annotation and update API documentation with details of any API changes if applicable

  • Followed the naming conventions as given in https://docs.google.com/document/d/1Q4vaMSzrTxxh9TS0RILuNkSkYCxotuYk1Xe0CMIkkCU/edit?usp=sharing

  • Followed coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

FYI our guidelines for code reviews same as https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@sanchit-0 sanchit-0 force-pushed the mock-airtel-api branch 3 times, most recently from efaa4e6 to f124151 Compare July 10, 2024 08:57
@sanchit-0 sanchit-0 force-pushed the mock-airtel-api branch 4 times, most recently from 5acf5e5 to e10d445 Compare July 22, 2024 09:36
}

maven {
url = uri('https://jfrog.sandbox.fynarfin.io/artifactory/fyn-libs-snapshot')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in this file has to be done because jfrog is not working rn

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, remove this part once jfrog issue is fixed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay.

testImplementation "com.github.tomakehurst:wiremock-jre8:2.35.0"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.mifos:ph-ee-connector-common:1.8.1-SNAPSHOT'
implementation 'org.mifos:ph-ee-connector-common:0.0.0'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, update this to the released version after the jfrog issue is fixed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

}

maven {
url = uri('https://jfrog.sandbox.fynarfin.io/artifactory/fyn-libs-snapshot')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, remove this part once jfrog issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants