This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
@Path("/") | |
public class HelloResource { | |
@GET | |
public String hello() { | |
return "Hello World"; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apr 24, 2018 6:55:42 AM org.reflections.Reflections scan | |
INFO: Reflections took 1162 ms to scan 1 urls, producing 14450 keys and 26092 values | |
Apr 24, 2018 6:55:42 AM org.reflections.ReflectionUtils forName | |
WARNING: could not get type for name org.eclipse.jetty.npn.NextProtoNego$ServerProvider from any class loader | |
org.reflections.ReflectionsException: could not get type for name org.eclipse.jetty.npn.NextProtoNego$ServerProvider | |
at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390) | |
at org.reflections.Reflections.expandSuperTypes(Reflections.java:381) | |
at org.reflections.Reflections.<init>(Reflections.java:126) | |
at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276) | |
at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
destroy: | |
stage: 🗑destroy_vm | |
when: manual | |
environment: | |
name: feature/$CI_COMMIT_REF_NAME | |
url: https://$APP_NAME-$CI_COMMIT_REF_SLUG.cleverapps.io | |
except: | |
- master | |
script: | |
- curl https://clever-tools.cellar.services.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz > clever-tools-latest_linux.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy_feature: | |
stage: 🦄deploy_tmp_vm | |
when: manual | |
environment: | |
name: feature/$CI_COMMIT_REF_NAME | |
url: https://$APP_NAME-$CI_COMMIT_REF_SLUG.cleverapps.io | |
except: | |
- master | |
script: | |
- curl https://clever-tools.cellar.services.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz > clever-tools-latest_linux.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy: | |
stage: 🚢deploy_prod | |
environment: | |
name: production | |
url: https://$APP_NAME.cleverapps.io | |
only: | |
- /master/ | |
script: | |
- curl https://clever-tools.cellar.services.clever-cloud.com/releases/latest/clever-tools-latest_linux.tar.gz > clever-tools-latest_linux.tar.gz | |
- tar -xvf clever-tools-latest_linux.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: node:latest | |
stages: | |
- 📦build | |
- 🤞test | |
- 🦄deploy_tmp_vm | |
- 🗑destroy_vm | |
- 🚢deploy_prod | |
cache: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- 📦build | |
- 🦄tmp | |
pdf_preview: | |
stage: 🦄tmp | |
when: manual | |
environment: | |
name: preview/$CI_COMMIT_REF_NAME | |
except: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Chapitre 2 | |
_to be continued_ | |
[NOTE] | |
==== | |
An admonition block may contain complex content. | |
.A list | |
- one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Chapitre 1: 1er contact | |
NOTE: An admonition paragraph draws the reader's attention to | |
auxiliary information. | |
Its purpose is determined by the label | |
at the beginning of the paragraph. | |
<<< | |
=== You can use emojiis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:source-highlighter: coderay | |
= my document | |
:doctype: book | |
By [email protected] © Bots.Garden | |
:toc: | |
include::chapter_01/chapter_01.adoc[] | |
include::chapter_02/chapter_02.adoc[] |