Articles Tagged ‘schema’
Friday, August 31st, 2018
The OpenAPI and Swagger API description format are becoming important standards to specify API contracts for RESTful web services and the Microservices trend pushes the need for such contracts even further.
Therefore arises the need for software architects, testers and developers to write tests to verify if an exposed API follows such a specified contract.
In the following tutorial I will demonstrate a setup with Java, Maven, JUnit and the designated contract-testing-library, assertj-swagger that verifies the validity of such a contract exposed by a Spring Boot application against a local stored definition.
(more…)
Tags: Api, contract, contract-driven, failsafe, json, junit, maven, openapi, rest, schema, spring-boot, springfox, surefire, swagger, testing, yaml
Posted in Java, Web Services, testing | No Comments »
Wednesday, July 1st, 2015
Spring Boot allows us to create RESTful web-services with ease, Swagger specifies a format to describe the capabilities and operations of these services and with Swagger UI it is possible to explore our REST API with a nice graphical user interface in our browser.
Springfox is a project that aims at creating automated JSON API documentation for API’s built with Spring and is used in the following tutorial to integrate Swagger into a sample application.
(more…)
Tags: Api, documentation, gradle, json, rest, restful, schema, spring, spring-boot, springfox, swagger, swagger-ui, webservices
Posted in Java, Web Services | 11 Comments »
Sunday, January 25th, 2015
When it comes to indexing in a Neo4j graph database, different options exist for a developer to create and maintain the index.
In the following short examples I’d like to demonstrate different possibilities for index management.
(more…)
Tags: cypher, database, gradle, graph, Java, neo4j, schema, start, yed
Posted in Java | No Comments »
Tuesday, August 23rd, 2011
Using the contract-first approach to define a web service offers some advantages in contrast to the code-first approach.
In the following tutorial we’re going to take a look at some details of this approach and we’re going to implement a real SOAP service using JAX-WS, Maven and the Eclipse IDE.
Finally we’re going to run our service implementation on an embedded Jetty instance and we’re going to take a look at soapUI and how to test our service using this neat tool.
(more…)
Tags: eclipse, jax-b, jax-ws, jaxb, jetty, maven, port, schema, soap, soapui, wsdl, xml, xsd
Posted in Enterprise, Java, Web Services | 4 Comments »