Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate API code + bootstrap webserver + simplify launch #8

Merged
merged 4 commits into from
Aug 5, 2020

Conversation

michel-tricot
Copy link
Contributor

No description provided.

}

@Override
public void deletePet(Long petId, String apiKey) {
Copy link
Contributor

Choose a reason for hiding this comment

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

lol

task fatjar(type: Jar) {
manifest {
attributes 'Main-Class': 'io.dataline.playground.HelloWorld'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.4.2'
Copy link
Contributor

Choose a reason for hiding this comment

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

is this needed if we are importing it as testImplementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not the same lib

Copy link
Contributor

Choose a reason for hiding this comment

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

late night double vision

@@ -3,13 +3,15 @@ FROM gradle:jdk14 AS build

COPY . /code
WORKDIR /code
RUN gradle fatjar --no-daemon
RUN gradle distTar --no-daemon
Copy link
Contributor

Choose a reason for hiding this comment

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

any particular reason to use tar vs jar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I try to follow the gradle way of distributing. I ran into a lot of problem with the server piece when I tried to create a fatjar.

Copy link
Contributor

@cgardens cgardens left a comment

Choose a reason for hiding this comment

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

looks good to me. the autogenerated controllers are nice.

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.

4 participants