Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
07aa1d5f
Verified
Commit
07aa1d5f
authored
2 years ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Remove doi default
parent
a2659305
No related branches found
No related tags found
2 merge requests
!163
Relase 1.3.0
,
!159
Large update
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dbrepo-identifier-service/services/src/main/java/at/tuwien/config/GatewayConfig.java
+0
-21
0 additions, 21 deletions
...ervices/src/main/java/at/tuwien/config/GatewayConfig.java
with
0 additions
and
21 deletions
dbrepo-identifier-service/services/src/main/java/at/tuwien/config/GatewayConfig.java
+
0
−
21
View file @
07aa1d5f
...
@@ -19,18 +19,6 @@ public class GatewayConfig {
...
@@ -19,18 +19,6 @@ public class GatewayConfig {
@Value
(
"${spring.rabbitmq.password}"
)
@Value
(
"${spring.rabbitmq.password}"
)
private
String
brokerPassword
;
private
String
brokerPassword
;
@Value
(
"${fda.datacite.url}"
)
private
String
dataCiteUrl
;
@Value
(
"${fda.datacite.prefix}"
)
private
String
dataCitePrefix
;
@Value
(
"${fda.datacite.username}"
)
private
String
dataCiteUsername
;
@Value
(
"${fda.datacite.password}"
)
private
String
dataCitePassword
;
@Bean
(
"restTemplate"
)
@Bean
(
"restTemplate"
)
public
RestTemplate
restTemplate
()
{
public
RestTemplate
restTemplate
()
{
final
RestTemplate
restTemplate
=
new
RestTemplate
();
final
RestTemplate
restTemplate
=
new
RestTemplate
();
...
@@ -47,13 +35,4 @@ public class GatewayConfig {
...
@@ -47,13 +35,4 @@ public class GatewayConfig {
return
restTemplate
;
return
restTemplate
;
}
}
@Bean
(
"dataCiteRestTemplate"
)
public
RestTemplate
dataciteRestTemplate
()
{
final
RestTemplate
restTemplate
=
new
RestTemplate
();
restTemplate
.
setUriTemplateHandler
(
new
DefaultUriBuilderFactory
(
dataCiteUrl
));
restTemplate
.
getInterceptors
()
.
add
(
new
BasicAuthenticationInterceptor
(
dataCiteUsername
,
dataCitePassword
));
return
restTemplate
;
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment