Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from oracle/release/1.0.0
Browse files Browse the repository at this point in the history
prepare for 1.0.0 release
  • Loading branch information
markxnelson authored Sep 6, 2019
2 parents aaf0f1c + 34d839b commit 5fc7c43
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The WebLogic Logging Exporter adds a log event handler to WebLogic Server,
such that WebLogic Server logs can be integrated into [Elastic Stack](https://www.elastic.co/products)
in Kubernetes directly, by using the [Elasticsearch](https://www.elastic.co/products/elasticsearch) REST API.

The current version of the WebLogic Logging Exporter is 0.1, which was released on March 16, 2019.
The current version of the WebLogic Logging Exporter is 1.0.0, which was released on September 6, 2019.
This version supports pushing logs into Elasticsearch using the REST API.

The following features are planned for the next few releases:
Expand Down Expand Up @@ -92,15 +92,15 @@ git clone git@orahub.oraclecorp.com:oracle/wls-logging-exporter.git
mvn install
```

The `weblogic-logging-exporter-0.1.jar` will be available under the `target` directory.
The `weblogic-logging-exporter-1.0.0.jar` will be available under the `target` directory.

## Installation

This section outlines the steps that are required to add the Weblogic Logging Exporter to Weblogic Server.

1. Download or build the WebLogic Logging Exporter as described above.

1. Copy the `weblogic-logging-exporter-0.1.jar` into a suitable location, e.g. into your domain directory.
1. Copy the `weblogic-logging-exporter-1.0.0.jar` into a suitable location, e.g. into your domain directory.

1. Add a startup class to your domain configuration.

Expand All @@ -119,7 +119,7 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
</startup-class>
```

1. Add `weblogic-logging-exporter.jar` and `snakeyaml-1.23.jar` to your classpath.
1. Add `weblogic-logging-exporter-1.0.0.jar` and `snakeyaml-1.23.jar` to your classpath.

This project requires `snakeyaml` to parse the YAML configuration file. If you built the project locally,
you can find this JAR file in your local maven repository at `~/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar`.
Expand All @@ -132,7 +132,7 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
directory is `/u01/base_domain`):

```
export CLASSPATH="/u01/base_domain/weblogic-logging-exporter-0.1.jar:/u01/base_domain/snakeyaml-1.23.jar:$CLASSPATH"
export CLASSPATH="/u01/base_domain/weblogic-logging-exporter-1.0.0.jar:/u01/base_domain/snakeyaml-1.23.jar:$CLASSPATH"
```

1. Create a configuration file for the WebLogic Logging Exporter.
Expand All @@ -147,7 +147,7 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
publishPort: 9200
domainUID: domain1
weblogicLoggingExporterEnabled: true
weblogicLoggingIndexName: wls
weblogicLoggingIndexName: domain1-wls
weblogicLoggingExporterSeverity: Notice
weblogicLoggingExporterBulkSize: 1
weblogicLoggingExporterFilters:
Expand All @@ -158,6 +158,8 @@ This section outlines the steps that are required to add the Weblogic Logging Ex
send the logs from multiple domains to the same Elasticsearch server. If you are using the WebLogic Kubernetes
Operator, it is strongly recommended that you use the same `domainUID` value that you use for the domain.

It is also strongly recommended that you consider using a different Elastcsearch index name for each domain.

If you prefer to place the configuration file in a different location, you can set the environment variable
`WEBLOGIC_LOGGING_EXPORTE_CONFIG_FILE` to point to the location of the file.

Expand Down
16 changes: 8 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>oracle.kubernetes</groupId>
<artifactId>weblogic-logging-exporter</artifactId>
<packaging>jar</packaging>
<version>0.1</version>
<version>1.0.0</version>

<name>WebLogic Logging Exporter</name>
<description>An exporter that integrates WebLogic Server logs into ElasticSearch and Kibana</description>
Expand Down Expand Up @@ -52,7 +52,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -61,7 +61,7 @@
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.4.0</version>
<version>2.9</version>
<executions>
<execution>
<phase>test</phase>
Expand All @@ -74,7 +74,7 @@
<!-- for junit 5 -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<version>2.22.2</version>
<configuration>
<!-- for future use
<groups>acceptance | !feature-a</groups>
Expand All @@ -96,13 +96,13 @@
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.0</version>
<version>2.22.1</version>
</plugin>
<!-- end -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.3</version>
<version>0.8.4</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -180,13 +180,13 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.4.1</version>
<version>5.5.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.4.1</version>
<version>5.5.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Required metadata
sonar.projectKey=weblogic-logging-exporter
sonar.projectName=WebLogic Logging Exporter
sonar.projectVersion=0.1
sonar.projectVersion=1.0.0

# Comma-separated paths to directories with sources (required)
sonar.sources=src/main/java
Expand Down

0 comments on commit 5fc7c43

Please # to comment.