Open MHaverbier opened 6 years ago
You can put comma separated values here if all those classes are available on the same jar file.
e.g.
<microservice.resourceClasses>com.companyname.projectname.microservices-part1,com.companyname.projectname.microservices-part2</microservice.resourceClasses>
Thanks, seems to work. I don't know why, because I got something like this before.
But where did you get the info, that this should work?
@MSchwarzer-Haverbier No worries. I was one of the core developers in the MSF4J project ;-)
Is there documentation on this topic somewhere?
Description: I want to split my microservices in two files in one project. So that I have the microservices for a project in one project but separated in more than one files according to the functionality of the services. At the moment I am using a pom file with this lines:
So atm all my microservices are in "microservices-part1.java" but I want to add a second class "microservices-part2.java".
Is this even posssible to do and if yes, how? I did not fine any documentation about the pom property microservice-resourceClasses and how to add mulitple classes.
Suggested Labels:
Suggested Assignees:
Affected Product Version: 2.5.2
OS, DB, other environment details and versions:
As this is mostly a request for documentation I think OS, DB and other information is not needed.
Steps to reproduce: Just create two microservices in two classes (with one file each) and try to get both running.
Related Issues: