sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (SLING-7364) Transport DistributionPackageInfo as Http headers
Date Tue, 16 Jan 2018 10:31:00 GMT


ASF GitHub Bot commented on SLING-7364:

Buuhuu opened a new pull request #6: SLING-7364: optionally omit package metadata header
   This change includes a configuration about including the package metadata header in the
packages binary stream or not (defaults to true, to be downwards compatible). It only applies
for the DistributionPackageBuilderFactory **not** for the vlt one, as I assume vlt most likely
makes only sense when integrating sling-sling.
   I also moved all the constants used for DistributionPackage.getInfo() as final static fields
to the DistributionPackageInfo.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Transport DistributionPackageInfo as Http headers
> -------------------------------------------------
>                 Key: SLING-7364
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>    Affects Versions: Content Distribution Core 0.2.10
>            Reporter: Dirk Rudolph
>            Priority: Minor
> Currently DistributionPackages are sent over wire including there info as headers in
the binary stream. In SLING-7357 I proposed that its the responsibility of the serializer
to specify which kind of content it is serializing. Unfortunately as SimpleHttpDistributionTransport
prepends the DistributionPackageInfo the content is not of the content type serialized anymore
and the consumer side has to first read the package info before the actual content can be
> For example in my demo to integrate SCD with solr I had to write a custom UpdateRequestHandler
to be able to parse the json I'm sending to solr with SCD:
> If possible it would be nice to have those info transmitted using http headers, which
would allow to integrate into other systems as they are.

This message was sent by Atlassian JIRA

View raw message