Code Review
/
portal
/
ric-dashboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Pass thru error details from remote APIs
[portal/ric-dashboard.git]
/
webapp-backend
/
src
/
main
/
java
/
org
/
oransc
/
ric
/
portal
/
dashboard
/
config
/
XappManagerConfiguration.java
diff --git
a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/XappManagerConfiguration.java
b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/XappManagerConfiguration.java
index
7ecd95c
..
1b699de
100644
(file)
--- a/
webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/XappManagerConfiguration.java
+++ b/
webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/XappManagerConfiguration.java
@@
-50,7
+50,7
@@
public class XappManagerConfiguration {
@Autowired
public XappManagerConfiguration(@Value("${xappmgr.url}") final String url) throws MalformedURLException {
@Autowired
public XappManagerConfiguration(@Value("${xappmgr.url}") final String url) throws MalformedURLException {
- logger.info("Configuring xApp Manager at base
path
{}", url);
+ logger.info("Configuring xApp Manager at base
URL
{}", url);
new URL(url);
this.xappMgrUrl = url;
}
new URL(url);
this.xappMgrUrl = url;
}
@@
-65,7
+65,8
@@
public class XappManagerConfiguration {
* @return A HealthApi with an ApiClient configured from properties
*/
@Bean
* @return A HealthApi with an ApiClient configured from properties
*/
@Bean
- public HealthApi xappHealthApi() {
+ // The bean (method) name must be globally unique
+ public HealthApi xappMgrHealthApi() {
return new HealthApi(apiClient());
}
return new HealthApi(apiClient());
}
@@
-73,7
+74,8
@@
public class XappManagerConfiguration {
* @return An XappApi with an ApiClient configured from properties
*/
@Bean
* @return An XappApi with an ApiClient configured from properties
*/
@Bean
- public XappApi xappMgrApi() {
+ // The bean (method) name must be globally unique
+ public XappApi xappMgrXappApi() {
return new XappApi(apiClient());
}
}
return new XappApi(apiClient());
}
}