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

Failed event is coming back base64 encoded #27

Closed
mark-parker opened this issue Nov 15, 2017 · 1 comment
Closed

Failed event is coming back base64 encoded #27

mark-parker opened this issue Nov 15, 2017 · 1 comment

Comments

@mark-parker
Copy link
Contributor

My config.yml handlers:

handlers:
completed:

  • type: gnatsd
    uri: "nats://events.service.owf-dev:4222"
    options:
    topic: deluxe.checksum.checksums.status
    transform: ["json"]
    body: ${Data|json}
    failed:
  • type: gnatsd
    uri: "nats://events.service.owf-dev:4222"
    options:
    topic: deluxe.checksum.checksums.status
    transform: ["json"]
    body: ${Stderr|json}"

Nats message returned:
"ewogICJpZCI6ICJmZWRlNjVmOC0xNzgxLTQxMjItYjA3OS0wM2Q1OTMyNTBiNjAiLAogICJwYXJlbnRpZCI6IG51bGwsCiAgInNvdXJjZSI6ICJNZWRpYUluZm8iLAogICJzdWJqZWN0IjogImRlbHV4ZS5tZWRpYWluZm8uaW5mby5zdGF0dXMiLAogICJuYW1lIjogImRlbHV4ZS5tZWRpYWluZm8uaW5mby5zdGF0dXMiLAogICJ2ZXJzaW9uIjogIjAuMC4xIiwKICAidGltZXN0YW1wIjogIjIwMTctMTEtMTVUMDE6MzE6NTJaIiwKICAidXJucyI6IFsKICAgICJkZWx1eGU6Y29uZHVjdG9yOndvcmtmbG93Onh5ejMyMSIKICBdLAogICJ0YWdzIjogbnVsbCwKICAicHJvZ3Jlc3MiOiBudWxsLAogICJzdGF0dXMiOiB7CiAgICAiTmFtZSI6ICJmYWlsZWQiLAogICAgIlJlYXNvbiI6ICJEZWx1eGUuRG90TmV0Q29yZS5NdmMuVXRpbGl0aWVzLkdsb2JhbEV4Y2VwdGlvbkZpbHRlci5BcGlFeGNlcHRpb246IFBhdGggZG9lcyBub3QgZXhpc3Q6ICAvZGF0YS9tb3ZpZS50czFcbiAgIGF0IERlbHV4ZS5Eb3ROZXRDb3JlLk1lZGlhSW5mby5Nb2RlbHMuTWVkaWFJbmZvV3JhcHBlci5HZXRNZWRpYUluZm8oU3RyaW5nIGFic29sdXRlUGF0aCwgQm9vbGVhbiBmdWxsUGFyc2UpXG4gICBhdCBNZWRpYUluZm8uV2ViQXBpLkNMSS5CYXRjaENvbW1hbmRQcm9jZXNzb3IuUnVuKCkgaW4gL21lZGlhaW5mby9NZWRpYUluZm8vTWVkaWFJbmZvLldlYkFwaS9DTEkvQmF0Y2hDb21tYW5kUHJvY2Vzc29yLmNzOmxpbmUgMzAiCiAgfSwKICAiZGF0YSI6IHsKICAgICJtZWRpYWluZm8iOiBudWxsLAogICAgIm1lZGlhaW5mb2NvbXBsZXRlIjogbnVsbCwKICAgICJ2ZXJzaW9uIjogIjAuMC4xIiwKICAgICJhcHB2ZXJzaW9uIjogbnVsbCwKICAgICJqb2JpZCI6IG51bGwKICB9Cn0="

@mark-parker
Copy link
Contributor Author

Fixed with pr #28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant