This file contains hidden or 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
| ~ $ git clone git@github.com:anandjaisy/MessengingMultiGradleProject.git | |
| Cloning into 'MessengingMultiGradleProject'... | |
| remote: Enumerating objects: 45, done. | |
| remote: Counting objects: 100% (45/45), done. | |
| remote: Compressing objects: 100% (26/26), done. | |
| remote: Total 45 (delta 1), reused 45 (delta 1), pack-reused 0 | |
| Receiving objects: 100% (45/45), 59.51 KiB | 1.03 MiB/s, done. | |
| Resolving deltas: 100% (1/1), done. | |
| ~ $ | |
| ~ $ |
This file contains hidden or 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
| java.lang.IllegalStateException: Mapped port can only be obtained after the container is started | |
| at org.testcontainers.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:174) | |
| at org.testcontainers.containers.ContainerState.getMappedPort(ContainerState.java:141) | |
| at org.testcontainers.containers.PostgreSQLContainer.getJdbcUrl(PostgreSQLContainer.java:86) | |
| at org.testcontainers.containers.JdbcDatabaseContainer.constructUrlForConnection(JdbcDatabaseContainer.java:241) | |
| at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:207) | |
| at org.testcontainers.jdbc.ContainerDatabaseDriver.connect(ContainerDatabaseDriver.java:124) | |
| at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:121) | |
| at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:358) | |
| at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206) |
This file contains hidden or 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
| test: | |
| datasource: | |
| prod: | |
| url: some url | |
| dev: | |
| url: some other url |
This file contains hidden or 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
| svelte-todo $ pwd | |
| /Users/jeffscottbrown/Downloads/Code-selected/svelte-and-sapper-in-action-master/svelte-todo | |
| svelte-todo $ | |
| svelte-todo $ npm install | |
| > fsevents@1.2.9 install /Users/jeffscottbrown/Downloads/Code-selected/svelte-and-sapper-in-action-master/svelte-todo/node_modules/fsevents | |
| > node install | |
| node-pre-gyp WARN Using request for node-pre-gyp https download | |
| node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz |
This file contains hidden or 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
| package demo | |
| import io.micronaut.http.annotation.Get | |
| import io.micronaut.http.annotation.Post | |
| import io.micronaut.http.client.annotation.Client | |
| @Client('http://localhost:8086') | |
| interface BaseballClient { |
This file contains hidden or 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
| ~ $ mn --version | |
| Micronaut Version: 2.0.0 | |
| JVM Version: 1.8.0_252 | |
| ~ $ | |
| ~ $ mn create-app my-app | |
| | Application created at /Users/jeffscottbrown/my-app | |
| ~ $ | |
| ~ $ cd my-app | |
| my-app $ | |
| my-app $ ./gradlew assemble |
This file contains hidden or 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
| // validated object... | |
| import io.micronaut.core.annotation.Introspected | |
| import javax.validation.constraints.NotBlank | |
| @Introspected | |
| open class Email { | |
| @NotBlank | |
| var subject: String? = null |
This file contains hidden or 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
| ------------------------------------------------------------ | |
| Root project | |
| ------------------------------------------------------------ | |
| agent | |
| +--- org.springframework:springloaded: -> 1.2.8.RELEASE | |
| \--- io.methvin:directory-watcher: -> 0.3.0 | |
| +--- org.scala-lang:scala-library:2.12.3 | |
| +--- net.java.dev.jna:jna:4.2.1 -> 4.2.2 |
This file contains hidden or 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
| Album.findAll { | |
| if(params.genre) { | |
| genre == params.genre | |
| } | |
| } |
This file contains hidden or 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
| configurations.all { | |
| resolutionStrategy { | |
| force 'com.fasterxml.jackson.core:jackson-databind:2.8.5' | |
| } | |
| } |