Skip to content
Open
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
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Default ignored files
/shelf/
/workspace.xml

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
71 changes: 71 additions & 0 deletions Reto-Yape.postman_collection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"info": {
"_postman_id": "781f392d-4929-4fbc-a19a-3acfca88e110",
"name": "Proyecto-Reto-Tech",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "GetTransaction",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8081/api/transactions/7f5eff8f-e6cc-4c88-9aae-b5662d22e038",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"api",
"transactions",
"7f5eff8f-e6cc-4c88-9aae-b5662d22e038"
]
}
},
"response": []
},
{
"name": "CreateTransaction",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"accountExternalIdDebit\": \"5e3d2c23-9ffe-41bf-81eb-c2cf26f88295\",\r\n \"accountExternalIdCredit\": \"88db4a29-686a-43e3-9344-f3ce7288e335\",\r\n \"transferTypeId\": 1,\r\n \"value\": 32333\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8081/api/transactions",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"api",
"transactions"
]
}
},
"response": []
}
]
}
3 changes: 3 additions & 0 deletions antifraud-service-app/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions antifraud-service-app/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions antifraud-service-app/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions antifraud-service-app/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions antifraud-service-app/.idea/jpa-buddy.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions antifraud-service-app/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions antifraud-service-app/.idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions antifraud-service-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:11-jre-slim
#COPY wait-for-kafka.sh /wait-for-kafka.sh
COPY target/antifraud-service-app-1.0-SNAPSHOT.jar antifraud-service-app.jar
ENTRYPOINT ["java", "-jar", "/antifraud-service-app.jar"]
Loading