Skip to content

Commit e8c0578

Browse files
authored
Merge pull request #30 from codingchili/snapshot-1.2
Snapshot 1.2
2 parents 6ef4463 + 3d821ca commit e8c0578

32 files changed

+2334
-1757
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ Parses XLSX files into ElasticSearch using column titles from specified row comb
55
## Prerequisites
66
The application requires ElasticSearch as its output.
77

8-
ElasticSearch and Kibana (version 5.0.0) should not require any additional configuration or installation, just download and run from [Elastic](https://www.elastic.co/products).
8+
ElasticSearch and Kibana (version 5.2.4) should not require any additional configuration or installation, just download and run from [Elastic](https://www.elastic.co/products).
99

1010
## Running
11-
Running the application,
11+
Running the application, filename and index is optional to import using terminal mode.
1212
```
13-
java -jar excelastic-1.0.1.jar run Launcher
13+
java -jar excelastic-1.2.0.jar <filename> <index>
1414
```
1515

16-
If any connection errors occur check that the ElasticSearch listen port matches with the elastic_port in the configuration file. Make sure that ElasticSearch is running by directing your browser at [localhost:9200](http://localhost:9200/_count). When the server is started browse to [localhost:8080](http://localhost:8080/) for the web interface.
16+
When the application successfully connects to the ElasticSearch server, the browser will automatically open a new tab.
17+
18+
If any connection errors occur check that the ElasticSearch listen port matches with the elastic_port in the configuration file. Make sure that ElasticSearch is running by directing your browser at [localhost:9200](http://localhost:9200/_count).
1719

1820
Compiling a new fatjar,
1921
```
@@ -30,3 +32,5 @@ mvn clean package
3032
**elastic_port** (9200) port that ElasticSearch listens to, host is set to localhost.
3133

3234
**elastic_host** (localhost) address of the ElasticSearch server.
35+
36+
If no configuration file is present a new configuration file will be created using the default values listed here.

configuration.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"web_port": 8080,
3-
"elastic_port": 9200,
4-
"elastic_host": "localhost"
1+
{
2+
"web_port": 0,
3+
"elastic_port": 9200,
4+
"elastic_host": "localhost"
55
}

pom.xml

Lines changed: 94 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,95 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
<modelVersion>4.0.0</modelVersion>
6-
7-
<properties>
8-
<project.version.sourceEncoding>UTF-8</project.version.sourceEncoding>
9-
</properties>
10-
11-
<groupId>com.codingchili</groupId>
12-
<artifactId>excelastic</artifactId>
13-
<version>1.0.1</version>
14-
<build>
15-
<plugins>
16-
<plugin>
17-
<groupId>org.apache.maven.plugins</groupId>
18-
<artifactId>maven-compiler-plugin</artifactId>
19-
<version>3.5.1</version>
20-
<configuration>
21-
<source>1.8</source>
22-
<target>1.8</target>
23-
</configuration>
24-
</plugin>
25-
<plugin>
26-
<groupId>org.apache.maven.plugins</groupId>
27-
<artifactId>maven-shade-plugin</artifactId>
28-
<version>1.6</version>
29-
<executions>
30-
<execution>
31-
<phase>package</phase>
32-
<goals>
33-
<goal>shade</goal>
34-
</goals>
35-
<configuration>
36-
<outputFile>${project.artifactId}-${project.version}.jar</outputFile>
37-
<transformers>
38-
<transformer
39-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
40-
<mainClass>io.vertx.core.Launcher</mainClass>
41-
</transformer>
42-
</transformers>
43-
</configuration>
44-
</execution>
45-
</executions>
46-
</plugin>
47-
</plugins>
48-
</build>
49-
<dependencies>
50-
<dependency>
51-
<groupId>junit</groupId>
52-
<artifactId>junit</artifactId>
53-
<version>RELEASE</version>
54-
<scope>test</scope>
55-
</dependency>
56-
57-
<dependency>
58-
<groupId>io.vertx</groupId>
59-
<artifactId>vertx-core</artifactId>
60-
<version>3.3.3</version>
61-
</dependency>
62-
63-
<dependency>
64-
<groupId>io.vertx</groupId>
65-
<artifactId>vertx-unit</artifactId>
66-
<version>3.3.3</version>
67-
</dependency>
68-
69-
<dependency>
70-
<groupId>io.vertx</groupId>
71-
<artifactId>vertx-web</artifactId>
72-
<version>3.3.3</version>
73-
</dependency>
74-
75-
<dependency>
76-
<groupId>io.vertx</groupId>
77-
<artifactId>vertx-web-templ-jade</artifactId>
78-
<version>3.3.3</version>
79-
</dependency>
80-
81-
<dependency>
82-
<groupId>org.apache.poi</groupId>
83-
<artifactId>poi</artifactId>
84-
<version>3.13</version>
85-
</dependency>
86-
87-
<dependency>
88-
<groupId>org.apache.poi</groupId>
89-
<artifactId>poi-ooxml</artifactId>
90-
<version>3.13</version>
91-
</dependency>
92-
93-
</dependencies>
94-
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<properties>
8+
<project.version.sourceEncoding>UTF-8</project.version.sourceEncoding>
9+
</properties>
10+
11+
<groupId>com.codingchili</groupId>
12+
<artifactId>excelastic</artifactId>
13+
<version>1.2.0</version>
14+
<build>
15+
<plugins>
16+
<plugin>
17+
<groupId>org.apache.maven.plugins</groupId>
18+
<artifactId>maven-compiler-plugin</artifactId>
19+
<version>3.5.1</version>
20+
<configuration>
21+
<source>1.8</source>
22+
<target>1.8</target>
23+
</configuration>
24+
</plugin>
25+
<plugin>
26+
<groupId>org.apache.maven.plugins</groupId>
27+
<artifactId>maven-shade-plugin</artifactId>
28+
<version>1.6</version>
29+
<executions>
30+
<execution>
31+
<phase>package</phase>
32+
<goals>
33+
<goal>shade</goal>
34+
</goals>
35+
<configuration>
36+
<outputFile>${project.artifactId}-${project.version}.jar</outputFile>
37+
<transformers>
38+
<transformer
39+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
40+
<mainClass>com.codingchili.ApplicationLauncher</mainClass>
41+
</transformer>
42+
</transformers>
43+
</configuration>
44+
</execution>
45+
</executions>
46+
</plugin>
47+
</plugins>
48+
</build>
49+
<dependencies>
50+
<dependency>
51+
<groupId>junit</groupId>
52+
<artifactId>junit</artifactId>
53+
<version>4.12</version>
54+
<scope>test</scope>
55+
</dependency>
56+
57+
<dependency>
58+
<groupId>io.vertx</groupId>
59+
<artifactId>vertx-core</artifactId>
60+
<version>3.4.1</version>
61+
</dependency>
62+
63+
<dependency>
64+
<groupId>io.vertx</groupId>
65+
<artifactId>vertx-unit</artifactId>
66+
<version>3.4.1</version>
67+
</dependency>
68+
69+
<dependency>
70+
<groupId>io.vertx</groupId>
71+
<artifactId>vertx-web</artifactId>
72+
<version>3.4.1</version>
73+
</dependency>
74+
75+
<dependency>
76+
<groupId>io.vertx</groupId>
77+
<artifactId>vertx-web-templ-jade</artifactId>
78+
<version>3.4.1</version>
79+
</dependency>
80+
81+
<dependency>
82+
<groupId>org.apache.poi</groupId>
83+
<artifactId>poi</artifactId>
84+
<version>3.13</version>
85+
</dependency>
86+
87+
<dependency>
88+
<groupId>org.apache.poi</groupId>
89+
<artifactId>poi-ooxml</artifactId>
90+
<version>3.13</version>
91+
</dependency>
92+
93+
</dependencies>
94+
9595
</project>

sample-ui.png

9.51 KB
Loading

src/main/java/Controller/Website.java

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/main/java/Launcher.java

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/main/java/Model/Configuration.java

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)