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
16 changes: 16 additions & 0 deletions INFORMACION-POSTULANTE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
generado para consumir los end-point

archivo ==> thunder-collection_retoInterbank

query para registro en postgres:

archivo ==> QUERY-TABLAS


se abordo el opcional :
Puede utilizar cualquier método para almacenar datos de transacciones,
pero debe considerar que podemos lidiar con escenarios de gran volumen en los que tenemos una gran cantidad de escrituras
y lecturas de los mismos datos al mismo tiempo. ¿Cómo abordaría este requisito?

RESPUESTA: en terminos del desarrollo se oriento a que sea programacion reactiva con webflux y usando R2DBC para poder manejar flujos
de datos
20 changes: 20 additions & 0 deletions QUERY-TABLAS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
CREATE TABLE transaction_types (
id SERIAL PRIMARY KEY,
name VARCHAR(50) NOT NULL UNIQUE
);

CREATE TABLE transactions (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
account_external_id_debit UUID NOT NULL,
account_external_id_credit UUID NOT NULL,
transaction_type_id INT NOT NULL,
value NUMERIC(10, 2) NOT NULL,
status VARCHAR(20) NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (transaction_type_id) REFERENCES transaction_types(id)
);

INSERT INTO transaction_types (name) VALUES
('deposit'),
('withdrawal'),
('transfer');
Empty file added ejemplo.yml
Empty file.
33 changes: 33 additions & 0 deletions ms-anti-fraud/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

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

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/

### VS Code ###
.vscode/
19 changes: 19 additions & 0 deletions ms-anti-fraud/.mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip
259 changes: 259 additions & 0 deletions ms-anti-fraud/mvnw

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

Loading