Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DDA
dda-wizard
Commits
62ac3337
Commit
62ac3337
authored
Aug 25, 2016
by
Gerrit Hübbers
🃏
Browse files
Introduce new configuration properties.
parent
6ef284de
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gesis/dda/wizard/config/IngesterProperties.java
0 → 100755
View file @
62ac3337
package
org.gesis.dda.wizard.config
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
@ConfigurationProperties
(
prefix
=
"ingester"
,
ignoreUnknownFields
=
false
)
public
class
IngesterProperties
{
private
String
endpoint
;
private
String
username
;
private
String
password
;
public
String
getEndpoint
()
{
return
endpoint
;
}
public
void
setEndpoint
(
String
endpoint
)
{
this
.
endpoint
=
endpoint
;
}
public
String
getUsername
()
{
return
username
;
}
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
;
}
public
String
getPassword
()
{
return
password
;
}
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
;
}
}
src/main/resources/config/application.yml
View file @
62ac3337
...
...
@@ -59,3 +59,12 @@ jhipster:
contact
:
license
:
licenseUrl
:
# ===================================================================
# Ingesting repository-specific configuration
# ===================================================================
ingester
:
endpoint
:
http://svko-dda-test.gesis.intra
username
:
dummy-editor@example.com
password
:
dummy-editor
src/test/resources/config/application.yml
View file @
62ac3337
...
...
@@ -72,3 +72,12 @@ jhipster:
contact
:
license
:
licenseUrl
:
# ===================================================================
# Ingesting repository-specific configuration
# ===================================================================
ingester
:
endpoint
:
http://svko-dda-test.gesis.intra
username
:
dummy-editor@example.com
password
:
dummy-editor
Write
Preview
Supports
Markdown
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