Skip to content
Open
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
11 changes: 11 additions & 0 deletions IHE_2/springbootapp/.project
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,15 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
<filteredResources>
<filter>
<id>1668667939571</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
16 changes: 7 additions & 9 deletions IHE_2/springbootapp/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.processAnnotations=disabled
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.compiler.annotation.nonnull=org.springframework.lang.NonNull
org.eclipse.jdt.core.compiler.annotation.nullable=org.springframework.lang.Nullable
org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
5 changes: 5 additions & 0 deletions IHE_2/springbootapp/src/main/java/com/ils/tester/test1.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/


// Adding Features in testers

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review1. use /* */ instead //



package com.ils.tester;

import java.sql.Connection;
Expand Down
93 changes: 93 additions & 0 deletions IHE_2/springbootapp/target/classes/bootstrap.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
spring.application.name=/LOAN
server.port=8080

#DataBase
spring.datasource.url=jdbc:mysql://localhost:3306/spring_boot_db
spring.datasource.username=root
spring.datasource.password=Sachin#123

# Templates reloading during development
#spring.thymeleaf.prefix=${project.base-dir}/templates/
spring.thymeleaf.enabled=true
spring.thymeleaf.encoding=UTF-8
spring.thymeleaf.mode=HTML
#spring.thymeleaf.prefix=file:/home/maverick/NetBeansProjects/Downloads/IHE_2/template/
spring.thymeleaf.prefix=file:/home/maverick/mygit/Projects/IHE_2/template/
spring.thymeleaf.suffix=.html
spring.thymeleaf.cache=false
logging.level.org.thymeleaf=DEBUG

# Static resources reloading during development
spring.resources.static-locations=file:/home/maverick/mygit/Projects/IHE_2/template/
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true

logging.level.org.springframework.boot.autoconfigure.logging=DEBUG
management.endpoints.web.exposure.include=*
spring.boot.admin.client.instance.prefer-ip=true
management.endpoint.logfile.enabled=true
management.endpoint.logfile.external-file=logfile.external-file=/home/maverick/mygit/Projects/IHE_2/files/
spring.boot.admin.client.url=http://localhost:8080/


# HikariCP Settings
spring.datasource.hikari.connection-timeout=10000
spring.datasource.hikari.maximum-pool-size=10
spring.datasource.hikari.minimum-idle=15
spring.datasource.hikari.connection-test-query=SELECT 1
spring.datasource.hikari.pool-name=HikariConnectionPool

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hikari is older Version . Please use Latest

logging.level.org.springframework.jdbc.core = TRACE


#Max file size
spring.servlet.multipart.max-file-size=15MB
spring.servlet.multipart.max-request-size=15MB

#Spring Session working
#server.servlet.session.timeout=60s


# logging.level.org.springframework.boot=TRACE
# log4j.logger.org.thymeleaf=DEBUG
# log4j.logger.org.thymeleaf.TemplateEngine.CONFIG=TRACE
# log4j.logger.org.thymeleaf.TemplateEngine.TIMER=TRACE
# log4j.logger.org.thymeleaf.TemplateEngine.cache.TEMPLATE_CACHE=TRACE
# create and drop tables and sequences, loads import.sql
#spring.jpa.hibernate.ddl-auto=create-drop

#logging.level.org.hibernate.SQL=debug
#mybatis entity scan packages
# mybatis.type-aliases-package=com.ils.mybatis
#mybatis.type-handlers-package=com.example.typehandler
# mybatis.configuration.map-underscore-to-camel-case=true
# mybatis.configuration.default-fetch-size=100
# mybatis.configuration.default-statement-timeout=30


#################################################################################
#Logging====================
#logging.level.org.springframework=WARN
# logging.level.com.ils.mybatis=TRACE
#spring.output.ansi.enabled= ALWAYS
#logging.level.org.springframework=WARN
#logging.level.com.spring.ibatis.UserMapper=DEBUG

#################################################################################
#debug= true


#################################################################################
# vault configuration
#spring.application.name=hello
#spring.profiles.active=vault
#spring.cloud.vault.host=localhost
#spring.cloud.vault.port=8200
#spring.cloud.vault.token=s.S63NwbNdaf1odko1cornTxzW
#spring.cloud.vault.enabled=true
#spring.cloud.vault.fail-fast=true
#spring.cloud.vault.scheme=http
#spring.cloud.vault.kv.enabled=true
#spring.cloud.vault.kv.backend=secret
#Vault configuration
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions IHE_2/springbootapp/target/classes/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.

log4j.rootLogger=debug, A
log4j.appender.A=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A.DatePattern='.'yyyy-MM-dd
log4j.appender.A.File=/home/maverick/NetBeansProjects/Downloads/IHE_2/logs.log
log4j.appender.A.Threshold=ERROR,INFO
log4j.appender.A.layout=org.apache.log4j.PatternLayout
log4j.appender.A.layout.ConversionPattern=[%d][%-5p][%C{1}][%F][%M()][%L][msg=%m]%n
21 changes: 21 additions & 0 deletions IHE_2/springbootapp/target/classes/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version = "1.0" encoding = "UTF-8"?>
<configuration>
<appender name = "STDOUT" class = "ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[%d{yyyy-MM-dd'T'HH:mm:ss.sss'Z'}] [%C] [%t] [%L] [%-5p] %m%n</pattern>
</encoder>
</appender>

<appender name = "FILE" class = "ch.qos.logback.core.FileAppender">
<File>/home/maverick/NetBeansProjects/Downloads/IHE_2/mylog.log</File>
<encoder>
<pattern>[%d{yyyy-MM-dd'T'HH:mm:ss.sss }] [%C] [%t] [%L] [%-5p] %m%n</pattern>
<!--<pattern>[%d][%-5p][%C{1}] [%F][%M()][%L][msg=%m]%n</pattern>-->
</encoder>
</appender>

<root level = "DEBUG">
<appender-ref ref = "FILE"/>
<appender-ref ref = "STDOUT"/>
</root>
</configuration>