Top Banner
XDS Testing for new Connectathon monitors Bill Majurski NIST
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: XDS Testing for new Connectathon monitors Bill Majurski NIST.

XDS Testing for new Connectathon monitors

Bill MajurskiNIST

Page 2: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Outline

• XDS Overview• Detailed review of one validation• Tour of rest of tools

Page 3: XDS Testing for new Connectathon monitors Bill Majurski NIST.

XDS Actor/Transaction Diagram

Page 4: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Points of view

• Submission• Query/Retrieve

Page 5: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Submission

Page 6: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Actors – Document Source

• Has document to submit• Composes metadata to describe• Submits to Document Repository for retention– Using a Provide and Register Transaction

Page 7: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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

Page 8: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Actor – Document Registry

• Accepts metadata describing documents• Persists metadata

Page 9: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Query/Retrieve

• All actions initiated by Document Consumer Actor

• Repository and Registry are infrastructure actors (they are primarily servers)

Page 10: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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

Page 11: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Retrieve

• Sent to Repository to get contents of document(s)

• Two parameters needed from registry– repositoryUniqueId (which repository)– Document.uniqueId (which document in

repository)

Page 12: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Metadata Objects

• Moved between actors• Stored in Registry

Page 13: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Submission Set

• Each submission must be ‘wrapped’ in a SubmissionSet object (no actual encapsulation – more of a metaphor)

• Describes circumstances of submission.

Page 14: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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

Page 15: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Associations

• Many types • HasMember type is used to link SubmissionSet

to DocumentEntry – The DocumentEntry is a “member” of the

SubmissionSet

Page 16: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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 need

Page 17: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Home Page

Page 18: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Connectathon Tools

Page 19: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Connectathon Tools

Page 20: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Vendor Submission

Page 21: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Validation

Page 22: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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 …

Page 23: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Specialized Tool

Page 24: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Status part 1

• Status: Success• Using TLS• Not using SAML• Site: pub• Parameters:• ...$uid$: 1.42.20140121120356.3• Starting

Page 25: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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• Report: $uid$ = 1.42.20140121120356.3• Contents Returned:• 1 SubmissionSets• 1 DocumentEntries• 0 Folders• 1 Associations• 0 ObjectRefs

Page 26: XDS Testing for new Connectathon monitors Bill Majurski NIST.

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• Report: $uid$ = 1.42.20140121120356.3• Report: $uid$ = 1.42.20140121120356.3• Report: $uid$ = 1.42.20140121120356.3• Report: $uid$ = 1.42.20140121120356.3• Report: $uid$ = 1.42.20140121120356.3• Report: $uid$ = 1.42.20140121120356.3• ------------------------------------------------------------------------------------------------• Finished

Page 27: XDS Testing for new Connectathon monitors Bill Majurski NIST.

Tour…