Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Removing unneeded code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Mar 21, 2024
1 parent 82bbb1f commit e216072
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 588 deletions.
40 changes: 0 additions & 40 deletions entitydb-api/src/test/resources/ehcache.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

// Auto-configuration for MongoDB: http://stackoverflow.com/a/34415014/1428388
// Auto-configuration for Jackson: http://www.leveluplunch.com/java/tutorials/023-configure-integrate-gson-spring-boot/

/**
* The EntityDB application. EntityDB uses Spring Boot and
* builds as a runnable jar.
Expand All @@ -97,42 +94,33 @@
*
*/
@SpringBootApplication(exclude = { JacksonAutoConfiguration.class, MongoAutoConfiguration.class, MongoDataAutoConfiguration.class })
@PropertySource(value = {"file:entitydb.properties"}, ignoreResourceNotFound = false)
@PropertySource(value = {"file:entitydb.properties"})
@Configuration
public class EntityDbApplication extends SpringBootServletInitializer {

private static final Logger LOGGER = LogManager.getLogger(EntityDbApplication.class);

private static final EntityDbProperties properties = ConfigFactory.create(EntityDbProperties.class);

/**
* The EntityDB main function.
* @param args Command line arguments. (None are required.)
*/

public static void main(String[] args) {

// Start the REST service.
SpringApplication.run(EntityDbApplication.class, args);

}

@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {

return application.sources(EntityDbApplication.class);

}

@Bean(destroyMethod = "shutdown")
public ThreadPoolExecutor getThreadPoolExecutor() {
ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newCachedThreadPool();

final ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newCachedThreadPool();

executor.setMaximumPoolSize(16);
executor.setCorePoolSize(8);
executor.setCorePoolSize(8);

return executor;

}

@Bean
Expand Down
3 changes: 0 additions & 3 deletions entitydb-app/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@
# specific language governing permissions and limitations
# under the License.
#

endpoints.shutdown.enabled=false
logging.file=@log.file@
64 changes: 0 additions & 64 deletions entitydb-app/src/main/resources/ehcache.xml

This file was deleted.

8 changes: 8 additions & 0 deletions entitydb-app/src/main/resources/log4j2.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# The root logger with appender name
rootLogger = DEBUG, STDOUT

# Assign STDOUT a valid appender & define its layout
appender.console.name = STDOUT
appender.console.type = Console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %msg%n
34 changes: 0 additions & 34 deletions entitydb-app/src/main/resources/log4j2.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback</artifactId>
<artifactId>logback-core</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down
69 changes: 0 additions & 69 deletions entitydb-eql/eql-pig-udf/dependency-reduced-pom.xml

This file was deleted.

11 changes: 0 additions & 11 deletions entitydb-eql/eql-pig-udf/pig/eql.pig

This file was deleted.

1 change: 0 additions & 1 deletion entitydb-eql/eql-pig-udf/pig/input

This file was deleted.

7 changes: 0 additions & 7 deletions entitydb-eql/eql-pig-udf/pig/run.sh

This file was deleted.

Loading

0 comments on commit e216072

Please sign in to comment.