All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Download java1.8.0_201 JAR files with dependency

Search JAR files by class name

java-dynamic-sqs-listener-api from group com.jashmore (version 6.0.0)

This contains the api functionality for the SQS Listener. This can be used for consumer to implement themselves

Group: com.jashmore Artifact: java-dynamic-sqs-listener-api
Show all versions Show documentation Show source 
 

0 downloads
Artifact java-dynamic-sqs-listener-api
Group com.jashmore
Version 6.0.0
Last update 30. July 2023
Organization jaidenashmore
URL http://github.com/jaidenashmore/java-dynamic-sqs-listener
License MIT License
Dependencies amount 1
Dependencies sqs,
There are maybe transitive dependencies!

java8 from group au.com.dius.pact.consumer (version 4.1.42)

# pact-jvm-consumer-java8 Provides a Java8 lambda based DSL for use with Junit to build consumer tests. ## Dependency The library is available on maven central using: * group-id = `au.com.dius.pact.consumer` * artifact-id = `java8` * version-id = `4.1.x` # A Lambda DSL for Pact This is an extension for the pact DSL provided by [consumer](../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.pact.consumer</groupId> <artifactId>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(); ``` ##### Kotlin Lambda DSL ```kotlin newJsonArray { newArray { stringValue("a1") stringValue("a2") } newArray { numberValue(1) numberValue(2) } newArray { newObject { stringValue("foo", "Foo") } } } ``` # Test Analytics We are tracking anonymous analytics to gather important usage statistics like JVM version and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment variable to 'true'.

Group: au.com.dius.pact.consumer Artifact: java8
Show all versions Show documentation Show source 
 

0 downloads
Artifact java8
Group au.com.dius.pact.consumer
Version 4.1.42
Last update 28. July 2023
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 1
Dependencies consumer,
There are maybe transitive dependencies!

nga-oe-java from group com.siliconmtn (version 0.2.2)

A libary of useful tools and helper objects.

Group: com.siliconmtn Artifact: nga-oe-java
Show all versions Show documentation 
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads
Artifact nga-oe-java
Group com.siliconmtn
Version 0.2.2
Last update 27. July 2023
Organization not specified
URL https://github.com/smtadmin/nga-oe-java
License MIT License
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

w3w-java-wrapper from group com.what3words (version 3.1.19)

Java library for what3words REST API.

Group: com.what3words Artifact: w3w-java-wrapper
Show all versions Show documentation Show source 
 

0 downloads
Artifact w3w-java-wrapper
Group com.what3words
Version 3.1.19
Last update 27. July 2023
Organization not specified
URL https://github.com/what3words/w3w-java-wrapper
License The MIT License (MIT)
Dependencies amount 3
Dependencies retrofit, converter-gson, okhttp,
There are maybe transitive dependencies!

java-driver from group io.strmprivacy (version 5.1.1)

Java driver for interacting with STRM Privacy.

Group: io.strmprivacy Artifact: java-driver
Show all versions Show documentation Show source 
 

0 downloads
Artifact java-driver
Group io.strmprivacy
Version 5.1.1
Last update 25. July 2023
Organization not specified
URL https://strmprivacy.io
License The Apache License, Version 2.0
Dependencies amount 3
Dependencies jetty-client, http2-client, http2-http-client-transport,
There are maybe transitive dependencies!

java-api from group app.playerzero.sdk (version 0.5.1)

PlayerZero SDK for Java

Group: app.playerzero.sdk Artifact: java-api
Show all versions Show documentation Show source 
 

0 downloads
Artifact java-api
Group app.playerzero.sdk
Version 0.5.1
Last update 23. July 2023
Organization not specified
URL https://github.com/goplayerzero/sdk-java
License MIT License
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

modern-treasury-java-core from group com.moderntreasury.api (version 1.0.1)

The Modern Treasury REST API. Please see https://docs.moderntreasury.com for more details.

Group: com.moderntreasury.api Artifact: modern-treasury-java-core
Show documentation Show source 
 

0 downloads
Artifact modern-treasury-java-core
Group com.moderntreasury.api
Version 1.0.1
Last update 20. July 2023
Organization not specified
URL https://docs.moderntreasury.com
License MIT
Dependencies amount 4
Dependencies jackson-core, jackson-databind, guava, kotlin-stdlib-jdk8,
There are maybe transitive dependencies!

modern-treasury-java from group com.moderntreasury.api (version 1.0.1)

The Modern Treasury REST API. Please see https://docs.moderntreasury.com for more details.

Group: com.moderntreasury.api Artifact: modern-treasury-java
Show documentation Show source 
 

0 downloads
Artifact modern-treasury-java
Group com.moderntreasury.api
Version 1.0.1
Last update 20. July 2023
Organization not specified
URL https://docs.moderntreasury.com
License MIT
Dependencies amount 2
Dependencies modern-treasury-java-client-okhttp, kotlin-stdlib-jdk8,
There are maybe transitive dependencies!

modern-treasury-java-client-okhttp from group com.moderntreasury.api (version 1.0.1)

The Modern Treasury REST API. Please see https://docs.moderntreasury.com for more details.

Group: com.moderntreasury.api Artifact: modern-treasury-java-client-okhttp
Show documentation Show source 
 

0 downloads
Artifact modern-treasury-java-client-okhttp
Group com.moderntreasury.api
Version 1.0.1
Last update 20. July 2023
Organization not specified
URL https://docs.moderntreasury.com
License MIT
Dependencies amount 2
Dependencies modern-treasury-java-core, kotlin-stdlib-jdk8,
There are maybe transitive dependencies!

bestbefore-processor-java from group com.github.gotson.bestbefore (version 0.1.0)

BestBefore

Group: com.github.gotson.bestbefore Artifact: bestbefore-processor-java
Show documentation Show source 
 

0 downloads
Artifact bestbefore-processor-java
Group com.github.gotson.bestbefore
Version 0.1.0
Last update 20. July 2023
Organization not specified
URL https://github.com/gotson/BestBefore
License MIT
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!



Page 1480 from 1544 (items total 15436)


© 2015 - 2024 Weber Informatics LLC | Privacy Policy