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

Download JAR files tagged by sufficient with all dependencies

Search JAR files by class name

aws-client from group io.github.rafal-laskowski (version 1.0.1)

Simple AWS Client builder sufficient for testing purposes. Supports AWS Services and Localstack

Group: io.github.rafal-laskowski Artifact: aws-client
Show all versions Show documentation Show source 
 

0 downloads
Artifact aws-client
Group io.github.rafal-laskowski
Version 1.0.1
Last update 11. May 2020
Organization not specified
URL https://github.com/Rafal-Laskowski/AWS-Client
License The Apache License, Version 2.0
Dependencies amount 5
Dependencies aws-java-sdk-s3, aws-java-sdk-dynamodb, aws-java-sdk-lambda, aws-java-sdk-core, aws-java-sdk-sqs,
There are maybe transitive dependencies!

io.earcam.instrumental.module.auto from group io.earcam.instrumental (version 0.1.0)

Bytecode parsing sufficient to enable auto-importing for programmatic modules

Group: io.earcam.instrumental Artifact: io.earcam.instrumental.module.auto
Show documentation Show source 
 

0 downloads
Artifact io.earcam.instrumental.module.auto
Group io.earcam.instrumental
Version 0.1.0
Last update 08. October 2018
Organization not specified
URL Not specified
License not specified
Dependencies amount 7
Dependencies io.earcam.unexceptional, io.earcam.utilitarian.io, asm, asm-commons, jsr305, java-hamcrest, tinybundles,
There are maybe transitive dependencies!

mats-serial from group io.mats3 (version 0.19.19-2024-04-30)

Mats^3 wire format solution called "MatsTrace", which defines a set of parameters and structures sufficient to represent an envelope carrying Mats messages, as well as a deser-interface "MatsSerializer" which defines methods between MatsTrace and byte arrays. Employed by the Mats^3 JMS Implementation.

Group: io.mats3 Artifact: mats-serial
Show all versions Show documentation Show source 
 

0 downloads
Artifact mats-serial
Group io.mats3
Version 0.19.19-2024-04-30
Last update 30. April 2024
Organization not specified
URL https://github.com/centiservice/mats3
License PolyForm Perimeter License 1.0.0 with examples
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

japkit-all-nogroovy from group com.github.japkit (version 2.0)

All dependencies that can be used in the annotation processor path. For convenience and due to https://issues.apache.org/jira/browse/MCOMPILER-272. Tomcat's Java EL 3 implementation is used. No groovy is included since mostly Java EL 3 is sufficient and groovy causes some overhead.

Group: com.github.japkit Artifact: japkit-all-nogroovy
Show all versions 
 

0 downloads
Artifact japkit-all-nogroovy
Group com.github.japkit
Version 2.0
Last update 13. August 2023
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies japkit-annotation-processor, japkit-javael3, tomcat-embed-el,
There are maybe transitive dependencies!

japkit-all-nogroovy from group com.github.stefanocke.japkit (version 1.11)

All dependencies that can be used in the annotation processor path. For convenience and due to https://issues.apache.org/jira/browse/MCOMPILER-272. Tomcat's Java EL 3 implementation is used. No groovy is included since mostly Java EL 3 is sufficient and groovy causes some overhead.

Group: com.github.stefanocke.japkit Artifact: japkit-all-nogroovy

 

0 downloads
Artifact japkit-all-nogroovy
Group com.github.stefanocke.japkit
Version 1.11
Last update 21. May 2017
Organization not specified
URL Not specified
License not specified
Dependencies amount 3
Dependencies japkit-annotation-processor, japkit-javael3, tomcat-embed-el,
There are maybe transitive dependencies!

jama from group gov.nist.math (version 1.0.3)

JAMA is a basic linear algebra package for Java. It provides user-level classes for constructing and manipulating real, dense matrices. It is meant to provide sufficient functionality for routine problems, packaged in a way that is natural and understandable to non-experts.

Group: gov.nist.math Artifact: jama
Show all versions Show documentation Show source 
 

82 downloads
Artifact jama
Group gov.nist.math
Version 1.0.3
Last update 17. June 2013
Organization Java Numerics Working Group, National Institute of Standards and Technology (NIST)
URL http://math.nist.gov/javanumerics/jama/
License Public Domain
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!

geotk-referencing3D from group org.geotoolkit (version 3.20-geoapi-3.0)

Transforms coordinates from "heights above the ellipsoid" to "heights above the geoid". This module provides the algorithms from an Earth Gravitational Model as a MathTransform implementation. Installing the JAR on the classpath should be sufficient for making vertical transformations available to an application like any other transforms.

Group: org.geotoolkit Artifact: geotk-referencing3D
Show all versions Show documentation Show source 
 

1 downloads
Artifact geotk-referencing3D
Group org.geotoolkit
Version 3.20-geoapi-3.0
Last update 02. November 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies geotk-referencing,
There are maybe transitive dependencies!

classdep from group au.net.zeus.jgdms.tools (version 3.1.0)

Tool used to analyze a set of classes and determine on what other classes they directly or indirectly depend. Typically this tool is used to compute the necessary and sufficient set of classes to include in a JAR file, for use in the class path of a client or service, or for use in the codebase of a client or service. The tool starts with a set of "root" classes and recursively computes a dependency graph, finding all of the classes referenced directly by the root classes, finding all of the classes referenced in turn by those classes, and so on, until no new classes are found or until classes that are not of interest are found. The normal output of the tool is a list of all of the classes in the dependency graph. The output from this command can be used as input to the jar tool, to create a JAR file containing precisely those classes.

Group: au.net.zeus.jgdms.tools Artifact: classdep
Show all versions Show documentation Show source 
 

0 downloads
Artifact classdep
Group au.net.zeus.jgdms.tools
Version 3.1.0
Last update 04. January 2019
Organization not specified
URL Not specified
License not specified
Dependencies amount 2
Dependencies asm, asm-commons,
There are maybe transitive dependencies!

pact-jvm-provider-spring from group au.com.dius (version 4.0.10)

# Pact Spring/JUnit runner ## Overview Library provides ability to play contract tests against a provider using Spring & JUnit. This library is based on and references the JUnit package, so see the [Pact JUnit 4](../pact-jvm-provider-junit) or [Pact JUnit 5](../pact-jvm-provider-junit5) providers for more details regarding configuration using JUnit. Supports: - Standard ways to load pacts from folders and broker - Easy way to change assertion strategy - Spring Test MockMVC Controllers and ControllerAdvice using MockMvc standalone setup. - MockMvc debugger output - Multiple @State runs to test a particular Provider State multiple times - **au.com.dius.pact.provider.junit.State** custom annotation - before each interaction that requires a state change, all methods annotated by `@State` with appropriate the state listed will be invoked. **NOTE:** For publishing provider verification results to a pact broker, make sure the Java system property `pact.provider.version` is set with the version of your provider. ## Example of MockMvc test ```java @RunWith(RestPactRunner.class) // Custom pact runner, child of PactRunner which runs only REST tests @Provider("myAwesomeService") // Set up name of tested provider @PactFolder("pacts") // Point where to find pacts (See also section Pacts source in documentation) public class ContractTest { //Create an instance of your controller. We cannot autowire this as we're not using (and don't want to use) a Spring test runner. @InjectMocks private AwesomeController awesomeController = new AwesomeController(); //Mock your service logic class. We'll use this to create scenarios for respective provider states. @Mock private AwesomeBusinessLogic awesomeBusinessLogic; //Create an instance of your controller advice (if you have one). This will be passed to the MockMvcTarget constructor to be wired up with MockMvc. @InjectMocks private AwesomeControllerAdvice awesomeControllerAdvice = new AwesomeControllerAdvice(); //Create a new instance of the MockMvcTarget and annotate it as the TestTarget for PactRunner @TestTarget public final MockMvcTarget target = new MockMvcTarget(); @Before //Method will be run before each test of interaction public void before() { //initialize your mocks using your mocking framework MockitoAnnotations.initMocks(this); //configure the MockMvcTarget with your controller and controller advice target.setControllers(awesomeController); target.setControllerAdvice(awesomeControllerAdvice); } @State("default", "no-data") // Method will be run before testing interactions that require "default" or "no-data" state public void toDefaultState() { target.setRunTimes(3); //let's loop through this state a few times for a 3 data variants when(awesomeBusinessLogic.getById(any(UUID.class))) .thenReturn(myTestHelper.generateRandomReturnData(UUID.randomUUID(), ExampleEnum.ONE)) .thenReturn(myTestHelper.generateRandomReturnData(UUID.randomUUID(), ExampleEnum.TWO)) .thenReturn(myTestHelper.generateRandomReturnData(UUID.randomUUID(), ExampleEnum.THREE)); } @State("error-case") public void SingleUploadExistsState_Success() { target.setRunTimes(1); //tell the runner to only loop one time for this state //you might want to throw exceptions to be picked off by your controller advice when(awesomeBusinessLogic.getById(any(UUID.class))) .then(i -> { throw new NotCoolException(i.getArgumentAt(0, UUID.class).toString()); }); } } ``` ## Using Spring runners You can use `SpringRestPactRunner` or `SpringMessagePactRunner` instead of the default Pact runner to use the Spring test annotations. This will allow you to inject or mock spring beans. `SpringRestPactRunner` is for restful webapps and `SpringMessagePactRunner` is for async message tests. For example: ```java @RunWith(SpringRestPactRunner.class) @Provider("pricing") @PactBroker(protocol = "https", host = "${pactBrokerHost}", port = "443", authentication = @PactBrokerAuth(username = "${pactBrokerUser}", password = "${pactBrokerPassword}")) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) public class PricingServiceProviderPactTest { @MockBean private ProductClient productClient; // This will replace the bean with a mock in the application context @TestTarget @SuppressWarnings(value = "VisibilityModifier") public final Target target = new HttpTarget(8091); @State("Product X010000021 exists") public void setupProductX010000021() throws IOException { reset(productClient); ProductBuilder product = new ProductBuilder() .withProductCode("X010000021"); when(productClient.fetch((Set<String>) argThat(contains("X010000021")), any())).thenReturn(product); } @State("the product code X00001 can be priced") public void theProductCodeX00001CanBePriced() throws IOException { reset(productClient); ProductBuilder product = new ProductBuilder() .withProductCode("X00001"); when(productClient.find((Set<String>) argThat(contains("X00001")), any())).thenReturn(product); } } ``` ### Using Spring Context Properties The SpringRestPactRunner will look up any annotation expressions (like `${pactBrokerHost}`) above) from the Spring context. For Springboot, this will allow you to define the properties in the application test properties. For instance, if you create the following `application.yml` in the test resources: ```yaml pactbroker: host: "your.broker.local" port: "443" protocol: "https" auth: username: "<your broker username>" password: "<your broker password>" ``` Then you can use the defaults on the `@PactBroker` annotation. ```java @RunWith(SpringRestPactRunner.class) @Provider("My Service") @PactBroker( authentication = @PactBrokerAuth(username = "${pactbroker.auth.username}", password = "${pactbroker.auth.password}") ) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public class PactVerificationTest { ``` ### Using a random port with a Springboot test If you use a random port in a springboot test (by setting `SpringBootTest.WebEnvironment.RANDOM_PORT`), you need to set it to the `TestTarget`. How this works is different for JUnit4 and JUnit5. #### JUnit4 You can use the `SpringBootHttpTarget` which will get the application port from the spring application context. For example: ```java @RunWith(SpringRestPactRunner.class) @Provider("My Service") @PactBroker @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public class PactVerificationTest { @TestTarget public final Target target = new SpringBootHttpTarget(); } ``` #### JUnit5 You actually don't need to dependend on `pact-jvm-provider-spring` for this. It's sufficient to depend on `pact-jvm-provider-junit5`. You can set the port to the `HttpTestTarget` object in the before method. ```java @Provider("My Service") @PactBroker @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) public class PactVerificationTest { @LocalServerPort private int port; @BeforeEach void before(PactVerificationContext context) { context.setTarget(new HttpTestTarget("localhost", port)); } } ```

Group: au.com.dius Artifact: pact-jvm-provider-spring
Show all versions Show documentation Show source 
 

0 downloads
Artifact pact-jvm-provider-spring
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 5
Dependencies spring-boot-starter-test, spring-webmvc, javax.servlet-api, jackson-datatype-joda, pact-jvm-provider-junit,
There are maybe transitive dependencies!



Page 1 from 1 (items total 9)


© 2015 - 2024 Weber Informatics LLC | Privacy Policy