Download JAR files tagged by whereas with all dependencies
rouplex-platform-jaxrs-client from group org.rouplex (version 1.0.4)
Group: org.rouplex Artifact: rouplex-platform-jaxrs-client
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact rouplex-platform-jaxrs-client
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies javax.annotation-api, javax.ws.rs-api, rouplex-commons,
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies javax.annotation-api, javax.ws.rs-api, rouplex-commons,
There are maybe transitive dependencies!
rouplex-platform-jersey from group org.rouplex (version 1.0.4)
Group: org.rouplex Artifact: rouplex-platform-jersey
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact rouplex-platform-jersey
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 8
Dependencies rouplex-commons, rouplex-platform, rouplex-platform-jaxrs, javax.servlet-api, jersey-server, jackson-jaxrs-json-provider, swagger-jersey2-jaxrs, swagger-ui,
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 8
Dependencies rouplex-commons, rouplex-platform, rouplex-platform-jaxrs, javax.servlet-api, jersey-server, jackson-jaxrs-json-provider, swagger-jersey2-jaxrs, swagger-ui,
There are maybe transitive dependencies!
rouplex-platform-jaxrs from group org.rouplex (version 1.0.4)
0 downloads
Artifact rouplex-platform-jaxrs
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 2
Dependencies javax.annotation-api, javax.ws.rs-api,
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 2
Dependencies javax.annotation-api, javax.ws.rs-api,
There are maybe transitive dependencies!
rouplex-platform-tcp from group org.rouplex (version 1.0.4)
0 downloads
Artifact rouplex-platform-tcp
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies rouplex-niossl, rouplex-commons, rouplex-platform,
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies rouplex-niossl, rouplex-commons, rouplex-platform,
There are maybe transitive dependencies!
rouplex-platform from group org.rouplex (version 1.0.4)
0 downloads
Artifact rouplex-platform
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies rouplex-commons,
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies rouplex-commons,
There are maybe transitive dependencies!
rouplex-platform-parent from group org.rouplex (version 1.0.4)
A platform for discovery and communication between various parts of a distributed service or application.
At its minimum, the platform is a library which can be used to serialize and deserialize application constructs
into payloads which it can then send to and receive from remote endpoints. For now it supports TCP and HTTP
communication protocols with WebSockets coming soon. It supports raw byte streams via TCP, as well as
application/json via JAX-RS as serialization protocols. It offers plain or SSL/TLS communication for security
of your data in transit. For now it is only available in Java, with bindings for other languages coming soon.
The communication pattern is request-reply, with fail fast semantics, and with service consumers (clients)
knowing beforehand the coordinates of the service providers (servers). The TCP communication protocol offers
blocking/unblocking/asynchronous flavors whereas the rest are only blocking for now.
Coming soon, the platform will provide a Discovery Service to facilitate the registration of the service
providers (servers) and service consumers (clients). In this case, the callers don't need to resolve or even
balance their calls towards various endpoints, since the Platform handles this tasks. In this case, the pub/sub
communication pattern will also be available (coming soon) with at-most-once delivery guarantees.
We intend to provide a Security Service for managing the keys/and certificates of various services as well as
Metrics and Logging services (coming soon).
Group: org.rouplex Artifact: rouplex-platform-parent
Show all versions
Show all versions
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads
Artifact rouplex-platform-parent
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL https://github.com/rouplex/rouplex-platform
License FreeBSD
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL https://github.com/rouplex/rouplex-platform
License FreeBSD
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
rouplex-commons from group org.rouplex (version 1.0.4)
0 downloads
Artifact rouplex-commons
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
rouplex-platform-tcp-instrumentor from group org.rouplex (version 1.0.4)
Group: org.rouplex Artifact: rouplex-platform-tcp-instrumentor
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact rouplex-platform-tcp-instrumentor
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies rouplex-platform-tcp, aspectjrt, metrics-core,
There are maybe transitive dependencies!
Group org.rouplex
Version 1.0.4
Last update 20. December 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies rouplex-platform-tcp, aspectjrt, metrics-core,
There are maybe transitive dependencies!
pact-jvm-consumer-java8_2.12 from group au.com.dius (version 3.6.15)
# pact-jvm-consumer-java8
Provides a Java8 lambda based DSL for use with Junit to build consumer tests.
# A Lambda DSL for Pact
This is an extension for the pact DSL provided by [pact-jvm-consumer](../pact-jvm-consumer). The difference between
the default pact DSL and this lambda DSL is, as the name suggests, the usage of lambdas. The use of lambdas makes the code much cleaner.
## Why a new DSL implementation?
The lambda DSL solves the following two main issues. Both are visible in the following code sample:
```java
new PactDslJsonArray()
.array() # open an array
.stringValue("a1") # choose the method that is valid for arrays
.stringValue("a2") # choose the method that is valid for arrays
.closeArray() # close the array
.array() # open an array
.numberValue(1) # choose the method that is valid for arrays
.numberValue(2) # choose the method that is valid for arrays
.closeArray() # close the array
.array() # open an array
.object() # now we work with an object
.stringValue("foo", "Foo") # choose the method that is valid for objects
.closeObject() # close the object and we're back in the array
.closeArray() # close the array
```
### The existing DSL is quite error-prone
Methods may only be called in certain states. For example `object()` may only be called when you're currently working on an array whereas `object(name)`
is only allowed to be called when working on an object. But both of the methods are available. You'll find out at runtime if you're using the correct method.
Finally, the need for opening and closing objects and arrays makes usage cumbersome.
The lambda DSL has no ambiguous methods and there's no need to close objects and arrays as all the work on such an object is wrapped in a lamda call.
### The existing DSL is hard to read
When formatting your source code with an IDE the code becomes hard to read as there's no indentation possible. Of course, you could do it by hand but we want auto formatting!
Auto formatting works great for the new DSL!
```java
array.object((o) -> {
o.stringValue("foo", "Foo"); # an attribute
o.stringValue("bar", "Bar"); # an attribute
o.object("tar", (tarObject) -> { # an attribute with a nested object
tarObject.stringValue("a", "A"); # attribute of the nested object
tarObject.stringValue("b", "B"); # attribute of the nested object
})
});
```
## Installation
### Maven
```
<dependency>
<groupId>au.com.dius</groupId>
<artifactId>pact-jvm-consumer-java8</artifactId>
<version>${pact.version}</version>
</dependency>
```
## Usage
Start with a static import of `LambdaDsl`. This class contains factory methods for the lambda dsl extension.
When you come accross the `body()` method of `PactDslWithProvider` builder start using the new extensions.
The call to `LambdaDsl` replaces the call to instance `new PactDslJsonArray()` and `new PactDslJsonBody()` of the pact library.
```java
io.pactfoundation.consumer.dsl.LambdaDsl.*
```
### Response body as json array
```java
import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonArray;
...
PactDslWithProvider builder = ...
builder.given("some state")
.uponReceiving("a request")
.path("/my-app/my-service")
.method("GET")
.willRespondWith()
.status(200)
.body(newJsonArray((a) -> {
a.stringValue("a1");
a.stringValue("a2");
}).build());
```
### Response body as json object
```java
import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonBody;
...
PactDslWithProvider builder = ...
builder.given("some state")
.uponReceiving("a request")
.path("/my-app/my-service")
.method("GET")
.willRespondWith()
.status(200)
.body(newJsonBody((o) -> {
o.stringValue("foo", "Foo");
o.stringValue("bar", "Bar");
}).build());
```
### Examples
#### Simple Json object
When creating simple json structures the difference between the two approaches isn't big.
##### JSON
```json
{
"bar": "Bar",
"foo": "Foo"
}
```
##### Pact DSL
```java
new PactDslJsonBody()
.stringValue("foo", "Foo")
.stringValue("bar", "Bar")
```
##### Lambda DSL
```java
newJsonBody((o) -> {
o.stringValue("foo", "Foo");
o.stringValue("bar", "Bar");
}).build()
```
#### An array of arrays
When we come to more complex constructs with arrays and nested objects the beauty of lambdas become visible!
##### JSON
```json
[
["a1", "a2"],
[1, 2],
[{"foo": "Foo"}]
]
```
##### Pact DSL
```java
new PactDslJsonArray()
.array()
.stringValue("a1")
.stringValue("a2")
.closeArray()
.array()
.numberValue(1)
.numberValue(2)
.closeArray()
.array()
.object()
.stringValue("foo", "Foo")
.closeObject()
.closeArray()
```
##### Lambda DSL
```java
newJsonArray((rootArray) -> {
rootArray.array((a) -> a.stringValue("a1").stringValue("a2"));
rootArray.array((a) -> a.numberValue(1).numberValue(2));
rootArray.array((a) -> a.object((o) -> o.stringValue("foo", "Foo"));
}).build()
```
Group: au.com.dius Artifact: pact-jvm-consumer-java8_2.12
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-consumer-java8_2.12
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 9
Dependencies kotlin-stdlib-jre8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-compiler, scala-logging_2.12, pact-jvm-consumer-junit_2.12,
There are maybe transitive dependencies!
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 9
Dependencies kotlin-stdlib-jre8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-compiler, scala-logging_2.12, pact-jvm-consumer-junit_2.12,
There are maybe transitive dependencies!
pact-jvm-consumer-java8 from group au.com.dius (version 4.0.10)
# pact-jvm-consumer-java8
Provides a Java8 lambda based DSL for use with Junit to build consumer tests.
# A Lambda DSL for Pact
This is an extension for the pact DSL provided by [pact-jvm-consumer](../pact-jvm-consumer). The difference between
the default pact DSL and this lambda DSL is, as the name suggests, the usage of lambdas. The use of lambdas makes the code much cleaner.
## Why a new DSL implementation?
The lambda DSL solves the following two main issues. Both are visible in the following code sample:
```java
new PactDslJsonArray()
.array() # open an array
.stringValue("a1") # choose the method that is valid for arrays
.stringValue("a2") # choose the method that is valid for arrays
.closeArray() # close the array
.array() # open an array
.numberValue(1) # choose the method that is valid for arrays
.numberValue(2) # choose the method that is valid for arrays
.closeArray() # close the array
.array() # open an array
.object() # now we work with an object
.stringValue("foo", "Foo") # choose the method that is valid for objects
.closeObject() # close the object and we're back in the array
.closeArray() # close the array
```
### The existing DSL is quite error-prone
Methods may only be called in certain states. For example `object()` may only be called when you're currently working on an array whereas `object(name)`
is only allowed to be called when working on an object. But both of the methods are available. You'll find out at runtime if you're using the correct method.
Finally, the need for opening and closing objects and arrays makes usage cumbersome.
The lambda DSL has no ambiguous methods and there's no need to close objects and arrays as all the work on such an object is wrapped in a lamda call.
### The existing DSL is hard to read
When formatting your source code with an IDE the code becomes hard to read as there's no indentation possible. Of course, you could do it by hand but we want auto formatting!
Auto formatting works great for the new DSL!
```java
array.object((o) -> {
o.stringValue("foo", "Foo"); # an attribute
o.stringValue("bar", "Bar"); # an attribute
o.object("tar", (tarObject) -> { # an attribute with a nested object
tarObject.stringValue("a", "A"); # attribute of the nested object
tarObject.stringValue("b", "B"); # attribute of the nested object
})
});
```
## Installation
### Maven
```
<dependency>
<groupId>au.com.dius</groupId>
<artifactId>pact-jvm-consumer-java8_2.12</artifactId>
<version>${pact.version}</version>
</dependency>
```
## Usage
Start with a static import of `LambdaDsl`. This class contains factory methods for the lambda dsl extension.
When you come accross the `body()` method of `PactDslWithProvider` builder start using the new extensions.
The call to `LambdaDsl` replaces the call to instance `new PactDslJsonArray()` and `new PactDslJsonBody()` of the pact library.
```java
io.pactfoundation.consumer.dsl.LambdaDsl.*
```
### Response body as json array
```java
import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonArray;
...
PactDslWithProvider builder = ...
builder.given("some state")
.uponReceiving("a request")
.path("/my-app/my-service")
.method("GET")
.willRespondWith()
.status(200)
.body(newJsonArray((a) -> {
a.stringValue("a1");
a.stringValue("a2");
}).build());
```
### Response body as json object
```java
import static io.pactfoundation.consumer.dsl.LambdaDsl.newJsonBody;
...
PactDslWithProvider builder = ...
builder.given("some state")
.uponReceiving("a request")
.path("/my-app/my-service")
.method("GET")
.willRespondWith()
.status(200)
.body(newJsonBody((o) -> {
o.stringValue("foo", "Foo");
o.stringValue("bar", "Bar");
}).build());
```
### Examples
#### Simple Json object
When creating simple json structures the difference between the two approaches isn't big.
##### JSON
```json
{
"bar": "Bar",
"foo": "Foo"
}
```
##### Pact DSL
```java
new PactDslJsonBody()
.stringValue("foo", "Foo")
.stringValue("bar", "Bar")
```
##### Lambda DSL
```java
newJsonBody((o) -> {
o.stringValue("foo", "Foo");
o.stringValue("bar", "Bar");
}).build();
```
#### An array of arrays
When we come to more complex constructs with arrays and nested objects the beauty of lambdas become visible!
##### JSON
```json
[
["a1", "a2"],
[1, 2],
[{"foo": "Foo"}]
]
```
##### Pact DSL
```java
new PactDslJsonArray()
.array()
.stringValue("a1")
.stringValue("a2")
.closeArray()
.array()
.numberValue(1)
.numberValue(2)
.closeArray()
.array()
.object()
.stringValue("foo", "Foo")
.closeObject()
.closeArray();
```
##### Lambda DSL
```java
newJsonArray((rootArray) -> {
rootArray.array((a) -> a.stringValue("a1").stringValue("a2"));
rootArray.array((a) -> a.numberValue(1).numberValue(2));
rootArray.array((a) -> a.object((o) -> o.stringValue("foo", "Foo")));
}).build();
```
##### Kotlin Lambda DSL
```kotlin
newJsonArray {
newArray {
stringValue("a1")
stringValue("a2")
}
newArray {
numberValue(1)
numberValue(2)
}
newArray {
newObject { stringValue("foo", "Foo") }
}
}
```
Group: au.com.dius Artifact: pact-jvm-consumer-java8
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-consumer-java8
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 1
Dependencies pact-jvm-consumer,
There are maybe transitive dependencies!
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 1
Dependencies pact-jvm-consumer,
There are maybe transitive dependencies!
Page 2 from 3 (items total 22)