microservice-api-patterns / lakesidemutual Goto Github PK
View Code? Open in Web Editor NEWExample Application for Microservice API Patterns (MAP) and other patterns (DDD, PoEAA, EIP)
License: Eclipse Public License 2.0
Example Application for Microservice API Patterns (MAP) and other patterns (DDD, PoEAA, EIP)
License: Eclipse Public License 2.0
Currently, the risk management server doesn't start when using the provided docker-compose.yml
. The problem lies in the way the volume is set up (https://github.com/Microservice-API-Patterns/LakesideMutual/blob/master/docker-compose.yml#L110), a /src
directory is copied into the container, but no such directory exists. Copying the whole directory works, but requires the end user to install NPM dependencies locally.
I assume a correctly fix would be to change the way the volume is done, either by moving the source into a /src
directory or configuring a .dockerignore
to ensure dependencies (e.g. node_modules
) isn't copied. For our use-case we were able to delete the volume for the time being.
Hi there ;)
Running LakesideMutual leads to changed Java files in customer-core/src.
Concretely, after running ./run_all_applications.sh
, git status
gives me several changes:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: customer-core/src/main/java/com/lm/ccore/Customer.java
modified: customer-core/src/main/java/com/lm/ccore/GetCustomerRequest.java
modified: customer-core/src/main/java/com/lm/ccore/GetCustomerResponse.java
modified: customer-core/src/main/java/com/lm/ccore/ObjectFactory.java
modified: customer-core/src/main/java/com/lm/ccore/Profile.java
modified: customer-core/src/main/java/com/lm/ccore/package-info.java
Maybe this is intended but I would expect that I don't have changes after "just running" the app; generated code should not be committed.
Or: if the source shall be visible for understandability: generate it into a separate source folder (for example src-gen), ignore it in .gitignore
, and add/commit it with -f
(force). Thereby you can commit it; but avoid that users/students have local changes after running the app.
Cheers!
Stefan
To be investigated
Hi Team,
I have tried to deploy all the micro-services over amd64 and arm64 platforms using ./run_all_applications.sh
script and docker-compose method. All the services are running but it seems that the frontend is not able to establish a connection to the backend. It says the backend service is not running. But the spring boot admin page displays all the backend services running. Adding the log and UI as well.
Dear LakesideMutual team
I have forked your project and experienced a few problems with the existing unit tests.
I would have expected every unit test to pass without any failures.
Unfortunately this is not the case, I will go into further details in the description below.
My Setup
Customer-Core
All tests in the class CustomerInformationHolderTests failed due to an IllegalStateException. The error messages says: "Failed to load ApplicationContext". I assume there is a Spring Configuratin missing for the test setup.
Customer-Management-Backend
The test layer_dependencies_are_respected in the class ArchitectureTests failed due to an AssertionError. It seems like there is a violation in the architecture principle.
I assume the test is failing because the package 'com.lakesidemutual.customermanagement.application' is not existing and thus empty.
Customer-Self-Service-Backend
The test rest_controllers_should_be_suffixed in the class ArchitectureTests failed due to an AssertionError. It seems like the class InsuranceQuoteRequestCoordinator does not apply to the given rules. The class should end with a suffix 'Controller', 'DataHolder' or 'InformationHolder'.
Policy-Management-Backend
The test rest_controllers_should_be_suffixed in the class ArchitectureTests failed due to an AssertionError. It seems like the class InsuranceQuoteRequestProcessingResource does not apply to the given rules. The class should end with a suffix 'Controller', 'DataHolder' or 'InformationHolder'.
Additionally I would expect the class RiskComputationService to fail in the same test case as well.
Further Enhancements
I would like to suggest to enhance the existing test setup. It seems like the current test setup is only testing the architectural setup. It would be a great improvement if also the functionality would be tested. Adding unit tests would make refactorings or changes to the existing application easier due to the possibility for regression testing.
Thanks a lot for the effort on your end. In case of further questions please do not hesitate to contact me.
Kind regards
Jan
Currently if i open the whole folder in Jetbrains IDE with new > import from existing source it does not reconize all subfolder and its projects. I do not want to open each subfolder seperatly and have multiple Windows open of same IDE.
Nice would then also having running configurations so
Possible solutions:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.