Download JAR files tagged by becomes with all dependencies
camunda-platform-scenario-runner from group org.camunda.bpm.extension.scenario (version 2.0.0.alpha.2)
Group: org.camunda.bpm.extension.scenario Artifact: camunda-platform-scenario-runner
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact camunda-platform-scenario-runner
Group org.camunda.bpm.extension.scenario
Version 2.0.0.alpha.2
Group org.camunda.bpm.extension.scenario
Version 2.0.0.alpha.2
pomlint-maven-plugin from group dk.kyuff.pomlint (version 1.1)
Group: dk.kyuff.pomlint Artifact: pomlint-maven-plugin
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
dsx from group org.formix (version 0.10.0)
This library leverage method chaining. It is not compliant with the
Java XML Standard API. It contains a serializer compatible with
Microsoft XmlSerializer input/output XML format. It contains another
serializer that is compatible with the DataContractSerializer from
Microsoft. Along with the basic soap package provided, it becomes
easy to do raw SOAP calls to any SOAP Web service. The XmlDocument
class also offer XPath like methods to fetch information from the
underlying XML tree.
Artifact dsx
Group org.formix
Version 0.10.0
Last update 20. August 2015
Organization not specified
URL http://formix.github.io/dsx/
License Apache License, Version 2.0
Dependencies amount 2
Dependencies commons-codec, commons-lang,
There are maybe transitive dependencies!
Group org.formix
Version 0.10.0
Last update 20. August 2015
Organization not specified
URL http://formix.github.io/dsx/
License Apache License, Version 2.0
Dependencies amount 2
Dependencies commons-codec, commons-lang,
There are maybe transitive dependencies!
command-line-processing from group il.ac.technion.cs.ssdl (version 1.0.1)
Extracting command line options directly into data members: each field marked with an @External annotation automatically becomes a command line option. Extracting the options values from the command line arguments, i.e., the "String[] args" parameter to main, into the field(s), requires a single method invocation:
Introspector.extract(args, o1, o2, ...)
where o1,o2, ... are the objects in which the fields annotated with @External.
0 downloads
Artifact command-line-processing
Group il.ac.technion.cs.ssdl
Version 1.0.1
Last update 12. March 2012
Organization Department of Computer Science, The Technion
URL http://command-line-processing.googlecode.com
License The Apache Software License, Version 2.0
Dependencies amount 1
Dependencies junit,
There are maybe transitive dependencies!
Group il.ac.technion.cs.ssdl
Version 1.0.1
Last update 12. March 2012
Organization Department of Computer Science, The Technion
URL http://command-line-processing.googlecode.com
License The Apache Software License, Version 2.0
Dependencies amount 1
Dependencies junit,
There are maybe transitive dependencies!
kernel-osx from group net.sf.sf3jswing (version 1.3.22)
0 downloads
Artifact kernel-osx
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 3
Dependencies AppleJavaExtensions, quaqua-laf-nofile, appbundler,
There are maybe transitive dependencies!
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 3
Dependencies AppleJavaExtensions, quaqua-laf-nofile, appbundler,
There are maybe transitive dependencies!
kernel-core from group net.sf.sf3jswing (version 1.3.22)
0 downloads
Artifact kernel-core
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 9
Dependencies ${project.parent.artifactId}-${platformModule}, junit-dep, commons-codec, commons-httpclient, commons-io, httpcore-nio, commons-logging, httpcore, ant-contrib,
There are maybe transitive dependencies!
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 9
Dependencies ${project.parent.artifactId}-${platformModule}, junit-dep, commons-codec, commons-httpclient, commons-io, httpcore-nio, commons-logging, httpcore, ant-contrib,
There are maybe transitive dependencies!
kernel-win from group net.sf.sf3jswing (version 1.3.22)
Artifact kernel-win
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
kernel from group net.sf.sf3jswing (version 1.3.22)
This API is a java library for various project scopes.
Currently, it has worked in picture editors, and small applets.
It can be deployed on all big three platforms : Windows, OSX and Linux.
Originally, the file cache manager was the most important feature and the reason for what it was published.
It becomes handful to handle heap memory before it overflows by appropriately using it (see javadoc).
The new implementation lays on Maven Central repository and can be used as a dependency in a common Web Application (Java EE).
Group: net.sf.sf3jswing Artifact: kernel
Show all versions
Show all versions
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads
Artifact kernel
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL http://www.sourceforge.net/projects/sf3jswing
License The Apache License, Version 2.0
Dependencies amount 2
Dependencies AntBuildFiles, jfxrt,
There are maybe transitive dependencies!
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL http://www.sourceforge.net/projects/sf3jswing
License The Apache License, Version 2.0
Dependencies amount 2
Dependencies AntBuildFiles, jfxrt,
There are maybe transitive dependencies!
kernel-lnx from group net.sf.sf3jswing (version 1.3.22)
Artifact kernel-lnx
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 1
Dependencies ${project.parent.artifactId}-core,
There are maybe transitive dependencies!
Group net.sf.sf3jswing
Version 1.3.22
Last update 08. October 2019
Organization not specified
URL Not specified
License The Apache License, Version 2.0
Dependencies amount 1
Dependencies ${project.parent.artifactId}-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_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();
```
`object` is a reserved word in Kotlin. To allow using the DSL without escaping, a Kotlin extension `newObject` is available:
```kotlin
newJsonArray { rootArray ->
rootArray.array { a -> a.stringValue("a1").stringValue("a2") }
rootArray.array { a -> a.numberValue(1).numberValue(2) }
rootArray.array { a -> a.newObject { 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 1
Dependencies pact-jvm-consumer_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 1
Dependencies pact-jvm-consumer_2.12,
There are maybe transitive dependencies!
Page 2 from 3 (items total 23)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy