Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MamboArchivingGUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Tango controls archiving
MamboArchivingGUI
Commits
811029ad
Commit
811029ad
authored
10 months ago
by
Raphael GIRARDOT
Browse files
Options
Downloads
Patches
Plain Diff
TTS connexion information logs reviewed (
TANGOARCH-888
)
parent
ee5ff75a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/fr/soleil/mambo/api/ApiConstants.java
+2
-0
2 additions, 0 deletions
src/main/java/fr/soleil/mambo/api/ApiConstants.java
src/main/java/fr/soleil/mambo/datasources/db/DbConnectionManager.java
+2
-4
2 additions, 4 deletions
...a/fr/soleil/mambo/datasources/db/DbConnectionManager.java
with
4 additions
and
4 deletions
src/main/java/fr/soleil/mambo/api/ApiConstants.java
+
2
−
0
View file @
811029ad
...
@@ -7,6 +7,8 @@ public interface ApiConstants {
...
@@ -7,6 +7,8 @@ public interface ApiConstants {
public
static
final
String
TDB
=
"TDB"
;
public
static
final
String
TDB
=
"TDB"
;
public
static
final
String
TTS
=
"TTS"
;
public
static
final
String
TTS
=
"TTS"
;
public
static
final
String
TTS_DEVICE_CLASS
=
"TimeseriesArchiver"
;
public
static
final
String
TTS_DEVICE_CLASS
=
"TimeseriesArchiver"
;
public
static
final
String
PORT
=
"Port"
;
public
static
final
String
DEFAULT
=
"default one"
;
// ///////////////////////////////////////// //
// ///////////////////////////////////////// //
// Java properties and environment variables //
// Java properties and environment variables //
...
...
This diff is collapsed.
Click to expand it.
src/main/java/fr/soleil/mambo/datasources/db/DbConnectionManager.java
+
2
−
4
View file @
811029ad
...
@@ -66,14 +66,12 @@ public class DbConnectionManager implements ApiConstants {
...
@@ -66,14 +66,12 @@ public class DbConnectionManager implements ApiConstants {
StringBuilder
builder
=
new
StringBuilder
(
TTS
);
StringBuilder
builder
=
new
StringBuilder
(
TTS
);
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_HOST
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_HOST
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
.
append
(
params
.
getHost
());
.
append
(
params
.
getHost
());
builder
.
append
(
'\n'
).
append
(
PORT
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
.
append
(
ApiUtils
.
getProperty
(
TTS_PORT_PROPERTY
,
TTS_PORT_ENV
,
DEFAULT
));
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_NAME
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_NAME
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
.
append
(
params
.
getName
());
.
append
(
params
.
getName
());
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_SCHEMA
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
.
append
(
params
.
getSchema
());
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_USER
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_USER
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
.
append
(
params
.
getUser
());
.
append
(
params
.
getUser
());
builder
.
append
(
'\n'
).
append
(
DbConnectionInfo
.
DB_PASSWORD
).
append
(
IConfiguration
.
DISPAY_SEPARATOR
)
.
append
(
params
.
getPassword
());
Logger
tmp
=
LoggerFactory
.
getLogger
(
HdbTdbConnectionParameters
.
class
);
Logger
tmp
=
LoggerFactory
.
getLogger
(
HdbTdbConnectionParameters
.
class
);
if
(
tmp
.
isInfoEnabled
()
&&
!
LOGGER
.
isInfoEnabled
())
{
if
(
tmp
.
isInfoEnabled
()
&&
!
LOGGER
.
isInfoEnabled
())
{
tmp
.
info
(
builder
.
toString
());
tmp
.
info
(
builder
.
toString
());
...
...
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