SRAMP-8 ZIP Publishing. Issue 8 – ZIP Publishing ZIP Publishing in the contributed documents needs...
-
Upload
laurel-palmer -
Category
Documents
-
view
215 -
download
1
Transcript of SRAMP-8 ZIP Publishing. Issue 8 – ZIP Publishing ZIP Publishing in the contributed documents needs...
![Page 1: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/1.jpg)
SRAMP-8ZIP Publishing
![Page 2: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/2.jpg)
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.
![Page 3: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/3.jpg)
Issues
• File specification– Tightly bound to ZIP– Structure of the package
• Usecases to support– Upload new documents– Update documents– Get package with documents
![Page 4: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/4.jpg)
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
![Page 5: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/5.jpg)
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
![Page 6: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/6.jpg)
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
![Page 7: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/7.jpg)
Metadescription (example)Manifest-Version: 1.0Created-By: 1.2 (Sun Microsystems Inc.) Signature-Version:S-RAMP-Version: 1.0S-RAMP-Model: Policy ModelS-RAMP-Model: WsdlModel Name: wsdl/a.wsdlContent-Type: application/xmlS-RAMP-Document-Type: wsdlDocument Name: data/b.xmlContent-Type: application/xmlS-RAMP-Document-Type: xmlDocument
![Page 8: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/8.jpg)
Package Identification
• MimeType– Application/zip– Application/java-archive (not official)– Application/x-sramp-archive
• File Suffix– Zip? Jar? Sramp?
![Page 9: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/9.jpg)
UC: Upload new documents
• Currently supported by the specification– Artifacts are created as new– The list of entries is returned back
![Page 10: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/10.jpg)
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
![Page 11: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/11.jpg)
UC: Get Package with Documents
• Do we want to support it?
![Page 12: 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.](https://reader036.fdocuments.in/reader036/viewer/2022082820/56649f1f5503460f94c374eb/html5/thumbnails/12.jpg)
• 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