Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Enrichment
wks
Commits
73c08e55
Commit
73c08e55
authored
Feb 07, 2021
by
harshit aggarwal
Browse files
Adding more descriptive logs
parent
524a1d46
Pipeline
#25147
passed with stages
in 24 minutes and 39 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
devops/azure/chart/helm-config.yaml
View file @
73c08e55
...
...
@@ -6,7 +6,7 @@
global
:
# Service(s) Replica Count
replicaCount
:
1
replicaCount
:
1
6
azure
:
servicebusSubscription
:
eg_sb_wkssubscription
...
...
devops/azure/chart/templates/deployment.yaml
View file @
73c08e55
...
...
@@ -113,4 +113,4 @@ spec:
-
name
:
executor_n_threads
value
:
"
64"
-
name
:
max_lock_renew_duration_seconds
value
:
"
1000"
\ No newline at end of file
value
:
"
2000"
\ No newline at end of file
wks-core/src/main/java/org/opengroup/osdu/wks/service/WKSServiceImpl.java
View file @
73c08e55
...
...
@@ -211,7 +211,15 @@ public class WKSServiceImpl implements WKSService {
}
try
{
LOGGER
.
info
(
"Querying storage in a batch of size {} for Raw records with ids {}"
,
batch
.
length
,
ids
);
Records
records
=
storageService
.
getRecordBatch
(
ids
);
if
(
records
.
getRecords
().
size
()
==
ids
.
size
())
{
LOGGER
.
info
(
"Successfully fetched all {} raw records from storage"
,
records
.
getRecords
().
size
());
}
else
{
LOGGER
.
info
(
"Unable to fetch {} raw records with ids {}"
,
records
.
getNotFound
().
size
(),
records
.
getNotFound
());
}
for
(
Records
.
Entity
rawRecord
:
records
.
getRecords
())
{
rawRecords
.
put
(
rawRecord
.
getId
(),
convertJsonStringToTree
(
this
.
gson
.
toJson
(
rawRecord
)));
}
...
...
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