Skip to content

Payara 1939 server events sample - #7

Merged
arjantijms merged 3 commits into
javaee-samples:masterfrom
DanielContrerasAladro:PAYARA-1939-ServerEventsSample
Sep 19, 2017
Merged

arjantijms merged 3 commits into
javaee-samples:masterfrom
DanielContrerasAladro:PAYARA-1939-ServerEventsSample

Conversation

@DanielContrerasAladro

Copy link
Copy Markdown
Contributor

No description provided.

@DanielContrerasAladro

Copy link
Copy Markdown
Contributor Author

jenkins test please

Comment thread sse/pom.xml
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-sse</artifactId>
<version>2.26</version>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org.glassfish.jersey.media dependency can't be here, this is specific for GlassFish ad Payara, but the tests are intended to run on any server

Comment thread sse/pom.xml
<version>2.26</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javax.ws.rs should be in main pom, and then eventually replaced with Java EE 8 pom

Comment thread sse/producer/pom.xml
<dependencies>
<!-- JSON-B API -->
<dependency>
<groupId>javax.json.bind</groupId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javax.json.bind should be in main pom, and then eventually replaced with Java EE 8 pom

Comment thread sse/producer/pom.xml
<!-- Yasson (JSON-B RI) -->
<dependency>
<groupId>org.eclipse</groupId>
<artifactId>yasson</artifactId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org.eclipse dependency can't be here, this is specific for GlassFish and Payara, but the tests are intended to run on any server

* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This header should not be there

private String comment;

public EventData() {
super();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for super() call

}

public EventData(String comment) {
super();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for super() call

@arjantijms

Copy link
Copy Markdown
Contributor

Thanks a lot for the contribution Daniel, I'll merge this in now then ;)

@arjantijms
arjantijms merged commit 727c5df into javaee-samples:master Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants