Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
http-validator-validation-profiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
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
http-validator-validation-profiles
Commits
ce1eaff0
Commit
ce1eaff0
authored
2 years ago
by
Vincent Hofman
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
b4ad2d65
No related branches found
No related tags found
1 merge request
!31
X v hofma master patch 20434
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
IHE Validation profiles/IUA/IUA_ITI71_POST_Response_Validation_Profile.json
+117
-0
117 additions, 0 deletions
...files/IUA/IUA_ITI71_POST_Response_Validation_Profile.json
with
117 additions
and
0 deletions
IHE Validation profiles/IUA/IUA_ITI71_POST_Response_Validation_Profile.json
0 → 100644
+
117
−
0
View file @
ce1eaff0
{
"profileType"
:
"HTTPRESPONSE"
,
"id"
:
"IUA_ITI71_POST_Response_Validation_Profile"
,
"name"
:
"ITI-71_HttpPOST_Response"
,
"description"
:
"Validation Profile for validating an ITI-71 Post HTTP Response"
,
"context"
:
"IHE"
,
"assertions"
:
[
{
"selector"
:
"response.version"
,
"id"
:
"ITI71-035_HTTP1VersionChecking"
,
"description"
:
"Assertion for the HTTP version checking"
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"FIXEDVALUE"
,
"fixedValue"
:
"HTTP/1.1"
}
]
},
{
"selector"
:
"response.statusCode"
,
"id"
:
"ITI71-035_HTTPStatusCodeChecking"
,
"description"
:
"Http Status code shall be 200."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"FIXEDVALUE"
,
"fixedValue"
:
"200"
}
]
},
{
"selector"
:
"response.headers('Content-Type').values"
,
"id"
:
"ITI71-035_content-type_parameter_presence"
,
"description"
:
"One and only one Content-Type parameter is required."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"OCCURRENCE"
,
"minOccurrence"
:
1
,
"maxOccurrence"
:
1
}
]
},
{
"selector"
:
"response.headers('Content-Type').values"
,
"id"
:
"ITI71-035_content-type_parameter_value"
,
"description"
:
"Content-Type parameter's value SHALL be application/json."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"FIXEDVALUE"
,
"fixedValue"
:
"application/json"
}
]
},
{
"selector"
:
"response.headers('Cache-Control').values"
,
"id"
:
"ITI71-037_Cache-Control_parameter_presence"
,
"description"
:
"One and only one Cache-Control parameter is required."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"OCCURRENCE"
,
"minOccurrence"
:
1
,
"maxOccurrence"
:
1
}
]
},
{
"selector"
:
"response.headers('Cache-Control').values"
,
"id"
:
"ITI71-037_Cache-Control_parameter_value"
,
"description"
:
"Cache-Control parameter's value SHALL be no-store."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"FIXEDVALUE"
,
"fixedValue"
:
"no-store"
}
]
},
{
"selector"
:
"response.headers('Pragma').values"
,
"id"
:
"ITI71-037_Pragma_parameter_presence"
,
"description"
:
"One and only one Pragma parameter is required."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"OCCURRENCE"
,
"minOccurrence"
:
1
,
"maxOccurrence"
:
1
}
]
},
{
"selector"
:
"response.headers('Pragma').values"
,
"id"
:
"ITI71-037_Pragma_parameter_value"
,
"description"
:
"Pragma parameter's value SHALL be no-cache."
,
"requirementPriority"
:
"MANDATORY"
,
"checksComposition"
:
"oneOf"
,
"checks"
:
[
{
"type"
:
"FIXEDVALUE"
,
"fixedValue"
:
"no-cache"
}
]
}
]
}
\ No newline at end of file
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