Download JAR files tagged by mapping with all dependencies
weblab-client from group org.ow2.weblab.components (version 0.1)
This library aims to provide a central access point to the services exposed on the ESB
without forcing each part of the system to know the actual location of the ESB and the names
of the exposed endpoints.
For this sake it allows to map service URI (ie referring to service in webLab taxonomy)
to the actual exposed URL on the ESB within the context of a specific project. The library
and the configuration should be added in portal lib in order to be central and available to
any portlets.
The mapping is done in a simple spring config file "webLabClient.xml" which must be accessible
in JAVA classpath.
Artifact weblab-client
Group org.ow2.weblab.components
Version 0.1
Last update 11. July 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies spring-beans,
There are maybe transitive dependencies!
Group org.ow2.weblab.components
Version 0.1
Last update 11. July 2012
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies spring-beans,
There are maybe transitive dependencies!
shades from group net.sf.shadesdb (version 0.0.5)
Shades is an Object/Relational Mapping (ORM) framework that works in conjunction with JDBC APIs. Instead of relying on XML or annotations for configuration, Shades relies on an interface called ORMapping. This makes shades simple and flexible. Shades has no new transaction model nor Connection management which you must learn. You control the transactions, and the Connection that Shades uses, through plain JDBC interfaces. Shades is designed to work well with modern web development frameworks like Tapestry and Wicket.
0 downloads
Artifact shades
Group net.sf.shadesdb
Version 0.0.5
Last update 19. October 2006
Organization not specified
URL http://sourceforge.net/projects/shadesdb
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group net.sf.shadesdb
Version 0.0.5
Last update 19. October 2006
Organization not specified
URL http://sourceforge.net/projects/shadesdb
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
romaji from group com.github.jikyo (version 0.0.4)
`Romaji` is a converter library to romanize Japanese hiragana/katakana string by standard and IME typing style.
Even though [icu::Transliterator](http://userguide.icu-project.org/transforms/general) already has provided the same functions, and returns only one romanized string.
However, there exists several different romanization systems, so one hiragana/katakana string has so many romanize string.
For example, `"ちゃ"` can be romanized as `"cha"`, `"tya"`, `"chixya"`, `"tixya"`, `"chilya"`, or `"tilya"`.
`Romaji` provides romanized strings as many as possible.
If an input string contained non hiragana/katakana characters (includes kanji), `Romaji` return the characters as same as the input.
For example, `Romaji` converts the input `"お茶の水"` to `"o茶no水"`.
The mapping from hiragana/katakana to romaji is based on common IME's system to type Japanese on a computer.
Therefor, `Romaji` does not directly implement the standard system like Hepburn, Nihon-shiki or Kunrei-shiki, but includes them.
0 downloads
Artifact romaji
Group com.github.jikyo
Version 0.0.4
Last update 14. May 2019
Organization not specified
URL https://github.com/jikyo/romaji4j
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group com.github.jikyo
Version 0.0.4
Last update 14. May 2019
Organization not specified
URL https://github.com/jikyo/romaji4j
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
rng from group de.cit-ec.ml (version 1.0.0)
This is an implementation of the Neural Gas algorithm on
distance data (Relational Neural Gas) for unsupervised clustering.
We recommend that you use the functions provided by the RelationalNeuralGas
class for your purposes. All other classes and functions are utilities which
are used by this central class. In particular, you can use RelationalNeuralGas.train()
to obtain a RNGModel (i.e. a clustering of your data), and subsequently
you can use RelationalNeuralGas.getAssignments() to obtain the resulting
cluster assignments, and RelationalNeuralGas.classify() to cluster new points
which are not part of the training data set.
The underlying scientific work is summarized nicely in the dissertation
"Topographic Mapping of Dissimilarity Datasets" by Alexander Hasenfuss
(2009).
The basic properties of an Relational Neural Gas algorithm are the following:
1.) It is relational: The data is represented only in terms of a pairwise
distance matrix.
2.) It is a clustering method: The algorithm provides a clustering model,
that is: After calculation,
each data point should be assigned to a cluster (for this package here we
only consider hard clustering, that is: each data point is assigned to
exactly one cluster).
3.) It is a vector quantization method: Each cluster corresponds to a
prototype, which is in the center of the
cluster and data points are assigned to the cluster if and only if they are
closest to this particular prototype.
4.) It is rank-based: The updates of the prototypes depend only on
the distance ranking, not on the absolute value of the distances.
Artifact rng
Group de.cit-ec.ml
Version 1.0.0
Last update 26. January 2018
Organization not specified
URL https://gitlab.ub.uni-bielefeld.de/bpaassen/relational_neural_gas
License The GNU General Public License, Version 3
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group de.cit-ec.ml
Version 1.0.0
Last update 26. January 2018
Organization not specified
URL https://gitlab.ub.uni-bielefeld.de/bpaassen/relational_neural_gas
License The GNU General Public License, Version 3
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
pact-jvm-provider_2.10 from group au.com.dius (version 2.4.20)
Pact provider
=============
sub project of https://github.com/DiUS/pact-jvm
The pact provider is responsible for verifying that an API provider adheres to a number of pacts authored by its clients
This library provides the basic tools required to automate the process, and should be usable on its own in many instances.
Framework and build tool specific bindings will be provided in separate libraries that build on top of this core functionality.
### Running Pacts
Main takes 2 arguments:
The first is the root folder of your pact files
(all .json files in root and subfolders are assumed to be pacts)
The second is the location of your pact config json file.
### Pact config
The pact config is a simple mapping of provider names to endpoint url's
paths will be appended to endpoint url's when interactions are attempted
for an example see: https://github.com/DiUS/pact-jvm/blob/master/pact-jvm-provider/src/test/resources/pact-config.json
### Provider State
Before each interaction is executed, the provider under test will have the opportunity to enter a state.
Generally the state maps to a set of fixture data for mocking out services that the provider is a consumer of (they will have their own pacts)
The pact framework will instruct the test server to enter that state by sending:
POST "${config.stateChangeUrl.url}/setup" { "state" : "${interaction.stateName}" }
### An example of running provider verification with junit
This example uses java, junit and hamcrest matchers to run the provider verification.
As the provider service is a DropWizard application, it uses the DropwizardAppRule to startup the service before running any test.
Warning: It only grabs the first interaction from the pact file with the consumer, where there could be many. (This could possibly be solved with a parameterized test)
```java
public class PactJVMProviderJUnitTest {
@ClassRule
public static TestRule startServiceRule = new DropwizardAppRule<DropwizardAppConfig>(DropwizardApp.class, "config.yml");
private static ProviderInfo serviceProvider;
private static Pact testConsumerPact;
@BeforeClass
public static void setupProvider() {
serviceProvider = new ProviderInfo("Dropwizard App");
serviceProvider.setProtocol("http");
serviceProvider.setHost("localhost");
serviceProvider.setPort(8080);
serviceProvider.setPath("/");
ConsumerInfo consumer = new ConsumerInfo();
consumer.setName("test_consumer");
consumer.setPactFile(new File("target/pacts/ping_client-ping_service.json"));
// serviceProvider.getConsumers().add(consumer);
testConsumerPact = (Pact) new PactReader().loadPact(consumer.getPactFile());
}
@Test
@SuppressWarnings("unchecked")
public void runConsumerPacts() {
//grab the first interaction from the pact with consumer
List<Interaction> interactions = scala.collection.JavaConversions.seqAsJavaList(testConsumerPact.interactions());
Interaction interaction1 = interactions.get(0);
//setup any provider state
//setup the client and interaction to fire against the provider
ProviderClient client = new ProviderClient();
client.setProvider(serviceProvider);
client.setRequest(interaction1.request());
Map<String, Object> clientResponse = (Map<String, Object>) client.makeRequest();
Map<String, Object> result = (Map<String, Object>) ResponseComparison.compareResponse(interaction1.response(),
clientResponse, (int) clientResponse.get("statusCode"), (Map) clientResponse.get("headers"), (String) clientResponse.get("data"));
//assert all good
assertThat(result.get("method"), is(true)); // method type matches
Map headers = (Map) result.get("headers"); //headers match
headers.forEach( (k, v) ->
assertThat(format("Header: [%s] does not match", k), v, org.hamcrest.Matchers.equalTo(true))
);
assertThat((Collection<Object>)((Map)result.get("body")).values(), org.hamcrest.Matchers.hasSize(0)); // empty list of body mismatches
}
}
```
### An example of running provider verification with spock
This example uses groovy and spock to run the provider verification.
Again the provider service is a DropWizard application, and is using the DropwizardAppRule to startup the service.
This example runs all interactions using spocks Unroll feature
```groovy
class PactJVMProviderSpockSpec extends Specification {
@ClassRule @Shared
TestRule startServiceRule = new DropwizardAppRule<DropwizardAppConfig>(DropwizardApp.class, "config.yml");
@Shared
ProviderInfo serviceProvider
@Shared
Pact testConsumerPact
def setupSpec() {
serviceProvider = new ProviderInfo("Dropwizard App")
serviceProvider.protocol = "http"
serviceProvider.host = "localhost"
serviceProvider.port = 8080;
serviceProvider.path = "/"
def consumer = serviceProvider.hasPactWith("ping_consumer", {
pactFile = new File('target/pacts/ping_client-ping_service.json')
})
testConsumerPact = (Pact) new PactReader().loadPact(consumer.getPactFile());
}
def cleanup() {
//cleanup provider state
//ie. db.truncateAllTables()
}
def cleanupSpec() {
//cleanup provider
}
@Unroll
def "Provider Pact - With Consumer"() {
given:
//setup provider state
// ie. db.setupRecords()
// serviceProvider.requestFilter = { req ->
// req.addHeader('Authorization', token)
// }
when:
ProviderClient client = new ProviderClient(provider: serviceProvider, request: interaction.request())
Map clientResponse = (Map) client.makeRequest()
Map result = (Map) ResponseComparison.compareResponse(interaction.response(),
clientResponse, clientResponse.statusCode, clientResponse.headers, clientResponse.data)
then:
// method matches
result.method == true
// headers all match, spock needs the size checked before
// asserting each result
if (result.headers.size() > 0) {
result.headers.each() { k, v ->
assert v == true
}
}
// empty list of body mismatches
result.body.size() == 0
where:
interaction << scala.collection.JavaConversions.seqAsJavaList(testConsumerPact.interactions())
}
}
```
2 downloads
Artifact pact-jvm-provider_2.10
Group au.com.dius
Version 2.4.20
Last update 14. April 2018
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 13
Dependencies slf4j-api, scala-library, pact-jvm-model, pact-jvm-matchers_2.10, scalatest_2.10, commons-io, groovy-all, jansi, http-builder, httpclient, reflections, unfiltered-netty-server_2.10, dispatch-core_2.10,
There are maybe transitive dependencies!
Group au.com.dius
Version 2.4.20
Last update 14. April 2018
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 13
Dependencies slf4j-api, scala-library, pact-jvm-model, pact-jvm-matchers_2.10, scalatest_2.10, commons-io, groovy-all, jansi, http-builder, httpclient, reflections, unfiltered-netty-server_2.10, dispatch-core_2.10,
There are maybe transitive dependencies!
Page 114 from 3 (items total 1135)