Download presentation
Presentation is loading. Please wait.
Published byArabella Randall Modified over 9 years ago
1
XDS Testing for new Connectathon monitors Bill Majurski NIST
2
Outline XDS Overview Detailed review of one validation Tour of rest of tools
3
XDS Actor/Transaction Diagram
4
Points of view Submission Query/Retrieve
5
Submission
6
Actors – Document Source Has document to submit Composes metadata to describe Submits to Document Repository for retention – Using a Provide and Register Transaction
7
Actor - Document Repository Accepts document and metadata Validates or adds size and hash attributes to metadata (describing document) Adds repositoryUniqueId to metadata (identify Repository holding document) Persist document contents (for later retrieval) Forward updated metadata to Document Registry in Register Transaction
8
Actor – Document Registry Accepts metadata describing documents Persists metadata
9
Query/Retrieve All actions initiated by Document Consumer Actor Repository and Registry are infrastructure actors (they are primarily servers)
10
Stored Query Sent to Registry Request contains parameters describing objects in the registry Two return types may be requested – LeafClass – full metadata of selected objects is returned (can be quite big) – ObjectRef – simple ID returned for each object. Allows secondary queries to pull detail XML metadata
11
Retrieve Sent to Repository to get contents of document(s) Two parameters needed from registry – repositoryUniqueId (which repository) – Document.uniqueId (which document in repository)
12
Metadata Objects Moved between actors Stored in Registry
13
Submission Set Each submission must be ‘wrapped’ in a SubmissionSet object (no actual encapsulation – more of a metaphor) Describes circumstances of submission.
14
DocumentEntry For each document in a Provide and Register transaction, the metadata must contain a DocumentEntry describing the document Part of SubmissionSet – linked by an Association
15
Associations Many types HasMember type is used to link SubmissionSet to DocumentEntry – The DocumentEntry is a “member” of the SubmissionSet
16
Using Toolkit at Connectathon http://nist1/xdstools2 – Your URL may vary depending on your network settings. More generally, my Connectathon home page is found at http://nist1 - contains links to other things the vendors needhttp://nist1
17
Home Page
18
Connectathon Tools
20
Vendor Submission
21
Validation
22
How Test instance in Gazelle has chat window Last entry should look like: – SSID 1.2.56543.6694847.74848.2 This is the SubmissionSet.uniqueId attribute Copy it and paste it into …
23
Specialized Tool
24
Status part 1 Status: Success Using TLS Not using SAML Site: pub Parameters:...$uid$: 1.42.20140121120356.3 Starting
25
Status part 2 ------------------------------------------------------------------------------------------------ Test: SourceStoresDocumentValidation ------------------------------------------------------------------------------------------------ Section: SourceStoresDocumentValidation/query Step: query Endpoint: https://ihexds.nist.gov:12081/tf6/services/xdsregistryb Goals:...Given SubmissionSet UniqueId provided by Document Source......Send GetSubmissionSetAndContents query to Registry......Verify SubmissionSet, DocumentEntry, and a HasMember Assocation returned......Verify these elements are properly connected......Verify the RegistryResponse message passes XML Schema validation......Verify the returned metadata validates against XDS rules and Affinity Domain configuration Status: Pass Report: docuid = 1.42.20140121120356.2 Report: hash = 31e311402a7e717d1bede88df6b42c0b8e91ea91 Report: size = 1459 Report: repuid = 1.3.6.1.4.1.21367.2011.2.3.7 Report: mimetype = text/plain Report: SourceId = 1.3.6.1.4.1.21367.2.2 Report: $uid$ = 1.42.20140121120356.3 Contents Returned: 1 SubmissionSets 1 DocumentEntries 0 Folders 1 Associations 0 ObjectRefs
26
Status part 3 ------------------------------------------------------------------------------------------------ Section: SourceStoresDocumentValidation/retrieve Step: retrieve Endpoint: https://ihexds.nist.gov:12081/tf6/services/xdsrepositoryb Goals:...Retrieve the Document from the Repository...Verify the response message passes XML Schema validation...Verify the following aspects of the Document match the values recorded in metadata......Repository Unique ID......Document Hash......Document MimeType......Document size Status: Pass Report: $uid$ = 1.42.20140121120356.3 ------------------------------------------------------------------------------------------------ Finished
27
Tour…
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.