Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FIT-Connect-SDK - Java
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
FIT-Connect-SDK - Java
Commits
d2de8f6c
Commit
d2de8f6c
authored
2 years ago
by
Henry Borasch
Browse files
Options
Downloads
Patches
Plain Diff
fixed copy-and-paste error
parent
7dd39876
No related branches found
No related tags found
2 merge requests
!139
928 - Validate Submission Data
,
!128
Add Schema URI via Builder, check against existing destinations
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/src/main/java/dev/fitko/fitconnect/client/SubscriberClient.java
+1
-1
1 addition, 1 deletion
...in/java/dev/fitko/fitconnect/client/SubscriberClient.java
with
1 addition
and
1 deletion
client/src/main/java/dev/fitko/fitconnect/client/SubscriberClient.java
+
1
−
1
View file @
d2de8f6c
...
...
@@ -122,7 +122,7 @@ public class SubscriberClient {
final
ValidationResult
dataSchemaValidation
=
subscriber
.
validateSubmissionDataSchema
(
new
String
(
decryptedData
,
StandardCharset
.
UTF_8
),
metadata
.
getContentStructure
().
getData
().
getSubmissionSchema
().
getSchemaUri
());
if
(
dataSchemaValidation
.
hasError
())
{
LOGGER
.
error
(
"Submission data does not match the provided schema"
,
data
Hash
Validation
.
getError
());
LOGGER
.
error
(
"Submission data does not match the provided schema"
,
data
Schema
Validation
.
getError
());
return
null
;
}
...
...
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