<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<configuration>
<tomeeVersion>${version.tomee}</tomeeVersion>
<tomeeClassifier>webprofile</tomeeClassifier>
<!--@formatter:off-->
<webapps>
<webapp>${project.groupId}:microservice-speaker-web:${project.version}</webapp>
<webapp>${project.groupId}:microservice-session:${project.version}</webapp>
<webapp>${project.groupId}:microservice-schedule:${project.version}</webapp>
<webapp>${project.groupId}:microservice-vote:${project.version}</webapp>
</webapps>
<!--@formatter:on-->
</configuration>
</plugin>
Hi,
I was testing to make sure all the services could still run on Liberty earlier and accidentally created a PR into the main repo.
I'd done a previous test on Liberty about a month ago and had at that time expected all services to run on all vendors platforms so that they could use the application as a sample to show MP on their own stack. However, when I came to merge this into the repo we decided that it should be one vendor per service as discussed here:
https://github.com/microprofile/microprofile-conference/pull/43
I thought I'd create a discussion here as suggested by Martijn on the latest PR:
https://github.com/microprofile/microprofile-conference/pull/98
As he had also thought that it was ok to run all services on all vendors platforms.
What is the general consensus, should we be able to demonstrate all the services running locally on a single vendor platform?
Two other points, I definitely agree that the default should be to run each service on the different platforms. I believe tomee is already setup to run all the WARs on tomee in the config in the web-application pom's but I may be mis-interpreting this:
<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<configuration>
<tomeeVersion>${version.tomee}</tomeeVersion>
<tomeeClassifier>webprofile</tomeeClassifier>
<!--@formatter:off-->
<webapps>
<webapp>${project.groupId}:microservice-speaker-web:${project.version}</webapp>
<webapp>${project.groupId}:microservice-session:${project.version}</webapp>
<webapp>${project.groupId}:microservice-schedule:${project.version}</webapp>
<webapp>${project.groupId}:microservice-vote:${project.version}</webapp>
</webapps>
<!--@formatter:on-->
</configuration>
</plugin>
Cheers,
Iain
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/8f800dd9-d646-48c0-84bd-43f29260eec8%40googlegroups.com.
+1
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/dcf23c78-c916-44ac-ad9a-5e9ca576909f%40googlegroups.com.
+1
Would be great to have a Hudson or Jenkins instance showing the successful deployment of such portability test app to all relevant containers.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/138804bb-788f-46fe-b3b1-6df89a297a19%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/ED7B12E7-84FD-420C-97CD-E66B7FF3ABA9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/dcd43247-dcb4-462f-aec1-873ef197cd0e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/1aae753c-716f-4b36-ab0e-48d787cf2461%40googlegroups.com.
Ondrej,That was also my thoughts on the purpose of the conference app, not as a TCK but more a showcase and interoperability example.Making it TCK like with all services able to run on all implementations, especially as we add more services/implementations, makes the setup more confusing and prone to errors in my view.Ken
On Fri, Nov 11, 2016 at 2:45 PM, Ondrej Mihályi <ondrej....@gmail.com> wrote:
It would be great to have each service of the conference app deployable to any implementation. However, I believe the foremost goal of the conference repo is to provide an example how to use MicroProfile implementations together and a vision what can be MicroProfile useful for.As a TCK, I think it is better to grow the set of example apps, which are in https://github.com/microprofile/microprofile-samples repo. Each app in the repo includes a set of tests and a maven profile for each implementation, including Hammock. It is also good to demonstrate how to build an app on top of the core MicroProfile API - For example, the Swagger app does that for Swagger. It is necessary to show people how to integrate other tools/libs with MicroProfile because mP is far from providing a complete stack at current stage. Otherwise they would think mP is just a toy.If I'm wrong, please clarify and remind me again what are the main purposes of the conference and samples repos.--Ondrej
Dňa piatok, 11. novembra 2016 16:30:31 UTC+1 John Clingan napísal(-a):This has been discussed, with the idea being a continually running live demo across multiple vendors, and we actually do CD to update the live demo with new features. We just need to "get it done". Unclear if the Eclipse Foundation has the (runtime) resources to do this or if we have to host it ourselves. We'll get there.
On Friday, November 11, 2016 at 1:51:45 AM UTC-8, Werner Keil wrote:+1
Would be great to have a Hudson or Jenkins instance showing the successful deployment of such portability test app to all relevant containers.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/4C22D45B-5220-442C-B66A-F602F7A057A7%40redhat.com.
mvn clean package tomee:run -pl :web-application -DskipTests
This deploys and runs all services in a single TomEE instance. It's been used to develop the UI so far, rather than firing up the services individually.
So, I think it is this process that needed addressing. Each vendor should have this option (not just TomEE).
mvn clean package -P[vendor] -pl :web-application -DskipTests <-- This is the intended goal.
The gulpfile.js would need some tailoring, and the web-application pom needs the profiles defining.
Andy.
I've seen profiles being set up in the pom files to run services on other vendors.
This wasn't the intent of this thread I think?
Each vendor has basically sponsored a service. The corresponding pom should only contain each vendors maven build for their service. If we start adding profiles to each pom for each vendor we'll end up with a bit of a mess I think. It'll be really hard for the community users to see what is what.
The idea was to add just a profile to the local startup.
Currently, there is a local startup option -mvn clean package tomee:run -pl :web-application -DskipTests
This deploys and runs all services in a single TomEE instance. It's been used to develop the UI so far, rather than firing up the services individually.
So, I think it is this process that needed addressing. Each vendor should have this option (not just TomEE).
mvn clean package -P[vendor] -pl :web-application -DskipTests <-- This is the intended goal.
The gulpfile.js would need some tailoring, and the web-application pom needs the profiles defining.
Andy.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/a5a010e0-6cf8-4ddb-ba86-c0d51aac6493%40googlegroups.com.
On Mon, Nov 14, 2016 at 2:22 PM, Andy Gumbrecht <agumb...@tomitribe.com> wrote:I've seen profiles being set up in the pom files to run services on other vendors.
This wasn't the intent of this thread I think?
Each vendor has basically sponsored a service. The corresponding pom should only contain each vendors maven build for their service. If we start adding profiles to each pom for each vendor we'll end up with a bit of a mess I think. It'll be really hard for the community users to see what is what.I agree, as I've already stated, that having every service buildable by every implementation (especially if we reach 5+ implementations) becomes unwieldy and difficult to maintain.
The idea was to add just a profile to the local startup.
Currently, there is a local startup option -mvn clean package tomee:run -pl :web-application -DskipTests
This deploys and runs all services in a single TomEE instance. It's been used to develop the UI so far, rather than firing up the services individually.
So, I think it is this process that needed addressing. Each vendor should have this option (not just TomEE).
mvn clean package -P[vendor] -pl :web-application -DskipTests <-- This is the intended goal.I like the idea, but in practice it requires a common build process for all implementations.It may be that a common build process might be a long term goal, but i'm not sure on that right now.It also means an implementation is unable to provide custom configuration for every service without "cracking open" the Uber jar, assuming a single build, to add things into it.Given how each implementation handles a "build" slightly differently, I don't think there's any way to provide vendor specific solutions to running the web application unless we dictate that all services are just WARs and that any implementation must be able to have a WAR deployed to it. But that would completely negate Uber jars and be no different to us deploying everything to WildFly, WebSphere, Weblogic, etc.We already have the microprofile-samples repo, I would be in favor of making that the place to handle portability testing of MicroProfile functionality.Ken
The gulpfile.js would need some tailoring, and the web-application pom needs the profiles defining.
Andy.
--
You received this message because you are subscribed to the Google Groups "MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile+unsubscribe@googlegroups.com.
To post to this group, send email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/d512f08f-f622-4d48-81f5-75b6f286f264%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/CAKeeVe5BPG90qH5zgzj-LQMDSyd-_FKH1hdaBXDKO%3DEtnsUCGA%40mail.gmail.com.