Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Add "and serverless"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Scott Brown authored and sdelamo committed Oct 23, 2018
1 parent 79c57ac commit 527f97f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Expand Up @@ -3,7 +3,7 @@

= Micronaut Website

Micronaut is a modern, JVM-based, full-stack framework for building modular, easily testable microservice applications.
Micronaut is a modern, JVM-based, full-stack framework for building modular, easily testable microservice and serverless applications.

== What to change when a new release is published.

Expand Down
4 changes: 2 additions & 2 deletions core/src/main/groovy/io/micronaut/pages/Page.groovy
Expand Up @@ -110,7 +110,7 @@ abstract class Page implements HtmlPage {
}

String getMetaDescription() {
'A modern, JVM-based, full-stack framework for building modular, easily testable microservice applications.'
'A modern, JVM-based, full-stack framework for building modular, easily testable microservice and serverless applications.'
}

List<String> getCssFiles() {
Expand Down Expand Up @@ -213,7 +213,7 @@ abstract class Page implements HtmlPage {
}

String summary() {
'A modern, JVM-based, full-stack framework for building modular, easily testable microservice applications.'
'A modern, JVM-based, full-stack framework for building modular, easily testable microservice and serverless applications.'
}

@CompileDynamic
Expand Down
30 changes: 15 additions & 15 deletions main/src/main/groovy/io/micronaut/main/pages/HomePage.groovy
Expand Up @@ -50,7 +50,7 @@ class HomePage extends Page {
}
}
div(id: "calltoaction") {
h2 'A modern, JVM-based, full-stack framework for building modular, easily testable microservice applications.'
h2 'A modern, JVM-based, full-stack framework for building modular, easily testable microservice and serverless applications.'
}
}
html.mkp.yieldUnescaped('<div class="starsbgtobrownelipse brownbg whitecircleborderseparator"></div>')
Expand Down Expand Up @@ -164,11 +164,11 @@ import io.micronaut.http.annotation.Get;
import io.micronaut.http.client.Client;
import io.reactivex.Single;
@Client("/hello")
@Client("/hello")
public interface HelloClient {
@Get("/")
Single<String> hello();
@Get("/")
Single<String> hello();
}
'''
}
Expand Down Expand Up @@ -199,19 +199,19 @@ import io.micronaut.runtime.server.EmbeddedServer
import spock.lang.*
class HelloClientSpec extends Specification {
@Shared
@AutoCleanup
EmbeddedServer embeddedServer =
ApplicationContext.run(EmbeddedServer)
@Shared
@AutoCleanup
EmbeddedServer embeddedServer =
ApplicationContext.run(EmbeddedServer)
@Shared
@Shared
HelloClient client = embeddedServer
.applicationContext
.getBean(HelloClient)
.getBean(HelloClient)
void "test hello world response"() {
expect:
client.hello().blockingGet() == "Hello World"
client.hello().blockingGet() == "Hello World"
}
}
'''
Expand Down Expand Up @@ -240,10 +240,10 @@ class HelloClientSpec extends Specification {
pre {
code(class: "language-java") {
mkp.yieldUnescaped """
@Client( id = "person-service" )
public interface PersonClient {
public Single&lt;Person&gt;
save(@Body Single&lt;Person&gt;person)
@Client( id = "person-service" )
public interface PersonClient {
public Single&lt;Person&gt;
save(@Body Single&lt;Person&gt;person)
}"""
}
}
Expand Down

0 comments on commit 527f97f

Please sign in to comment.