Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
44e11ecd
Commit
44e11ecd
authored
Aug 21, 2014
by
Matija Obreza
Browse files
Options
Browse Files
Download
Plain Diff
Merge with igoshin
parents
e7b55eb3
3d5ca3f7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
src/main/java/org/genesys2/server/service/impl/EMailServiceImpl.java
...va/org/genesys2/server/service/impl/EMailServiceImpl.java
+3
-4
src/main/java/org/genesys2/spring/config/ApplicationConfig.java
...in/java/org/genesys2/spring/config/ApplicationConfig.java
+3
-3
src/main/resources/spring/spring.properties
src/main/resources/spring/spring.properties
+2
-2
src/main/webapp/WEB-INF/web.xml
src/main/webapp/WEB-INF/web.xml
+6
-0
No files found.
src/main/java/org/genesys2/server/service/impl/EMailServiceImpl.java
View file @
44e11ecd
...
...
@@ -16,10 +16,6 @@
package
org.genesys2.server.service.impl
;
import
java.util.Arrays
;
import
javax.mail.internet.MimeMessage
;
import
org.genesys2.server.service.EMailService
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -31,6 +27,9 @@ import org.springframework.mail.javamail.MimeMessagePreparator;
import
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
;
import
org.springframework.stereotype.Service
;
import
javax.mail.internet.MimeMessage
;
import
java.util.Arrays
;
@Service
public
class
EMailServiceImpl
implements
EMailService
{
...
...
src/main/java/org/genesys2/spring/config/ApplicationConfig.java
View file @
44e11ecd
/**
* Copyright 2014 Global Crop Diversity Trust
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
...
...
src/main/resources/spring/spring.properties
View file @
44e11ecd
...
...
@@ -21,11 +21,11 @@ base.cookie-domain=
base.cookie-secure
=
false
base.cookie-http-only
=
false
db.url
=
jdbc:mysql://localhost/genesys
live
?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
db.url
=
jdbc:mysql://localhost/genesys
4
?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
db.driverClassName
=
com.mysql.jdbc.Driver
db.dialect
=
org.hibernate.dialect.MySQL5Dialect
db.username
=
root
db.password
=
db.password
=
1
db.showSql
=
false
db.hbm2ddl
=
do-nothing
...
...
src/main/webapp/WEB-INF/web.xml
View file @
44e11ecd
...
...
@@ -37,6 +37,12 @@
<param-value>
org.genesys2.spring.config.ApplicationConfig
</param-value>
</context-param>
<context-param>
<param-name>
spring.profiles.active
</param-name>
<param-value>
dev
</param-value>
</context-param>
<listener>
<listener-class>
com.hazelcast.web.SessionListener
</listener-class>
</listener>
...
...
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