├── .editorconfig ├── .github └── workflows │ ├── check_build.yaml │ └── select_build.yaml ├── .gitignore ├── LICENSE ├── README.md ├── account ├── build.gradle.kts └── src │ ├── main │ ├── kotlin │ │ └── htnk128 │ │ │ └── kotlin │ │ │ └── ddd │ │ │ └── sample │ │ │ └── account │ │ │ ├── adapter │ │ │ ├── controller │ │ │ │ ├── AccountController.kt │ │ │ │ ├── ErrorAdvice.kt │ │ │ │ └── resource │ │ │ │ │ ├── AccountCreateRequest.kt │ │ │ │ │ ├── AccountFindAllRequest.kt │ │ │ │ │ ├── AccountResponse.kt │ │ │ │ │ ├── AccountResponses.kt │ │ │ │ │ └── AccountUpdateRequest.kt │ │ │ ├── gateway │ │ │ │ ├── db │ │ │ │ │ └── AccountExposedRepository.kt │ │ │ │ ├── messaging │ │ │ │ │ ├── AccountEventSpringPublisher.kt │ │ │ │ │ └── AccountEventSpringSubscriber.kt │ │ │ │ └── rest │ │ │ │ │ └── AddressBookRestService.kt │ │ │ └── presenter │ │ │ │ └── AccountPresenter.kt │ │ │ ├── domain │ │ │ ├── model │ │ │ │ ├── account │ │ │ │ │ ├── Account.kt │ │ │ │ │ ├── AccountEvent.kt │ │ │ │ │ ├── AccountId.kt │ │ │ │ │ ├── AccountInvalidDataStateException.kt │ │ │ │ │ ├── AccountInvalidRequestException.kt │ │ │ │ │ ├── AccountNotFoundException.kt │ │ │ │ │ ├── AccountUpdateFailedException.kt │ │ │ │ │ ├── Email.kt │ │ │ │ │ ├── Name.kt │ │ │ │ │ ├── NamePronunciation.kt │ │ │ │ │ └── Password.kt │ │ │ │ └── addressbook │ │ │ │ │ ├── AccountAddress.kt │ │ │ │ │ ├── AccountAddressId.kt │ │ │ │ │ ├── AddressBook.kt │ │ │ │ │ ├── AddressBookInvalidRequestException.kt │ │ │ │ │ └── AddressBookService.kt │ │ │ └── repository │ │ │ │ └── AccountRepository.kt │ │ │ ├── external │ │ │ └── spring │ │ │ │ ├── Application.kt │ │ │ │ ├── configuration │ │ │ │ └── ApplicationConfiguration.kt │ │ │ │ └── rest │ │ │ │ └── AccountRestController.kt │ │ │ └── usecase │ │ │ ├── inputport │ │ │ ├── AccountUseCase.kt │ │ │ └── command │ │ │ │ ├── CreateAccountCommand.kt │ │ │ │ ├── DeleteAccountCommand.kt │ │ │ │ ├── FindAccountCommand.kt │ │ │ │ ├── FindAllAccountCommand.kt │ │ │ │ └── UpdateAccountCommand.kt │ │ │ ├── interactor │ │ │ └── AccountInteractor.kt │ │ │ └── outputport │ │ │ ├── AccountUseCase.kt │ │ │ └── dto │ │ │ └── AccountDTO.kt │ └── resources │ │ ├── application.yml │ │ └── db │ │ └── migration │ │ └── V1__account.sql │ └── test │ └── kotlin │ ├── htnk128 │ └── kotlin │ │ └── ddd │ │ └── sample │ │ └── account │ │ └── domain │ │ └── model │ │ ├── account │ │ ├── AccountIdSpec.kt │ │ ├── AccountSpec.kt │ │ ├── EmailSpec.kt │ │ ├── NamePronunciationSpec.kt │ │ ├── NameSpec.kt │ │ └── PasswordSpec.kt │ │ └── addressbook │ │ ├── AccountAddressIdSpec.kt │ │ ├── AccountAddressSpec.kt │ │ └── AddressBookSpec.kt │ └── io │ └── kotlintest │ └── provided │ └── ProjectConfig.kt ├── address ├── build.gradle.kts └── src │ ├── main │ ├── kotlin │ │ └── htnk128 │ │ │ └── kotlin │ │ │ └── ddd │ │ │ └── sample │ │ │ └── address │ │ │ ├── adapter │ │ │ ├── controller │ │ │ │ ├── AddressController.kt │ │ │ │ ├── ErrorAdvice.kt │ │ │ │ └── resource │ │ │ │ │ ├── AddressCreateRequest.kt │ │ │ │ │ ├── AddressFindAllRequest.kt │ │ │ │ │ ├── AddressResponse.kt │ │ │ │ │ ├── AddressResponses.kt │ │ │ │ │ └── AddressUpdateRequest.kt │ │ │ ├── gateway │ │ │ │ ├── db │ │ │ │ │ └── AddressExposedRepository.kt │ │ │ │ ├── messaging │ │ │ │ │ ├── AddressEventSpringPublisher.kt │ │ │ │ │ └── AddressEventSpringSubscriber.kt │ │ │ │ └── rest │ │ │ │ │ └── OwnerRestService.kt │ │ │ └── presenter │ │ │ │ └── AddressPresenter.kt │ │ │ ├── domain │ │ │ ├── model │ │ │ │ ├── address │ │ │ │ │ ├── Address.kt │ │ │ │ │ ├── AddressEvent.kt │ │ │ │ │ ├── AddressId.kt │ │ │ │ │ ├── AddressInvalidDataStateException.kt │ │ │ │ │ ├── AddressInvalidRequestException.kt │ │ │ │ │ ├── AddressNotFoundException.kt │ │ │ │ │ ├── AddressUpdateFailedException.kt │ │ │ │ │ ├── City.kt │ │ │ │ │ ├── FullName.kt │ │ │ │ │ ├── Line1.kt │ │ │ │ │ ├── Line2.kt │ │ │ │ │ ├── PhoneNumber.kt │ │ │ │ │ ├── StateOrRegion.kt │ │ │ │ │ └── ZipCode.kt │ │ │ │ └── owner │ │ │ │ │ ├── Owner.kt │ │ │ │ │ ├── OwnerId.kt │ │ │ │ │ ├── OwnerInvalidRequestException.kt │ │ │ │ │ ├── OwnerNotFoundException.kt │ │ │ │ │ └── OwnerService.kt │ │ │ └── repository │ │ │ │ └── AddressRepository.kt │ │ │ ├── external │ │ │ └── spring │ │ │ │ ├── Application.kt │ │ │ │ ├── configuration │ │ │ │ └── ApplicationConfiguration.kt │ │ │ │ └── rest │ │ │ │ └── AddressRestController.kt │ │ │ └── usecase │ │ │ ├── inputport │ │ │ ├── AddressUseCase.kt │ │ │ └── command │ │ │ │ ├── CreateAddressCommand.kt │ │ │ │ ├── DeleteAddressCommand.kt │ │ │ │ ├── FindAddressCommand.kt │ │ │ │ ├── FindAllAddressCommand.kt │ │ │ │ └── UpdateAddressCommand.kt │ │ │ ├── interactor │ │ │ └── AddressInteractor.kt │ │ │ └── outputport │ │ │ ├── AddressUseCase.kt │ │ │ └── dto │ │ │ └── AddressDTO.kt │ └── resources │ │ ├── application.yml │ │ └── db │ │ └── migration │ │ └── V1__address.sql │ └── test │ └── kotlin │ ├── htnk128 │ └── kotlin │ │ └── ddd │ │ └── sample │ │ └── address │ │ └── domain │ │ └── model │ │ ├── address │ │ ├── AddressIdSpec.kt │ │ ├── AddressSpec.kt │ │ ├── CitySpec.kt │ │ ├── FullNameSpec.kt │ │ ├── Line1Spec.kt │ │ ├── Line2Spec.kt │ │ ├── PhoneNumberSpec.kt │ │ ├── StateOrRegionSpec.kt │ │ └── ZipCodeSpec.kt │ │ └── owner │ │ ├── OwnerIdSpec.kt │ │ └── OwnerSpec.kt │ └── io │ └── kotlintest │ └── provided │ └── ProjectConfig.kt ├── ddd-core ├── build.gradle.kts └── src │ └── main │ └── kotlin │ └── htnk128 │ └── kotlin │ └── ddd │ └── sample │ └── ddd │ └── core │ └── domain │ ├── DomainEvent.kt │ ├── DomainEventPublisher.kt │ ├── DomainEventSubscriber.kt │ ├── Entity.kt │ ├── Identity.kt │ ├── SomeIdentity.kt │ ├── SomeValueObject.kt │ └── ValueObject.kt ├── docs ├── account-use-case.png ├── account-use-case.puml ├── address-use-case.png ├── address-use-case.puml ├── contextmap.drawio └── contextmap.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle.kts └── shared ├── build.gradle.kts └── src └── main └── kotlin └── htnk128 └── kotlin └── ddd └── sample └── shared ├── adapter ├── controller │ └── resource │ │ └── ErrorResponse.kt └── gateway │ └── db │ ├── ExposedTable.kt │ └── InstantColumnType.kt └── usecase ├── ApplicationException.kt └── outputport └── dto └── PaginationDTO.kt /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/check_build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/.github/workflows/check_build.yaml -------------------------------------------------------------------------------- /.github/workflows/select_build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/.github/workflows/select_build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/README.md -------------------------------------------------------------------------------- /account/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/build.gradle.kts -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/AccountController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/AccountController.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/ErrorAdvice.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/ErrorAdvice.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountCreateRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountCreateRequest.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountFindAllRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountFindAllRequest.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountResponse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountResponse.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountResponses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountResponses.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountUpdateRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/controller/resource/AccountUpdateRequest.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/db/AccountExposedRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/db/AccountExposedRepository.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/messaging/AccountEventSpringPublisher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/messaging/AccountEventSpringPublisher.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/messaging/AccountEventSpringSubscriber.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/messaging/AccountEventSpringSubscriber.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/rest/AddressBookRestService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/gateway/rest/AddressBookRestService.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/presenter/AccountPresenter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/adapter/presenter/AccountPresenter.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Account.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Account.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountEvent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountEvent.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountId.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountId.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountInvalidDataStateException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountInvalidDataStateException.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountInvalidRequestException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountInvalidRequestException.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountNotFoundException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountNotFoundException.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountUpdateFailedException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountUpdateFailedException.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Email.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Email.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Name.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Name.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/NamePronunciation.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/NamePronunciation.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Password.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/Password.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddress.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddress.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddressId.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddressId.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBook.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBook.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBookInvalidRequestException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBookInvalidRequestException.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBookService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBookService.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/repository/AccountRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/domain/repository/AccountRepository.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/external/spring/Application.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/external/spring/Application.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/external/spring/configuration/ApplicationConfiguration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/external/spring/configuration/ApplicationConfiguration.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/external/spring/rest/AccountRestController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/external/spring/rest/AccountRestController.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/AccountUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/AccountUseCase.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/CreateAccountCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/CreateAccountCommand.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/DeleteAccountCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/DeleteAccountCommand.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/FindAccountCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/FindAccountCommand.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/FindAllAccountCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/FindAllAccountCommand.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/UpdateAccountCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/inputport/command/UpdateAccountCommand.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/interactor/AccountInteractor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/interactor/AccountInteractor.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/outputport/AccountUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/outputport/AccountUseCase.kt -------------------------------------------------------------------------------- /account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/outputport/dto/AccountDTO.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/kotlin/htnk128/kotlin/ddd/sample/account/usecase/outputport/dto/AccountDTO.kt -------------------------------------------------------------------------------- /account/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/resources/application.yml -------------------------------------------------------------------------------- /account/src/main/resources/db/migration/V1__account.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/main/resources/db/migration/V1__account.sql -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountIdSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountIdSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/AccountSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/EmailSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/EmailSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/NamePronunciationSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/NamePronunciationSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/NameSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/NameSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/PasswordSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/account/PasswordSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddressIdSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddressIdSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddressSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AccountAddressSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBookSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/htnk128/kotlin/ddd/sample/account/domain/model/addressbook/AddressBookSpec.kt -------------------------------------------------------------------------------- /account/src/test/kotlin/io/kotlintest/provided/ProjectConfig.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/account/src/test/kotlin/io/kotlintest/provided/ProjectConfig.kt -------------------------------------------------------------------------------- /address/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/build.gradle.kts -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/AddressController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/AddressController.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/ErrorAdvice.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/ErrorAdvice.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressCreateRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressCreateRequest.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressFindAllRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressFindAllRequest.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressResponse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressResponse.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressResponses.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressResponses.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressUpdateRequest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/controller/resource/AddressUpdateRequest.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/db/AddressExposedRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/db/AddressExposedRepository.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/messaging/AddressEventSpringPublisher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/messaging/AddressEventSpringPublisher.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/messaging/AddressEventSpringSubscriber.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/messaging/AddressEventSpringSubscriber.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/rest/OwnerRestService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/gateway/rest/OwnerRestService.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/presenter/AddressPresenter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/adapter/presenter/AddressPresenter.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Address.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Address.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressEvent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressEvent.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressId.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressId.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressInvalidDataStateException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressInvalidDataStateException.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressInvalidRequestException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressInvalidRequestException.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressNotFoundException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressNotFoundException.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressUpdateFailedException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressUpdateFailedException.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/City.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/City.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/FullName.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/FullName.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line1.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line1.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line2.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line2.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/PhoneNumber.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/PhoneNumber.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/StateOrRegion.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/StateOrRegion.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/ZipCode.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/ZipCode.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/Owner.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/Owner.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerId.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerId.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerInvalidRequestException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerInvalidRequestException.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerNotFoundException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerNotFoundException.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerService.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/repository/AddressRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/domain/repository/AddressRepository.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/external/spring/Application.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/external/spring/Application.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/external/spring/configuration/ApplicationConfiguration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/external/spring/configuration/ApplicationConfiguration.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/external/spring/rest/AddressRestController.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/external/spring/rest/AddressRestController.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/AddressUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/AddressUseCase.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/CreateAddressCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/CreateAddressCommand.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/DeleteAddressCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/DeleteAddressCommand.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/FindAddressCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/FindAddressCommand.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/FindAllAddressCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/FindAllAddressCommand.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/UpdateAddressCommand.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/inputport/command/UpdateAddressCommand.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/interactor/AddressInteractor.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/interactor/AddressInteractor.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/outputport/AddressUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/outputport/AddressUseCase.kt -------------------------------------------------------------------------------- /address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/outputport/dto/AddressDTO.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/outputport/dto/AddressDTO.kt -------------------------------------------------------------------------------- /address/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/resources/application.yml -------------------------------------------------------------------------------- /address/src/main/resources/db/migration/V1__address.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/main/resources/db/migration/V1__address.sql -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressIdSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressIdSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/AddressSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/CitySpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/CitySpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/FullNameSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/FullNameSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line1Spec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line1Spec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line2Spec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/Line2Spec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/PhoneNumberSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/PhoneNumberSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/StateOrRegionSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/StateOrRegionSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/ZipCodeSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/address/ZipCodeSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerIdSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerIdSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerSpec.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/htnk128/kotlin/ddd/sample/address/domain/model/owner/OwnerSpec.kt -------------------------------------------------------------------------------- /address/src/test/kotlin/io/kotlintest/provided/ProjectConfig.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/address/src/test/kotlin/io/kotlintest/provided/ProjectConfig.kt -------------------------------------------------------------------------------- /ddd-core/build.gradle.kts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/DomainEvent.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/DomainEvent.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/DomainEventPublisher.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/DomainEventPublisher.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/DomainEventSubscriber.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/DomainEventSubscriber.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/Entity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/Entity.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/Identity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/Identity.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/SomeIdentity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/SomeIdentity.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/SomeValueObject.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/SomeValueObject.kt -------------------------------------------------------------------------------- /ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/ValueObject.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/ddd-core/src/main/kotlin/htnk128/kotlin/ddd/sample/ddd/core/domain/ValueObject.kt -------------------------------------------------------------------------------- /docs/account-use-case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/docs/account-use-case.png -------------------------------------------------------------------------------- /docs/account-use-case.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/docs/account-use-case.puml -------------------------------------------------------------------------------- /docs/address-use-case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/docs/address-use-case.png -------------------------------------------------------------------------------- /docs/address-use-case.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/docs/address-use-case.puml -------------------------------------------------------------------------------- /docs/contextmap.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/docs/contextmap.drawio -------------------------------------------------------------------------------- /docs/contextmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/docs/contextmap.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/settings.gradle.kts -------------------------------------------------------------------------------- /shared/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/shared/build.gradle.kts -------------------------------------------------------------------------------- /shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/adapter/controller/resource/ErrorResponse.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/adapter/controller/resource/ErrorResponse.kt -------------------------------------------------------------------------------- /shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/adapter/gateway/db/ExposedTable.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/adapter/gateway/db/ExposedTable.kt -------------------------------------------------------------------------------- /shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/adapter/gateway/db/InstantColumnType.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/adapter/gateway/db/InstantColumnType.kt -------------------------------------------------------------------------------- /shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/usecase/ApplicationException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/usecase/ApplicationException.kt -------------------------------------------------------------------------------- /shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/usecase/outputport/dto/PaginationDTO.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/htnk128/kotlin-ddd-sample/HEAD/shared/src/main/kotlin/htnk128/kotlin/ddd/sample/shared/usecase/outputport/dto/PaginationDTO.kt --------------------------------------------------------------------------------