Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+htp #18837 JSON framing and framed entity streaming directives #20778

Merged

Conversation

ktoso
Copy link
Member

@ktoso ktoso commented Jun 13, 2016

Revival of framed entity streaming.
Missing:

  • JavaDSL side
  • cleanup around the content type declaring marshallers

Resolves #18837 (honestly every HTTP demo I see wants this, also @RayRoestenburg's book 😉 )
Maybe this time it will get some review attention 😉

@akka-ci akka-ci added validating PR is currently being validated by Jenkins needs-attention Indicates a PR validation failure (set by CI infrastructure) and removed validating PR is currently being validated by Jenkins labels Jun 13, 2016
@akka-ci
Copy link

akka-ci commented Jun 13, 2016

Test FAILed.

}

/**
* Simple rendering mode, similar to [[Compact]] however interspersing elements with a `\n` character.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\n character?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\n makes it nicely formatted though

@patriknw
Copy link
Member

LGTM

@akka-ci akka-ci added validating PR is currently being validated by Jenkins needs-attention Indicates a PR validation failure (set by CI infrastructure) and removed needs-attention Indicates a PR validation failure (set by CI infrastructure) validating PR is currently being validated by Jenkins labels Jul 15, 2016
@akka-ci
Copy link

akka-ci commented Jul 15, 2016

Test FAILed.

@ktoso ktoso closed this Jul 18, 2016
@ktoso ktoso deleted the revival-of-the-undead-json-streaming-of-doom-ktoso branch July 18, 2016 12:32
@ktoso ktoso restored the revival-of-the-undead-json-streaming-of-doom-ktoso branch July 18, 2016 12:32
@ktoso ktoso reopened this Jul 19, 2016
@akka-ci akka-ci added validating PR is currently being validated by Jenkins needs-attention Indicates a PR validation failure (set by CI infrastructure) and removed needs-attention Indicates a PR validation failure (set by CI infrastructure) validating PR is currently being validated by Jenkins labels Jul 19, 2016
@akka-ci
Copy link

akka-ci commented Jul 19, 2016

Test FAILed.

@ktoso ktoso force-pushed the revival-of-the-undead-json-streaming-of-doom-ktoso branch from 39d6b17 to d2e47c0 Compare July 25, 2016 23:33
@akka-ci akka-ci added validating PR is currently being validated by Jenkins tested PR that was successfully built and tested by Jenkins and removed needs-attention Indicates a PR validation failure (set by CI infrastructure) validating PR is currently being validated by Jenkins labels Jul 25, 2016
@akka-ci
Copy link

akka-ci commented Jul 26, 2016

Test PASSed.

@ktoso
Copy link
Member Author

ktoso commented Jul 26, 2016

This is finally complete, including javadsl and documentation (after oh-so-many-years).
Please review @drewhk @2Beaucoup @johanandren, I'd love to see it in this release.

@akka-ci akka-ci removed the validating PR is currently being validated by Jenkins label Aug 2, 2016
@akka-ci
Copy link

akka-ci commented Aug 2, 2016

Test FAILed.

@akka-ci akka-ci added validating PR is currently being validated by Jenkins and removed needs-attention Indicates a PR validation failure (set by CI infrastructure) labels Aug 2, 2016
@ktoso
Copy link
Member Author

ktoso commented Aug 2, 2016

Very weird timeout... I blame jenkins :/
Killing jobs to make it build the latest one with bigger timeout now

@akka-ci akka-ci added needs-attention Indicates a PR validation failure (set by CI infrastructure) and removed validating PR is currently being validated by Jenkins labels Aug 2, 2016
@akka-ci
Copy link

akka-ci commented Aug 2, 2016

Test FAILed.

@akka-ci akka-ci added validating PR is currently being validated by Jenkins and removed needs-attention Indicates a PR validation failure (set by CI infrastructure) labels Aug 2, 2016
* This is achieved by applying the implicitly provided (in the following order):
*
* - 1st: [[FramingFlow]] in order to chunk-up the incoming [[ByteString]]s according to the
* `Content-Type` aware framing (for example, [[common.EntityStreamingSupport.bracketCountingJsonFraming]]).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bracketCountingJsonFraming?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, will fix :)

@akka-ci akka-ci added needs-attention Indicates a PR validation failure (set by CI infrastructure) and removed validating PR is currently being validated by Jenkins labels Aug 2, 2016
@akka-ci
Copy link

akka-ci commented Aug 2, 2016

Test FAILed.

@ktoso ktoso force-pushed the revival-of-the-undead-json-streaming-of-doom-ktoso branch from 5e50bde to da23f6d Compare August 2, 2016 13:57
@ktoso ktoso force-pushed the revival-of-the-undead-json-streaming-of-doom-ktoso branch from da23f6d to 8a1f8f2 Compare August 2, 2016 13:58
@ktoso
Copy link
Member Author

ktoso commented Aug 2, 2016

The only failures were in a specific JsonFraming spec - those were legitimate bugs in completion handline exposed only after the new Interpreter changes were merged.

No other test failures in sight.

I shall merge thee.

@ktoso ktoso merged commit a712f01 into akka:master Aug 2, 2016
@ktoso
Copy link
Member Author

ktoso commented Aug 2, 2016

Thanks everyone for the reviews.
This must have been the longest outstanding PR ever, took almost a full year year to finally get it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - pick next Used to mark issues which are next up in the queue to be worked on. The tag is non-binding needs-attention Indicates a PR validation failure (set by CI infrastructure)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants