Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Digital Covid Certificate Validator
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gazelle
Applications
Test execution
Validator
Digital Covid Certificate Validator
Commits
685ea5f2
Commit
685ea5f2
authored
2 years ago
by
Alexandre Pocinho
Browse files
Options
Downloads
Patches
Plain Diff
[WHOBP-17] Change http to https
parent
f9081e51
No related branches found
No related tags found
1 merge request
!7
Release/1.2.1
Pipeline
#694154
passed
2 years ago
Stage: build
Stage: tests
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dcc-validator-core/src/main/java/net/ihe/gazelle/app/dccvalidator/application/DDCCValidatorConnector.java
+2
-2
2 additions, 2 deletions
.../app/dccvalidator/application/DDCCValidatorConnector.java
with
2 additions
and
2 deletions
dcc-validator-core/src/main/java/net/ihe/gazelle/app/dccvalidator/application/DDCCValidatorConnector.java
+
2
−
2
View file @
685ea5f2
...
...
@@ -33,7 +33,7 @@ import java.util.stream.Collectors;
public
class
DDCCValidatorConnector
extends
AbstractValidator
{
private
static
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
DDCCValidatorConnector
.
class
);
private
static
final
String
DDCC_VALIDATION_URL
=
"http://ddcc-validator.pathcheck.org/verify"
;
private
static
final
String
DDCC_VALIDATION_URL
=
"http
s
://ddcc-validator.pathcheck.org/verify"
;
private
static
final
String
DDCC_VALIDATION_TITLE
=
"QR Barcode Validation From DDCC Universal Verifier"
;
private
static
final
String
VERIFIED_STATUS
=
"VERIFIED"
;
private
static
final
String
DDCC_VALIDATION_STATUS_CONSTRAINT
=
"The DDCC Universal Verifier must return status : \"VERIFIED\""
;
...
...
@@ -81,7 +81,7 @@ public class DDCCValidatorConnector extends AbstractValidator{
}
private
String
getJSONReportFromDDCCValidationServer
(
byte
[]
object
){
try
(
CloseableHttpClient
httpclient
=
HttpClients
.
c
ustom
().
useSystemProperties
().
build
())
{
try
(
CloseableHttpClient
httpclient
=
HttpClients
.
c
reateDefault
())
{
JSONObject
jsonRequest
=
new
JSONObject
();
jsonRequest
.
put
(
"uri"
,
decodeFromByteArray
(
object
));
HttpPost
httppost
=
new
HttpPost
(
DDCC_VALIDATION_URL
);
...
...
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