├── .gitignore ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── application ├── account │ ├── build.gradle.kts │ └── src │ │ ├── main │ │ ├── kotlin │ │ │ └── financial │ │ │ │ └── accounting │ │ │ │ └── account │ │ │ │ ├── command │ │ │ │ ├── adjust │ │ │ │ │ ├── AdjustBalance.kt │ │ │ │ │ └── AdjustBalanceHandler.kt │ │ │ │ └── solve │ │ │ │ │ ├── SolveFailures.kt │ │ │ │ │ └── SolveFailuresHandler.kt │ │ │ │ ├── core │ │ │ │ ├── model │ │ │ │ │ ├── AccountBalance.kt │ │ │ │ │ └── AccountBalanceRepository.kt │ │ │ │ └── valueobject │ │ │ │ │ └── AccountId.kt │ │ │ │ ├── driven │ │ │ │ ├── repository │ │ │ │ │ ├── AccountBalanceMapper.kt │ │ │ │ │ ├── AccountBalanceNotFoundException.kt │ │ │ │ │ ├── AccountBalanceRepository.kt │ │ │ │ │ └── Queries.kt │ │ │ │ ├── troubleshoot │ │ │ │ │ ├── FailureMapper.kt │ │ │ │ │ ├── Persistence.kt │ │ │ │ │ └── Queries.kt │ │ │ │ └── view │ │ │ │ │ ├── ConsoleBalance.kt │ │ │ │ │ └── Viewer.kt │ │ │ │ ├── driver │ │ │ │ ├── kafka │ │ │ │ │ └── TransactionRegisteredMapper.kt │ │ │ │ └── policies │ │ │ │ │ ├── AdjustBalancePolicy.kt │ │ │ │ │ └── events │ │ │ │ │ ├── Event.kt │ │ │ │ │ └── TransactionRegistered.kt │ │ │ │ └── query │ │ │ │ ├── BalanceDao.kt │ │ │ │ ├── Queries.kt │ │ │ │ ├── ShowBalance.kt │ │ │ │ └── ShowBalanceHandler.kt │ │ └── resources │ │ │ └── command │ │ │ ├── show-balance.sh │ │ │ └── solve-failures.sh │ │ └── test │ │ └── kotlin │ │ ├── commonvalues │ │ └── Accounts.kt │ │ ├── integration │ │ ├── Migration.kt │ │ ├── PostgreSql.kt │ │ └── financial │ │ │ └── accounting │ │ │ └── account │ │ │ ├── core │ │ │ └── model │ │ │ │ └── AccountBalanceTest.kt │ │ │ └── driven │ │ │ └── troubleshoot │ │ │ └── PersistenceTest.kt │ │ ├── mock │ │ ├── AdjustBalanceBusMock.kt │ │ ├── DatabaseConnectionForTesting.kt │ │ ├── DatabaseSettingsForTesting.kt │ │ ├── LoggerMock.kt │ │ └── SchemaMock.kt │ │ └── unit │ │ ├── .gitkeep │ │ └── financial │ │ └── accounting │ │ └── account │ │ ├── core │ │ ├── model │ │ │ └── AccountBalanceTest.kt │ │ └── valueobject │ │ │ └── AccountIdTest.kt │ │ ├── driven │ │ └── repository │ │ │ └── AccountBalanceRepositoryTest.kt │ │ └── driver │ │ ├── kafka │ │ └── TransactionRegisteredMapperTest.kt │ │ └── policies │ │ └── AdjustBalancePolicyTest.kt ├── bookkeeping │ ├── build.gradle.kts │ └── src │ │ ├── main │ │ ├── kotlin │ │ │ └── financial │ │ │ │ └── accounting │ │ │ │ └── bookkeeping │ │ │ │ ├── command │ │ │ │ ├── .gitkeep │ │ │ │ └── register │ │ │ │ │ ├── RegisterFinancialTransaction.kt │ │ │ │ │ └── RegisterFinancialTransactionHandler.kt │ │ │ │ ├── core │ │ │ │ ├── events │ │ │ │ │ ├── Event.kt │ │ │ │ │ └── TransactionRegistered.kt │ │ │ │ ├── model │ │ │ │ │ ├── Status.kt │ │ │ │ │ ├── Transaction.kt │ │ │ │ │ └── TransactionRepository.kt │ │ │ │ └── valueobject │ │ │ │ │ └── TransactionId.kt │ │ │ │ └── driven │ │ │ │ ├── .gitkeep │ │ │ │ └── repository │ │ │ │ ├── Queries.kt │ │ │ │ └── TransactionRepository.kt │ │ └── resources │ │ │ └── command │ │ │ └── register-financial-transaction.sh │ │ └── test │ │ └── kotlin │ │ ├── commonvalues │ │ └── Accounts.kt │ │ ├── integration │ │ ├── Migration.kt │ │ ├── PostgreSql.kt │ │ └── financial │ │ │ └── accounting │ │ │ └── bookkeeping │ │ │ ├── .gitkeep │ │ │ └── core │ │ │ └── model │ │ │ └── TransactionTest.kt │ │ ├── mock │ │ ├── DatabaseConnectionForTesting.kt │ │ └── DatabaseSettingsForTesting.kt │ │ └── unit │ │ ├── .gitkeep │ │ └── financial │ │ └── accounting │ │ └── bookkeeping │ │ ├── core │ │ ├── model │ │ │ └── TransactionTest.kt │ │ └── valueobject │ │ │ └── TransactionIdTest.kt │ │ └── driven │ │ └── repository │ │ └── TransactionRepositoryTest.kt ├── shared │ ├── build.gradle.kts │ └── src │ │ ├── main │ │ └── kotlin │ │ │ └── financial │ │ │ └── shared │ │ │ ├── Environment.kt │ │ │ ├── adapters │ │ │ ├── console │ │ │ │ ├── command │ │ │ │ │ ├── Command.kt │ │ │ │ │ ├── CommandConsoleDriver.kt │ │ │ │ │ ├── bus │ │ │ │ │ │ ├── CommandBus.kt │ │ │ │ │ │ └── CommandDispatcher.kt │ │ │ │ │ └── resolver │ │ │ │ │ │ ├── CommandHandler.kt │ │ │ │ │ │ ├── CommandHandlerResolver.kt │ │ │ │ │ │ ├── CommandResolver.kt │ │ │ │ │ │ └── exception │ │ │ │ │ │ └── CommandHandlerNotFoundException.kt │ │ │ │ └── event │ │ │ │ │ ├── EventBus.kt │ │ │ │ │ └── EventDispatcher.kt │ │ │ └── http │ │ │ │ └── .gitkeep │ │ │ ├── buildingblocks │ │ │ ├── aggregate │ │ │ │ └── AggregateRoot.kt │ │ │ ├── domainevent │ │ │ │ └── Event.kt │ │ │ ├── entity │ │ │ │ ├── Entity.kt │ │ │ │ └── Identity.kt │ │ │ └── valueobject │ │ │ │ └── ValueObject.kt │ │ │ ├── databases │ │ │ ├── Database.kt │ │ │ ├── DatabaseConnection.kt │ │ │ ├── DatabaseMapper.kt │ │ │ ├── DatabaseSettings.kt │ │ │ ├── RelationalDatabase.kt │ │ │ ├── RelationalDatabaseCapabilities.kt │ │ │ └── postgresql │ │ │ │ ├── PostgreSqlDatabase.kt │ │ │ │ └── PostgreSqlDatabaseSettings.kt │ │ │ ├── di │ │ │ └── Container.kt │ │ │ ├── eventsourcing │ │ │ ├── Event.kt │ │ │ ├── EventRecord.kt │ │ │ ├── EventSourcing.kt │ │ │ ├── EventSourcingCapabilities.kt │ │ │ └── EventSourcingRoot.kt │ │ │ ├── log │ │ │ ├── Logger.kt │ │ │ └── LoggerFactory.kt │ │ │ ├── mapper │ │ │ ├── JsonMapper.kt │ │ │ └── JsonMapperFactory.kt │ │ │ ├── policies │ │ │ ├── Failures.kt │ │ │ └── Policy.kt │ │ │ ├── streams │ │ │ ├── ConnectorFactory.kt │ │ │ ├── StreamFactory.kt │ │ │ ├── StreamSettings.kt │ │ │ ├── TopicFactory.kt │ │ │ └── kafka │ │ │ │ ├── KafkaSettings.kt │ │ │ │ ├── connector │ │ │ │ └── KafkaConnectorFactory.kt │ │ │ │ ├── stream │ │ │ │ ├── KafkaEventMapper.kt │ │ │ │ ├── KafkaStreamFactory.kt │ │ │ │ └── KafkaTopologyFactory.kt │ │ │ │ └── topic │ │ │ │ └── KafkaTopicFactory.kt │ │ │ └── valueobject │ │ │ ├── Amount.kt │ │ │ ├── Currency.kt │ │ │ ├── UUID.kt │ │ │ └── Version.kt │ │ └── test │ │ └── kotlin │ │ ├── mock │ │ ├── ContainerFactoryForTest.kt │ │ └── command │ │ │ ├── CommandWithoutHandler.kt │ │ │ ├── CreateTransaction.kt │ │ │ └── CreateTransactionHandler.kt │ │ └── unit │ │ ├── .gitkeep │ │ └── financial │ │ └── shared │ │ ├── adapters │ │ └── console │ │ │ └── command │ │ │ └── resolver │ │ │ └── CommandHandlerResolverTest.kt │ │ └── valueobject │ │ ├── AmountTest.kt │ │ └── VersionTest.kt └── starter │ ├── build.gradle.kts │ ├── build │ └── libs │ │ └── starter-all.jar │ └── src │ └── main │ ├── kotlin │ └── financial.starter │ │ ├── Application.kt │ │ ├── Dependencies.kt │ │ └── Platform.kt │ └── resources │ ├── db │ └── postgresql │ │ ├── init-db.sh │ │ └── migration │ │ ├── V0000__Create_user.sql │ │ ├── V0001__Create_table_balances.sql │ │ ├── V0002__Create_table_transactions.sql │ │ ├── V0003__Create_table_troubleshoot.sql │ │ └── V0004__Insert_initial_data.sql │ └── kafka │ └── connectors │ └── source-bookkeeping-transaction-registered.json ├── config └── configs.env ├── doc ├── financial.drawio └── images │ ├── overview │ ├── financial-architecture-flow.png │ ├── financial-architecture.png │ ├── financial-domain.png │ ├── financial-kafka-cdc.png │ └── financial-kafka-flow-macro.png │ └── roadmap │ ├── app-status.png │ ├── containers-status.png │ ├── opening-balance.png │ ├── register-financial-transaction.png │ ├── solve-failures.png │ ├── updated-balance-by-failure.png │ └── updated-balance.png ├── docker-compose.yml ├── entrypoint.sh ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle.kts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/README.md -------------------------------------------------------------------------------- /application/account/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/build.gradle.kts -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/command/adjust/AdjustBalance.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/command/adjust/AdjustBalance.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/command/adjust/AdjustBalanceHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/command/adjust/AdjustBalanceHandler.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/command/solve/SolveFailures.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/command/solve/SolveFailures.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/command/solve/SolveFailuresHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/command/solve/SolveFailuresHandler.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/core/model/AccountBalance.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/core/model/AccountBalance.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/core/model/AccountBalanceRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/core/model/AccountBalanceRepository.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/core/valueobject/AccountId.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/core/valueobject/AccountId.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/repository/AccountBalanceMapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/repository/AccountBalanceMapper.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/repository/AccountBalanceNotFoundException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/repository/AccountBalanceNotFoundException.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/repository/AccountBalanceRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/repository/AccountBalanceRepository.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/repository/Queries.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/repository/Queries.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/troubleshoot/FailureMapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/troubleshoot/FailureMapper.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/troubleshoot/Persistence.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/troubleshoot/Persistence.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/troubleshoot/Queries.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/troubleshoot/Queries.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/view/ConsoleBalance.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/view/ConsoleBalance.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driven/view/Viewer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driven/view/Viewer.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driver/kafka/TransactionRegisteredMapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driver/kafka/TransactionRegisteredMapper.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driver/policies/AdjustBalancePolicy.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driver/policies/AdjustBalancePolicy.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driver/policies/events/Event.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driver/policies/events/Event.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/driver/policies/events/TransactionRegistered.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/driver/policies/events/TransactionRegistered.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/query/BalanceDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/query/BalanceDao.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/query/Queries.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/query/Queries.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/query/ShowBalance.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/query/ShowBalance.kt -------------------------------------------------------------------------------- /application/account/src/main/kotlin/financial/accounting/account/query/ShowBalanceHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/kotlin/financial/accounting/account/query/ShowBalanceHandler.kt -------------------------------------------------------------------------------- /application/account/src/main/resources/command/show-balance.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/resources/command/show-balance.sh -------------------------------------------------------------------------------- /application/account/src/main/resources/command/solve-failures.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/main/resources/command/solve-failures.sh -------------------------------------------------------------------------------- /application/account/src/test/kotlin/commonvalues/Accounts.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/commonvalues/Accounts.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/integration/Migration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/integration/Migration.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/integration/PostgreSql.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/integration/PostgreSql.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/integration/financial/accounting/account/core/model/AccountBalanceTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/integration/financial/accounting/account/core/model/AccountBalanceTest.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/integration/financial/accounting/account/driven/troubleshoot/PersistenceTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/integration/financial/accounting/account/driven/troubleshoot/PersistenceTest.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/mock/AdjustBalanceBusMock.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/mock/AdjustBalanceBusMock.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/mock/DatabaseConnectionForTesting.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/mock/DatabaseConnectionForTesting.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/mock/DatabaseSettingsForTesting.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/mock/DatabaseSettingsForTesting.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/mock/LoggerMock.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/mock/LoggerMock.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/mock/SchemaMock.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/mock/SchemaMock.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/account/src/test/kotlin/unit/financial/accounting/account/core/model/AccountBalanceTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/unit/financial/accounting/account/core/model/AccountBalanceTest.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/unit/financial/accounting/account/core/valueobject/AccountIdTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/unit/financial/accounting/account/core/valueobject/AccountIdTest.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/unit/financial/accounting/account/driven/repository/AccountBalanceRepositoryTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/unit/financial/accounting/account/driven/repository/AccountBalanceRepositoryTest.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/unit/financial/accounting/account/driver/kafka/TransactionRegisteredMapperTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/unit/financial/accounting/account/driver/kafka/TransactionRegisteredMapperTest.kt -------------------------------------------------------------------------------- /application/account/src/test/kotlin/unit/financial/accounting/account/driver/policies/AdjustBalancePolicyTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/account/src/test/kotlin/unit/financial/accounting/account/driver/policies/AdjustBalancePolicyTest.kt -------------------------------------------------------------------------------- /application/bookkeeping/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/build.gradle.kts -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/command/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/command/register/RegisterFinancialTransaction.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/command/register/RegisterFinancialTransaction.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/command/register/RegisterFinancialTransactionHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/command/register/RegisterFinancialTransactionHandler.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/events/Event.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/events/Event.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/events/TransactionRegistered.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/events/TransactionRegistered.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/model/Status.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/model/Status.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/model/Transaction.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/model/Transaction.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/model/TransactionRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/model/TransactionRepository.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/valueobject/TransactionId.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/core/valueobject/TransactionId.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/driven/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/driven/repository/Queries.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/driven/repository/Queries.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/driven/repository/TransactionRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/kotlin/financial/accounting/bookkeeping/driven/repository/TransactionRepository.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/main/resources/command/register-financial-transaction.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/main/resources/command/register-financial-transaction.sh -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/commonvalues/Accounts.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/commonvalues/Accounts.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/integration/Migration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/integration/Migration.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/integration/PostgreSql.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/integration/PostgreSql.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/integration/financial/accounting/bookkeeping/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/integration/financial/accounting/bookkeeping/core/model/TransactionTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/integration/financial/accounting/bookkeeping/core/model/TransactionTest.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/mock/DatabaseConnectionForTesting.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/mock/DatabaseConnectionForTesting.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/mock/DatabaseSettingsForTesting.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/mock/DatabaseSettingsForTesting.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/unit/financial/accounting/bookkeeping/core/model/TransactionTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/unit/financial/accounting/bookkeeping/core/model/TransactionTest.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/unit/financial/accounting/bookkeeping/core/valueobject/TransactionIdTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/unit/financial/accounting/bookkeeping/core/valueobject/TransactionIdTest.kt -------------------------------------------------------------------------------- /application/bookkeeping/src/test/kotlin/unit/financial/accounting/bookkeeping/driven/repository/TransactionRepositoryTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/bookkeeping/src/test/kotlin/unit/financial/accounting/bookkeeping/driven/repository/TransactionRepositoryTest.kt -------------------------------------------------------------------------------- /application/shared/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/build.gradle.kts -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/Environment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/Environment.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/Command.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/Command.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/CommandConsoleDriver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/CommandConsoleDriver.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/bus/CommandBus.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/bus/CommandBus.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/bus/CommandDispatcher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/bus/CommandDispatcher.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/CommandHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/CommandHandler.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/CommandHandlerResolver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/CommandHandlerResolver.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/CommandResolver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/CommandResolver.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/exception/CommandHandlerNotFoundException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/command/resolver/exception/CommandHandlerNotFoundException.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/event/EventBus.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/event/EventBus.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/console/event/EventDispatcher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/adapters/console/event/EventDispatcher.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/adapters/http/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/buildingblocks/aggregate/AggregateRoot.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/buildingblocks/aggregate/AggregateRoot.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/buildingblocks/domainevent/Event.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/buildingblocks/domainevent/Event.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/buildingblocks/entity/Entity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/buildingblocks/entity/Entity.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/buildingblocks/entity/Identity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/buildingblocks/entity/Identity.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/buildingblocks/valueobject/ValueObject.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/buildingblocks/valueobject/ValueObject.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/Database.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/Database.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/DatabaseConnection.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/DatabaseConnection.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/DatabaseMapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/DatabaseMapper.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/DatabaseSettings.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/DatabaseSettings.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/RelationalDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/RelationalDatabase.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/RelationalDatabaseCapabilities.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/RelationalDatabaseCapabilities.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/postgresql/PostgreSqlDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/postgresql/PostgreSqlDatabase.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/databases/postgresql/PostgreSqlDatabaseSettings.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/databases/postgresql/PostgreSqlDatabaseSettings.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/di/Container.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/di/Container.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/eventsourcing/Event.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/eventsourcing/Event.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/eventsourcing/EventRecord.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/eventsourcing/EventRecord.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/eventsourcing/EventSourcing.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/eventsourcing/EventSourcing.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/eventsourcing/EventSourcingCapabilities.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/eventsourcing/EventSourcingCapabilities.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/eventsourcing/EventSourcingRoot.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/eventsourcing/EventSourcingRoot.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/log/Logger.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/log/Logger.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/log/LoggerFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/log/LoggerFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/mapper/JsonMapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/mapper/JsonMapper.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/mapper/JsonMapperFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/mapper/JsonMapperFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/policies/Failures.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/policies/Failures.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/policies/Policy.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/policies/Policy.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/ConnectorFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/ConnectorFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/StreamFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/StreamFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/StreamSettings.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/StreamSettings.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/TopicFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/TopicFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/kafka/KafkaSettings.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/kafka/KafkaSettings.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/kafka/connector/KafkaConnectorFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/kafka/connector/KafkaConnectorFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/kafka/stream/KafkaEventMapper.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/kafka/stream/KafkaEventMapper.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/kafka/stream/KafkaStreamFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/kafka/stream/KafkaStreamFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/kafka/stream/KafkaTopologyFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/kafka/stream/KafkaTopologyFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/streams/kafka/topic/KafkaTopicFactory.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/streams/kafka/topic/KafkaTopicFactory.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/valueobject/Amount.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/valueobject/Amount.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/valueobject/Currency.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/valueobject/Currency.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/valueobject/UUID.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/valueobject/UUID.kt -------------------------------------------------------------------------------- /application/shared/src/main/kotlin/financial/shared/valueobject/Version.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/main/kotlin/financial/shared/valueobject/Version.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/mock/ContainerFactoryForTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/mock/ContainerFactoryForTest.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/mock/command/CommandWithoutHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/mock/command/CommandWithoutHandler.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/mock/command/CreateTransaction.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/mock/command/CreateTransaction.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/mock/command/CreateTransactionHandler.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/mock/command/CreateTransactionHandler.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/unit/financial/shared/adapters/console/command/resolver/CommandHandlerResolverTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/unit/financial/shared/adapters/console/command/resolver/CommandHandlerResolverTest.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/unit/financial/shared/valueobject/AmountTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/unit/financial/shared/valueobject/AmountTest.kt -------------------------------------------------------------------------------- /application/shared/src/test/kotlin/unit/financial/shared/valueobject/VersionTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/shared/src/test/kotlin/unit/financial/shared/valueobject/VersionTest.kt -------------------------------------------------------------------------------- /application/starter/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/build.gradle.kts -------------------------------------------------------------------------------- /application/starter/build/libs/starter-all.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/build/libs/starter-all.jar -------------------------------------------------------------------------------- /application/starter/src/main/kotlin/financial.starter/Application.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/kotlin/financial.starter/Application.kt -------------------------------------------------------------------------------- /application/starter/src/main/kotlin/financial.starter/Dependencies.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/kotlin/financial.starter/Dependencies.kt -------------------------------------------------------------------------------- /application/starter/src/main/kotlin/financial.starter/Platform.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/kotlin/financial.starter/Platform.kt -------------------------------------------------------------------------------- /application/starter/src/main/resources/db/postgresql/init-db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/db/postgresql/init-db.sh -------------------------------------------------------------------------------- /application/starter/src/main/resources/db/postgresql/migration/V0000__Create_user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/db/postgresql/migration/V0000__Create_user.sql -------------------------------------------------------------------------------- /application/starter/src/main/resources/db/postgresql/migration/V0001__Create_table_balances.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/db/postgresql/migration/V0001__Create_table_balances.sql -------------------------------------------------------------------------------- /application/starter/src/main/resources/db/postgresql/migration/V0002__Create_table_transactions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/db/postgresql/migration/V0002__Create_table_transactions.sql -------------------------------------------------------------------------------- /application/starter/src/main/resources/db/postgresql/migration/V0003__Create_table_troubleshoot.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/db/postgresql/migration/V0003__Create_table_troubleshoot.sql -------------------------------------------------------------------------------- /application/starter/src/main/resources/db/postgresql/migration/V0004__Insert_initial_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/db/postgresql/migration/V0004__Insert_initial_data.sql -------------------------------------------------------------------------------- /application/starter/src/main/resources/kafka/connectors/source-bookkeeping-transaction-registered.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/application/starter/src/main/resources/kafka/connectors/source-bookkeeping-transaction-registered.json -------------------------------------------------------------------------------- /config/configs.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/config/configs.env -------------------------------------------------------------------------------- /doc/financial.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/financial.drawio -------------------------------------------------------------------------------- /doc/images/overview/financial-architecture-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/overview/financial-architecture-flow.png -------------------------------------------------------------------------------- /doc/images/overview/financial-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/overview/financial-architecture.png -------------------------------------------------------------------------------- /doc/images/overview/financial-domain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/overview/financial-domain.png -------------------------------------------------------------------------------- /doc/images/overview/financial-kafka-cdc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/overview/financial-kafka-cdc.png -------------------------------------------------------------------------------- /doc/images/overview/financial-kafka-flow-macro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/overview/financial-kafka-flow-macro.png -------------------------------------------------------------------------------- /doc/images/roadmap/app-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/app-status.png -------------------------------------------------------------------------------- /doc/images/roadmap/containers-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/containers-status.png -------------------------------------------------------------------------------- /doc/images/roadmap/opening-balance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/opening-balance.png -------------------------------------------------------------------------------- /doc/images/roadmap/register-financial-transaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/register-financial-transaction.png -------------------------------------------------------------------------------- /doc/images/roadmap/solve-failures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/solve-failures.png -------------------------------------------------------------------------------- /doc/images/roadmap/updated-balance-by-failure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/updated-balance-by-failure.png -------------------------------------------------------------------------------- /doc/images/roadmap/updated-balance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/doc/images/roadmap/updated-balance.png -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/entrypoint.sh -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gustavofreze/financial/HEAD/settings.gradle.kts --------------------------------------------------------------------------------