Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
BackEnd-V1
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joel Andres Molina Velez
BackEnd-V1
Commits
a216aa57
Commit
a216aa57
authored
May 23, 2023
by
Joel Andres Molina Velez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nueva v
parent
27df2343
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
build.gradle
build.gradle
+2
-0
ServiceEmail.java
.../edu/espe/movilidad/MovilidadWS/service/ServiceEmail.java
+0
-10
ServiceExample.java
...du/espe/movilidad/MovilidadWS/service/ServiceExample.java
+0
-1
application-local.properties
src/main/resources/application-local.properties
+14
-2
No files found.
build.gradle
View file @
a216aa57
...
...
@@ -25,9 +25,11 @@ dependencies {
implementation
'com.lowagie:itext:2.1.7'
implementation
'net.sf.jasperreports:jasperreports:6.9.0'
implementation
'org.springframework.boot:spring-boot-starter-mail'
implementation
'org.springframework.boot:spring-boot-devtools'
implementation
'javax.persistence:javax.persistence-api'
compileOnly
'org.projectlombok:lombok'
runtimeOnly
'com.oracle.database.jdbc:ojdbc8'
annotationProcessor
'org.projectlombok:lombok'
testImplementation
'org.springframework.boot:spring-boot-starter-test'
}
...
...
src/main/java/ec/edu/espe/movilidad/MovilidadWS/service/ServiceEmail.java
View file @
a216aa57
...
...
@@ -12,15 +12,5 @@ import javax.transaction.Transactional;
@Service
@Transactional
public
class
ServiceEmail
{
@Autowired
JavaMailSender
javaMailSender
;
@Autowired
ServiceFile
serviceFile
;
@Value
(
"${spring.mail.username}"
)
private
String
email
;
public
void
sendListEmail
(
String
emailTo
){
}
}
src/main/java/ec/edu/espe/movilidad/MovilidadWS/service/ServiceExample.java
View file @
a216aa57
...
...
@@ -37,7 +37,6 @@ public class ServiceExample implements IServiceExample{
//Seteamos los nuevos datos del registro
example
.
setNumero
(
modelExample
.
getNumero
());
example
.
setName
(
modelExample
.
getName
());
example
.
setState
(
modelExample
.
getState
());
ModelExample
exampleActualizado
=
daoExample
.
save
(
example
);
return
exampleActualizado
;
...
...
src/main/resources/application-local.properties
View file @
a216aa57
# Habilitar reinicializacin automtica
spring.devtools.restart.enabled
=
true
# Habilitar recarga en caliente de plantillas (por ejemplo, para Thymeleaf)
spring.thymeleaf.cache
=
false
# Habilitar recarga en caliente de propiedades
spring.devtools.livereload.enabled
=
true
# POOL CONFIG
spring.datasource.hikari.connection-timeout
=
20000
#maximum number of milliseconds that a client will wait for a connection
...
...
@@ -12,9 +24,9 @@ spring.datasource.hikari.max-lifetime= 1000
spring.datasource.hikari.auto-commit
=
true
#spring.datasource.url=jdbc:oracle:thin:@//localhost/XE
spring.datasource.url
=
jdbc:oracle:thin:@//localhost:1521/
bddp
spring.datasource.url
=
jdbc:oracle:thin:@//localhost:1521/
orcl
spring.jpa.hibernate.ddl-auto
=
update
spring.datasource.username
=
joel
spring.datasource.username
=
JOEL
spring.datasource.password
=
1234
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment