pact-foundation/pact_broker-client

Publish pact files with tags

Closed this issue · 13 comments

Hi,

I see some support in the pact broker client for reading pacts with tags, is there a task/option to publish tags to the broker?

Not yet, but it should be pretty easy to add it in. Happy to accept PRs.

It would need an extra tag or tags property here: https://github.com/bethesque/pact_broker-client/blob/master/lib/pact_broker/client/tasks/publication_task.rb and either pass in the tag, or have another TagPacts operation.

Thanks, I'm going down the separate rake task route. Will submit a PR when ready.

do we have a similar publishing mechanism for JVM (JUnit)?

@uglyog will know.

Publishing task in the JVM does not support tags

Thank you very much for quick response. I do see that PACT verification in JVM supports tag. Could you please let me know if there is any future plans to support it or any suggestion to develop it on our own?

Sorry @correctclick, I don't understand your question. @uglyog says that tags are not supported in the JVM task, but you say that it does?

Tags are supported for fetching pacts from the broker. The publish task does not support publishing a pact with a tag.

Ahh!!

@uglyog - Do you have any plan to include TAG in the Publishing task in the JVM ?

There are a long list of outstanding items to work on, so I can't really say.

This has been done for ages. Closing.