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

Download spring-framework-3.0.5 JAR files with dependency


curator-framework from group org.apache.curator (version 5.7.1)

High-level API that greatly simplifies using ZooKeeper.

Group: org.apache.curator Artifact: curator-framework
Show documentation Show source 
Download curator-framework.jar (5.7.1)
 

0 downloads
Artifact curator-framework
Group org.apache.curator
Version 5.7.1


bssd-monitoring-spring from group uk.co.bssd (version 0.0.2)

Support for configuring the monitoring framework via Spring

Group: uk.co.bssd Artifact: bssd-monitoring-spring
Show documentation Show source 
Download bssd-monitoring-spring.jar (0.0.2)
 

0 downloads
Artifact bssd-monitoring-spring
Group uk.co.bssd
Version 0.0.2


alpha-spring-cloud-starter-nacos from group org.apache.servicecomb.pack (version 0.7.1)

Eventual consistency component for distributed systems

Group: org.apache.servicecomb.pack Artifact: alpha-spring-cloud-starter-nacos
Show documentation Show source 
Download alpha-spring-cloud-starter-nacos.jar (0.7.1)
 

0 downloads


ujo-orm-spring from group org.ujoframework (version 1.22)

Quick ORM implementation based on the UJO objects.

Group: org.ujoframework Artifact: ujo-orm-spring
Show documentation Show source 
Download ujo-orm-spring.jar (1.22)
 

0 downloads
Artifact ujo-orm-spring
Group org.ujoframework
Version 1.22


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 documentation Show source 
Download pact-jvm-provider-spring.jar (4.0.10)
 

0 downloads
Artifact pact-jvm-provider-spring
Group au.com.dius
Version 4.0.10


skinny-framework_2.11 from group org.skinny-framework (version 2.1.2)

skinny-framework

Group: org.skinny-framework Artifact: skinny-framework_2.11
Show documentation Show source 
Download skinny-framework_2.11.jar (2.1.2)
 

0 downloads
Artifact skinny-framework_2.11
Group org.skinny-framework
Version 2.1.2


nifty-spring-boot-starter-parent from group com.bigdullrock (version 0.8.0)

Spring Boot Starter for the Nifty Thrift Library

Group: com.bigdullrock Artifact: nifty-spring-boot-starter-parent
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads


spring-cert-ldap-login-module from group org.esbtools.auth (version 1.3.0)

Group: org.esbtools.auth Artifact: spring-cert-ldap-login-module
Show documentation Show source 
Download spring-cert-ldap-login-module.jar (1.3.0)
 

0 downloads


swagger-request-validator-spring-web-client from group com.atlassian.oai (version 2.44.1)

OpenAPI / Swagger validation for Spring web client.

Group: com.atlassian.oai Artifact: swagger-request-validator-spring-web-client
Show documentation Show source 
Download swagger-request-validator-spring-web-client.jar (2.44.1)
 

0 downloads


bucket4j-spring-boot-starter from group com.giffing.bucket4j.spring.boot.starter (version 0.12.8)

Spring Boot Starter für Bucket4J

Group: com.giffing.bucket4j.spring.boot.starter Artifact: bucket4j-spring-boot-starter
Show documentation Show source 
Download bucket4j-spring-boot-starter.jar (0.12.8)
 

0 downloads


badger-spring-boot-starter from group org.jfaster (version 1.7)

Group: org.jfaster Artifact: badger-spring-boot-starter
Show documentation Show source 
Download badger-spring-boot-starter.jar (1.7)
 

0 downloads
Artifact badger-spring-boot-starter
Group org.jfaster
Version 1.7


dellroad-stuff-spring from group org.dellroad (version 2.0.1)

DellRoad Stuff classes related to the Spring Framework.

Group: org.dellroad Artifact: dellroad-stuff-spring
Show documentation Show source 
Download dellroad-stuff-spring.jar (2.0.1)
 

0 downloads
Artifact dellroad-stuff-spring
Group org.dellroad
Version 2.0.1


framework-parent from group com.graphaware.neo4j (version 3.5.14.58)

Parent POM for GraphAware Neo4j Framework

Group: com.graphaware.neo4j Artifact: framework-parent
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads
Artifact framework-parent
Group com.graphaware.neo4j
Version 3.5.14.58


spring-boot-thin-launcher-shade-locator from group org.springframework.boot.experimental (version 1.0.0.RELEASE)

Supports Spring Boot Maven plugin

Group: org.springframework.boot.experimental Artifact: spring-boot-thin-launcher-shade-locator
Show documentation Show source 
Download spring-boot-thin-launcher-shade-locator.jar (1.0.0.RELEASE)
 

0 downloads


spring-statemachine-samples-zookeeper from group org.springframework.statemachine (version 4.0.0)

Spring State Machine Distributed Sample

Group: org.springframework.statemachine Artifact: spring-statemachine-samples-zookeeper
Show documentation 
There is no JAR file uploaded. A download is not possible! Please choose another version.
0 downloads




Page 1031 from 19473 (items total 292095)


© 2015 - 2025 Weber Informatics LLC | Privacy Policy