Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ META-INF/
!**/src/main/resources/META-INF/**
!**/src/test/resources/META-INF/
!**/src/test/resources/META-INF/**
OSGI-INF/
build.properties
pom.xml.versionsBackup
dependency-reduced-pom.xml
Expand Down
12 changes: 0 additions & 12 deletions docs/REPAIR_MONITORING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,3 @@ The following commands (placed in the `bin` directory) are available:

Logging is configured in `conf/logback.xml`. By default `ecc.log` and `ecc.debug.log` files will be produce.
As the naming suggests - the debug-log contains more information but entries will be rotated out faster as the logs grow.

## OSGI

If running ecChronos inside a Karaf container the following console-commands are available:

| Command | Description |
|-----------------------|---------------------------------------|
| `repair:status` | Repair status overview for all tables |
| `repair:table-status` | Detailed status for a given table |
| `repair:config` | Configuration for all tables |

Logging is configured in the OSGI runtime environment. By default for Karaf, ecChronos will log to `karaf.log`.
14 changes: 3 additions & 11 deletions docs/TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ On top of that, if there's any change in the output of ecctool the [examples](EC

Make sure to add tests to the relevant phase(s) when possible.
If mocks or a single Apache Cassandra instance is necessary it may be run as a unit test.
If multiple Apache Cassandra instances are necessary then test cases should be added to `standalone-integration` and/or `osgi-integration` tests.
If multiple Apache Cassandra instances are necessary then test cases should be added to `standalone-integration` tests.
If HTTP related functionality is changed then `ecchronos-binary` test cases should be changed.

## Running the tests
Expand Down Expand Up @@ -163,9 +163,7 @@ mvn package -Dbuild-cassandra-test-jar -DskipTests
### Integration tests

The integration tests tries to start ecChronos with a cluster of nodes and verfiy that repairs are run.
They are activated by using `-P osgi-integration-tests` or `-P standalone-integration-tests`.
It is possible to run either OSGi integration tests or the standalone tests without the other.
This can be done by running either `mvn clean install -P docker-integration-test,osgi-integration-tests` or `mvn clean install -P docker-integration-test,standalone-integration-tests`.
They are activated by using `-P standalone-integration-tests`, e.g. `mvn clean install -P standalone-integration-tests`.

### Acceptance tests

Expand Down Expand Up @@ -231,11 +229,6 @@ Standalone integration tests
mvn clean install -P local-standalone-integration-tests
```

OSGi integration tests
```
mvn clean install -P local-osgi-integration-tests
```

All the above in one property.
```
mvn clean install -Dlocalprecommit.tests
Expand Down Expand Up @@ -423,5 +416,4 @@ The test cases needs to be run with the following system properties set:

### Break down into end to end tests

The `standalone-integration` tests runs a setup similar to the standalone application to verify automated repairs.
The `osgi-integration` tests runs in a OSGi environment to verify that all services are available and verifies automated repairs.
The `standalone-integration` tests runs a setup similar to the standalone application to verify automated repairs.
7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@
<org.apache.maven.plugins-maven-shade-plugin.version>3.6.2</org.apache.maven.plugins-maven-shade-plugin.version>
<org.apache.maven.plugins.maven-source-plugin.version>3.4.0</org.apache.maven.plugins.maven-source-plugin.version>
<org.apache.maven.plugins.maven-surefire-plugin.version>3.6.1</org.apache.maven.plugins.maven-surefire-plugin.version>
<org.apache.servicemix.tooling.depends-maven-plugin.version>1.5.0</org.apache.servicemix.tooling.depends-maven-plugin.version>
<org.codehaus.mojo.exec-maven-plugin.version>3.7.0</org.codehaus.mojo.exec-maven-plugin.version>
<org.codehaus.mojo.license-maven-plugin.version>2.9.0</org.codehaus.mojo.license-maven-plugin.version>
<org.jacoco.jacoco-maven-plugin.version>0.8.16</org.jacoco.jacoco-maven-plugin.version>
Expand Down Expand Up @@ -770,12 +769,6 @@
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>${org.apache.servicemix.tooling.depends-maven-plugin.version}</version>
</plugin>

<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
Expand Down
Loading