Presentation is loading. Please wait.

Presentation is loading. Please wait.

SRAMP-8 ZIP Publishing. Issue 8 – ZIP Publishing ZIP Publishing in the contributed documents needs to be reviewed and revisited. The basics of zip publishing.

Similar presentations


Presentation on theme: "SRAMP-8 ZIP Publishing. Issue 8 – ZIP Publishing ZIP Publishing in the contributed documents needs to be reviewed and revisited. The basics of zip publishing."— Presentation transcript:

1 SRAMP-8 ZIP Publishing

2 Issue 8 – ZIP Publishing ZIP Publishing in the contributed documents needs to be reviewed and revisited. The basics of zip publishing that are currently defined are a start, but this feature needs to be tightened up. The text of this needs clarification.

3 Issues File specification – Tightly bound to ZIP – Structure of the package Usecases to support – Upload new documents – Update documents – Get package with documents

4 File Specification Atom spec document was modified to be neutral to ZIP – S-RAMP package was used instead – s-ramp-atom-binding-v1.0-wd01-SRAMP-8.doc To resolve – Base it on ZIP or JAR? – MimeType of the S-RAMP package

5 ZIP or JAR JAR is based on ZIP and adds – Meta description – Signature Meta usage in S-RAMP – Capture compatibility of Specification Model Document type

6 Metadescription Provide new attributes to JAR’s Manifest file – S-RAMP-Package-Version Global, Single what package version is using – S-RAMP-Model Global, Multiple Specifies what models it requires – Issue: models has not Ids – Issue: UserDefinedModel is too generic to use here – S-RAMP-Document-Type File Specifies the content of the document based on the type

7 Metadescription (example) Manifest-Version: 1.0 Created-By: 1.2 (Sun Microsystems Inc.) Signature-Version: S-RAMP-Version: 1.0 S-RAMP-Model: Policy Model S-RAMP-Model: WsdlModel Name: wsdl/a.wsdl Content-Type: application/xml S-RAMP-Document-Type: wsdlDocument Name: data/b.xml Content-Type: application/xml S-RAMP-Document-Type: xmlDocument

8 Package Identification MimeType – Application/zip – Application/java-archive (not official) – Application/x-sramp-archive File Suffix – Zip? Jar? Sramp?

9 UC: Upload new documents Currently supported by the specification – Artifacts are created as new – The list of entries is returned back

10 UC: Update Documents Currently supported by the specification – Atom Meta files must be provided E.g., based on the return from the ‘new’ package upload

11 UC: Get Package with Documents Do we want to support it?

12 A.wsdl – Impor xsd/b.xsd Xsd/b.xsd ------- upload – wsdlDocument A.wsdl Uuid1 Relationship – import? uuid2 – xsdDocument B.xsd Uuid2 ----- get-package(uuid1) – A.wsdl Import xsd/b.xsd – A.wsdl.atom – B.xsd – B.xsd.atom


Download ppt "SRAMP-8 ZIP Publishing. Issue 8 – ZIP Publishing ZIP Publishing in the contributed documents needs to be reviewed and revisited. The basics of zip publishing."

Similar presentations


Ads by Google