<commit_before># Cloud Foundry Java Buildpack System Tests

The purpose of this repository is to exercise the [Cloud Foundry Java Buildpack][b] together with its dependencies and associated services to ensure that the whole works together correctly.

The tests are JUnit tests in a Maven build which push the [Java Test Applications][a] to Cloud Foundry.

The [Cloud Foundry Java Client][c] is used to drive the Cloud Foundry Cloud Controller REST API.

## Running Tests
The project depends on Java 8.  You must also have cloned built the [Java Test Applications][a] in a repository that is a peer to this one.  To run the tests, run the following:

```shell
$ ./mvnw clean test
```

## Configuration
The tests are extremely configurable allowing fine-grained control over what applications and services are tested.

### Application Types:
* `EJB`
* `GROOVY`
* `JAVAMAIN`
* `RATPACK`
* `SPRINGBOOTCLI`
* `SPRINGBOOTCLIJAR`
* `WEB`
* `WEBSERVLET2`

### Service Types

| Type | Service | Plan
| ---- | ------- | ----
| `mongodb` | `mongolab` | `sandbox`
| `mysql` | `cleardb` | `amp`
| `postgresql` | `elephantsql` | `hippo`
| `rabbitmq` | `cloudamqp` | `lemur`
| `redis` | `rediscloud` | `30mb`

### General Configuration
The following configuration elements are required and define where the tests will run.<commit_msg>Add DistZip Application Type to README<commit_after># Cloud Foundry Java Buildpack System Tests

The purpose of this repository is to exercise the [Cloud Foundry Java Buildpack][b] together with its dependencies and associated services to ensure that the whole works together correctly.

The tests are JUnit tests in a Maven build which push the [Java Test Applications][a] to Cloud Foundry.

The [Cloud Foundry Java Client][c] is used to drive the Cloud Foundry Cloud Controller REST API.

## Running Tests
The project depends on Java 8.  You must also have cloned built the [Java Test Applications][a] in a repository that is a peer to this one.  To run the tests, run the following:

```shell
$ ./mvnw clean test
```

## Configuration
The tests are extremely configurable allowing fine-grained control over what applications and services are tested.

### Application Types:
* `EJB`
* `DISTZIP`
* `GROOVY`
* `JAVAMAIN`
* `RATPACK`
* `SPRINGBOOTCLI`
* `SPRINGBOOTCLIJAR`
* `WEB`
* `WEBSERVLET2`

### Service Types

| Type | Service | Plan
| ---- | ------- | ----
| `mongodb` | `mongolab` | `sandbox`
| `mysql` | `cleardb` | `amp`
| `postgresql` | `elephantsql` | `hippo`
| `rabbitmq` | `cloudamqp` | `lemur`
| `redis` | `rediscloud` | `30mb`

### General Configuration
The following configuration elements are required and define where the tests will run.
{'fraction_non_alphanumeric': 0.1080373831775701, 'fraction_numerical': 0.0029906542056074765, 'mean_word_length': 4.395161290322581, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '278401', 'n_tokens_mistral': 836, 'n_tokens_neox': 799, 'n_words': 343}