matt.fellows
2018-05-11 08:44
has joined #documentation

bethskurrie
2018-05-11 08:44
has joined #documentation

uglyog
2018-05-11 08:44
has joined #documentation

tjones
2018-05-15 01:05
has joined #documentation

mboudreau
2018-05-20 23:48
has joined #documentation

bethskurrie
2018-05-24 08:49
@tjones I want to add this to the docs. I'm not sure which section to put it in though. Thoughts?


gnewitt
2018-05-29 22:49
has joined #documentation

uglyog
2018-06-02 03:47
@bethskurrie @tjones This issue was raised https://github.com/DiUS/pact-jvm/issues/691 because it is not clear that the descriptions+states need to be unique. Do we have this documented anywhere?

matt.fellows
2018-06-02 04:09
The Ruby mock service fails in this case, instead of silently failing

matt.fellows
2018-06-02 04:11
It could be documented, but it's one of those things that's probably not front page material

uglyog
2018-06-02 04:11
The issue is between tests, so I assume test B will overwrite the interaction from test A?

matt.fellows
2018-06-02 04:12
Ah. You have to explicitly configure that situation otherwise it errors

matt.fellows
2018-06-02 04:13
But it's a common issue, particularly for testing error scenarios. The description might be the same but trying to get an error code

uglyog
2018-06-02 04:16
The requirement is by design, but I don't think we documented it anywhere

bethskurrie
2018-06-02 04:58
It's not documented, but yes, if you try to make an interaction with the same provider state and description, but with a different request or response, the ruby mock raises an error telling you to change the state or desc

bethskurrie
2018-06-02 04:58
If it's identical, it's just discarded.

bethskurrie
2018-06-02 04:59
I'm not sure where we'd document it. Maybe in a list of mock service behaviours in the pact spec project?

uglyog
2018-06-02 04:59
A quick search did not turn up anything, so I think it is only documented in the code :smile:

hstene
2018-06-02 13:09
has joined #documentation

dervis4
2018-06-07 08:27
has joined #documentation

gonzalogarcia243
2018-06-08 14:59
has joined #documentation

matt
2018-06-11 01:42
has joined #documentation

tjones
2018-06-17 23:46
I think we should definitely document that. I remember being surprised by it

tjones
2018-06-17 23:56
Sorry @bethskurrie - I only just saw your question. I commented on the gist

tjones
2018-06-17 23:58
I might have misunderstood something, but it felt to me like the proposed strategies go against the guidelines in the "contract tests are not functional tests" document

bethskurrie
2018-06-18 00:09
Yes, they do.

bethskurrie
2018-06-18 00:09
That's why the first option is to echo the params. The second option is only when that can't be done. I thought I put something in about "this is not the way you should usually do it, but if there's no other way, then do it this way."

bethskurrie
2018-06-18 00:11
Oh, sorry @tjones I was thinking about a different gist.

bethskurrie
2018-06-18 00:13
> Wouldn't it be better to use the Pact state change to stub the B controller? Yeah... you'd then need to make sure that you had something that linked the B controller to the CClient.

bethskurrie
2018-06-18 00:14
You suggest that the pact tests could cover the C Service, but that could involved multiple calls to the C API, and other business logic that is not related to the C API.

tjones
2018-06-18 04:12
Perhaps what I'm calling the controller is really the service, then?

tjones
2018-06-18 04:12
The part I'm thinking to be covered by the pact tests doesn't contain any business logic

bethskurrie
2018-06-18 04:31
To me, the controller is the part that is responsible for receiving the http requests, invoking the appropriate services calls, and rendering the responses. As little business logic as possible would be in those. I think it depends on your system where it's best to stub the service or the client out.

bethskurrie
2018-06-18 04:31
In the past, I've been working with microservices, and it was easier to just set up the right data in the database and let the entire stack execute. That wouldn't be the case in every system.

bethskurrie
2018-06-18 04:32
Which ever way you do it though, you want to have contracts that link each chain together.

tjones
2018-06-18 04:56
Right, yes. Letting the entire stack execute is what @abubics and I did at SEEK too (well, nearly. We stubbed the database)

tjones
2018-06-18 04:56
I thought this was a bit of a misuse, as the pact tests then happened to also be testing functionality

bethskurrie
2018-06-18 06:28
I don't think there's an inherent problem with pact tests executing "functionality" - just that the consumer developer should not be trying to assert functional behaviour via a contract test.

hstene
2018-06-18 06:41
Could not agree more

bethskurrie
2018-06-18 06:43
Perhaps we should update the documentation to clarify this distinction @tjones

tjones
2018-06-19 00:13
I don't know what channel this should go in - but since there are clear guidelines on version numbers, I wonder if we should ship helpers to set/pick up those numbers depending on the ecosystem?

bethskurrie
2018-06-19 07:06
Git or svn you mean?

bethskurrie
2018-06-19 07:07
Or Travis/Jenkins etc

ragarwal
2018-06-22 03:49
has joined #documentation

can
2018-07-02 12:04
has joined #documentation

elliot.chen7
2018-07-03 22:05
has joined #documentation

bethskurrie
2018-07-04 22:12
@tjones where should "this guide" point to in the last paragraph of https://docs.pact.io/#next-steps

bethskurrie
2018-07-04 22:12
Is that the pact nirvana doc?

liran.tal
2018-07-05 05:23
has joined #documentation

liran.tal
2018-07-05 05:31
the newly updated documentation on http://docs.pact.io is :ok_hand:

bethskurrie
2018-07-05 05:31
@tjones has done some awesome work on the content. And I think @matt.fellows updated the gitbook.

liran.tal
2018-07-05 05:36
yeah it?s really awesome

liran.tal
2018-07-05 05:36
I also see some new stuff like `can-i-deploy` which I don?t remember seeing last yera

liran.tal
2018-07-05 05:36
*year

bethskurrie
2018-07-05 05:40
Yup, that's new. And awesome.

bethskurrie
2018-07-05 05:41
Did we have pact status badges for readmes last time you looked?

liran.tal
2018-07-05 05:45
you didn?t

liran.tal
2018-07-05 05:46
it exists now??

bethskurrie
2018-07-05 05:48
yup


liran.tal
2018-07-05 05:49
ah! incredible

tjones
2018-07-05 05:53
Ah, that was the "contract tests are not functional tests" document. I've fixed the link - it broke when the best practices were split into consumer/provider. I wonder if we can add a build test that looks for broken links?

tjones
2018-07-05 05:54
Also, I don't know why I linked to that document?


bethskurrie
2018-07-05 05:54
No, diff doc I think.

tjones
2018-07-05 05:55
I think I was planning to write a "here's how pact fits in your CI" document

tjones
2018-07-05 05:55
but there were so many "it depends" answers, that writing the document seemed really hard

bethskurrie
2018-07-05 05:56
Indeed.

tjones
2018-07-05 05:56
I reckon I linked to the not-functional-tests document by mistake. The pact nirvana doc would be a good alternative.

tjones
2018-07-05 05:57
Did we publish the pact nirvana doc yet? If not I might just remove the sentence for now

tjones
2018-07-05 05:57
It's neat that gitbooks ignores broken links, so the reader never sees them.

tjones
2018-07-05 05:57
Since it knows, I wonder if we can get it to "fail" the build or something

matt.fellows
2018-07-05 05:58
We're terrible at marketing

bethskurrie
2018-07-05 05:58
Yes. It's not super pretty, but it's on the web.


tjones
2018-07-05 06:02
It's got the right information in it, but I don't think it's a good target for that link text.

tjones
2018-07-05 06:02
But I think we should still link to it - perhaps from the best practices section?

tjones
2018-07-05 06:03
It might be another section: Best practices: - Consumer - Provider - Getting the whole team to Pact Nirvana

tjones
2018-07-06 00:47
So I just realised that the change I made yesterday was to the wrong branch (test, rather than documentation)

tjones
2018-07-06 00:47
looks like the default branch for the github repo is still test - we should probably change this?

bethskurrie
2018-07-06 00:47
yeah. Someone renamed it.

bethskurrie
2018-07-06 00:47
Without understanding the consequences.

uglyog
2018-07-06 00:47
oh, yeah, I say that once each year

bethskurrie
2018-07-06 00:47
If we can change it, then yes.

bethskurrie
2018-07-06 00:48
Is that a UI thing?

tjones
2018-07-06 00:48
We can change it in the UI (which I have open)

uglyog
2018-07-06 00:48
No, it's some config thing somewhere

bethskurrie
2018-07-06 00:48
:thumbsup::skin-tone-3:

tjones
2018-07-06 00:48
but there's a warning "this may have unintended consequences"

tjones
2018-07-06 00:48
so I thought I'd better ask first :wink:

uglyog
2018-07-06 00:48
If you can get it to work, go ahead

uglyog
2018-07-06 00:49
Just don't delete the test branch :smile:

tjones
2018-07-06 00:49
the docs are now built from "documentation", rather than test

tjones
2018-07-06 00:49
so I don't think having test as the default branch is right any more

tjones
2018-07-06 00:49
Also: does anyone know where the gitbook build is done?

uglyog
2018-07-06 00:49
It was never _right_, just the way it ended up

tjones
2018-07-06 00:49
because we can get that to check for broken links

tjones
2018-07-06 00:50
with a little bit of script that looks at the build log

tjones
2018-07-06 00:51
Also, @bethskurrie, I really like the change you did yesterday. It's better than mine.

tjones
2018-07-06 00:52
Finally, somehow the "introduction" page isn't shown in the table of contents on the left any more

tjones
2018-07-06 00:53
I'm not sure how this happened, but it might be to do with upgrading the gitbook version

tjones
2018-07-06 00:56
I'll put it back in the summary file.

tjones
2018-07-06 00:56
I've changed the default branch. Should be ok, because there are no open PRs.

uglyog
2018-07-06 00:57
Only taken about 3 years!

matt.fellows
2018-07-06 00:59
In... GitBook

matt.fellows
2018-07-06 00:59
It does it automatically on push

tjones
2018-07-06 00:59
Ah. Damn.

tjones
2018-07-06 00:59
Maybe we can set up a Travis job or something to check for broken links?

matt.fellows
2018-07-06 01:02
It's a good idea. If we use a PR process that would be useful

bethskurrie
2018-07-06 05:15
It does go into a "both teams need to cooperate over this" bucket.

liran.tal
2018-07-07 15:33
in `https://github.com/pact-foundation/pact_broker/wiki/Overview` the first bullet `The consumer CI build generates the pacts during test execution, and then publishes the generated pacts.` should maybe recommend that the pact should generate during a unit or integration test (and not E2E tests)

bethskurrie
2018-07-08 02:14
@liran.tal how about "* The consumer CI build generates the pacts during execution of its isolated tests, and then publishes the generated pacts."


bethskurrie
2018-07-09 02:11
I think I've fixed it

tjones
2018-07-09 04:38
I think that might just be because it seems like I am bad at links :confused:

bethskurrie
2018-07-09 05:37
We can't all be good at everything :stuck_out_tongue:

matt.fellows
2018-07-09 07:27
But _one_ of us can be :laughing:

mboudreau
2018-07-09 07:29
aww, thanks matt :smile:

bethskurrie
2018-07-09 08:47
Ha!

liran.tal
2018-07-13 08:33
sounds good :+1:

arne.zelasko
2018-07-24 07:06
has joined #documentation

iain.olliver
2018-07-24 10:49
has joined #documentation

liran.tal
2018-08-05 18:39
``` If you use pact for your UI tests, you'll end up with an explosion of redundant interactions that will make the verification process tedious ``` ref: https://docs.pact.io/getting_started can you explain what do you mean using pact for UI tests? do you mean here the use of a pact mock server running in an E2E setup for UI?

bethskurrie
2018-08-05 23:11
@liran.tal yes

sgarvey
2018-08-06 11:23
has joined #documentation

tcanascimento
2018-08-07 14:28
has joined #documentation

liran.tal
2018-08-07 19:29
so @bethskurrie does it mean you recommend that in a CI environment where an E2E test is run to have the actual backend running for the frontend? if so, wouldn?t that somewhat conflict with evangelising CDC to the point where we say it is great to also use it not just for microservices testing but also for frontend-to-backend testing? or, that argument still holds but in a lesser strict way in terms of - the UI will still use the CDC pattern for its unit/integration test of the backend API contract but in E2E we will have a real backend running because there?s a more ?tight coupling? between a frontend and a backend?

bethskurrie
2018-08-07 22:07
> does it mean you recommend that in a CI environment where an E2E test is run to have the actual backend running for the frontend? I would recommend using the Pact stub server using a pact generated from my unit tests.

bethskurrie
2018-08-07 22:08
I would also not recommend doing too many frontend-to-backend tests.

bethskurrie
2018-08-07 22:09
As many as possible of the UI tests should be isolated tests.

bethskurrie
2018-08-07 22:13
I guess I wouldn't say as an absolute to *never* use pact for frontend-to-backend, but I would use it very sparingly if I did, and ensure the bulk of pact tests were unit tests (eg. handling error scenarios, different http codes, different combinations of data - you don't want to test all of those through the UI because they cover a LOT of code)

antonios.klimis
2018-08-08 09:46
has joined #documentation

kurst03
2018-08-09 00:29
has joined #documentation

mbudde
2018-08-09 08:47
has joined #documentation

codypumper
2018-08-09 20:19
has joined #documentation

nathanrobert.smith
2018-08-15 17:32
has joined #documentation

komalahluwalia06
2018-08-23 07:23
has joined #documentation

rsaccoll
2018-08-27 13:27
has joined #documentation

tjones
2018-09-13 07:12
So, some of the concepts on http://pact.io are assisted by code examples (which is a good thing). However, these code examples are all in Ruby. It'd be cool if we used something like this to allow people to see examples in different languages: https://github.com/GitbookIO/plugin-codetabs

matt.fellows
2018-09-13 11:06
This looks awesome! Didn't know it existed but there's a discussion somewhere where we all agreed we wanted it

tjones
2018-09-14 00:21
Cool!

tjones
2018-09-14 00:22
Also, I've been thinking about the need for a recipes section, with common setups

tjones
2018-09-14 00:23
we could include things like "how to do provider tests with AWS API Gateway" and common questions like "what if you want to test a contract that has several requests that rely on each other"

tjones
2018-09-14 00:23
"setting up tags on feature branches"

tjones
2018-09-14 00:23
etc etc

tjones
2018-09-14 00:25
Somewhat related, I just talked to the team at nib, and they were saying they had frustrations with broken builds when they were making breaking changes in currently unreleased code

tjones
2018-09-14 00:26
I think there's a difference in ideal setups between using CI + CD, and using just CI

tjones
2018-09-14 00:26
which could go in the recipes section

tjones
2018-09-14 00:27
Has there been talk of directly integrating with build systems before? Some build systems allow yellow builds, which might be a good solution for broken pacts with feature tags

tjones
2018-09-14 00:28
something like `npm run pactVerify --CI=travis` (or whatever) would potentially be useful.

zackary.mccolgan
2018-09-20 17:12
has joined #documentation

fraser.crichton.devel
2018-10-17 03:09
has joined #documentation

anothonyvong
2018-11-01 21:38
has joined #documentation

nihei.dev
2018-11-12 09:47
has joined #documentation

ruben.perezg
2018-11-29 14:59
has joined #documentation

zach.the.hammer
2018-11-30 02:19
has joined #documentation

tghcastro
2018-12-12 13:20
has joined #documentation

tghcastro
2018-12-12 13:24
Hi all!!! .. I'm beginning to use pact (with C# and PowerShell). I already have PackBroker running and publishing pacts from consumer's tests, but I'm not finding how I can publish, on the broker, the provider's validation. (I've read the documentation). I'm consuming the API to publish pacts with PowerShell (on Jenkins).


matt.fellows
2018-12-12 20:48
Helpful?

tghcastro
2018-12-13 10:27
Thanks @matt.fellows...I don't think so ... I can publish my pacts to PactBroker. They are avail on Matrix page, but I can not update Provider version and Pact verified column.

tghcastro
2018-12-13 10:29
I think the instruction to do that is in the PactBroker docs, but I haven't found it.

bethskurrie
2018-12-13 10:38
What language are you verifying the pacts in?

tghcastro
2018-12-13 10:54
Hi @bethskurrie... I'm using C#

bethskurrie
2018-12-13 10:54
So, the dot net impl?

tghcastro
2018-12-13 10:54
Yes

bethskurrie
2018-12-13 10:55
There will be a way to turn on the verification publishing

bethskurrie
2018-12-13 10:55
It will be in the docs.

bethskurrie
2018-12-13 10:55
Sorry, I'm not familiar with them, but I'm quite sure the feature exists.

tghcastro
2018-12-13 10:55
Inside the http://Pact.NET,?

bethskurrie
2018-12-13 10:55
You'll need to provide the provider version as well.

bethskurrie
2018-12-13 10:56
Yes.

tghcastro
2018-12-13 10:56
Ok... I'm going to try it

tghcastro
2018-12-13 10:56
Thanks! .... My initial thinking was to discover wich API I could use to that

bethskurrie
2018-12-13 11:11
It does it all for you.

yousafn
2019-01-04 11:10
has joined #documentation

gbivins4
2019-01-12 00:24
has joined #documentation

vitaliy.grigoruk
2019-02-01 09:47
has joined #documentation

krzysztof.stepniak
2019-03-07 10:41
has joined #documentation

joseiglesias
2019-03-21 12:48
has joined #documentation

gopinathlangote11
2019-03-29 10:31
has joined #documentation

franklin.huynh
2019-04-01 03:22
has joined #documentation

qatrera
2019-04-02 13:57
has joined #documentation

joostvanwollingen
2019-05-02 11:47
has joined #documentation

phall
2019-05-13 17:21
has joined #documentation

anabalfun
2019-05-22 09:14
has joined #documentation

diandra
2019-05-28 00:21
has joined #documentation

detert
2019-05-31 14:20
has joined #documentation

thakkarjinal29
2019-06-01 11:33
has joined #documentation

rob.clarken
2019-06-04 22:48
has joined #documentation

hboddupalli
2019-06-07 21:33
has joined #documentation

agarwalatrisha1212
2019-06-18 03:18
has joined #documentation

doxuantien
2019-06-28 03:33
has joined #documentation

florian.nagel
2019-07-08 08:27
has joined #documentation

bqiu
2019-07-16 00:06
has joined #documentation

getsreerag22
2019-07-26 02:30
has joined #documentation

elineopsommer
2019-07-29 14:54
has joined #documentation

anupamknw
2019-08-08 18:46
has joined #documentation

simon.nizov
2019-08-28 21:15
has joined #documentation

simon.nizov
2019-08-28 21:19
Hey! I opened these 2 PR?s a while back: https://github.com/pact-foundation/pact.io/pull/80 https://github.com/pact-foundation/pact.io/pull/73 Any reason they are not being merged? I?m open to criticism :slightly_smiling_face:

matt.fellows
2019-08-28 22:12
hmm, may have just missed it

matt.fellows
2019-08-28 22:12
Merged

matt.fellows
2019-08-28 22:12
Muchos thanks

simon.nizov
2019-08-29 08:22
Thanks @matt.fellows! I now see that I forgot to add the new ?gotchas? page to the menu. Fixed it in a new PR here: https://github.com/pact-foundation/pact.io/pull/95

matt.fellows
2019-08-29 10:16
Done, thank you!

sahil.goyal2
2019-09-09 12:23
has joined #documentation

travis.anderson
2019-10-18 18:04
has joined #documentation

sarajcarbajal
2019-10-31 16:49
has joined #documentation

ncritah
2019-11-19 10:27
has joined #documentation

ncritah
2019-11-19 10:30
Hi, How can I run the documentation on my local machine? When I use the `gitbook serve` command, I get the error below ```gitbook serve Error loading version latest: Error: Cannot find module 'q' Require stack: - /Users/christine/.gitbook/versions/2.3.2/lib/index.js - /usr/local/lib/node_modules/gitbook-cli/lib/local.js - /usr/local/lib/node_modules/gitbook-cli/lib/index.js - /usr/local/lib/node_modules/gitbook-cli/bin/gitbook.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:780:15) at Function.Module._load (internal/modules/cjs/loader.js:685:27) at Module.require (internal/modules/cjs/loader.js:838:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (/Users/christine/.gitbook/versions/2.3.2/lib/index.js:1:9) at Module._compile (internal/modules/cjs/loader.js:945:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10) at Module.load (internal/modules/cjs/loader.js:798:32) at Function.Module._load (internal/modules/cjs/loader.js:711:12) at Module.require (internal/modules/cjs/loader.js:838:19) TypeError: Cannot read property 'commands' of null```

matt.fellows
2019-11-19 11:11
ah, yes. The gitbook CLI is not being properly maintained I believe. They now have an in-browser editor that we use.

matt.fellows
2019-11-19 11:12
Are you looking to contribute or something else?

matt.fellows
2019-11-19 11:12
(Also, assuming you?ve tried an `npm install`?)

ncritah
2019-11-19 11:47
Yes I have. What other alternatives do I have to serve up the files local to check that the link fix I've made works as expected?

matt.fellows
2019-11-19 11:48
oh, have you tried `gitbook install` also?

matt.fellows
2019-11-19 11:49
ah, nvm. It doesn?t work locally for me anymore either

matt.fellows
2019-11-19 11:49
I?ll need to dig further, but my guess is they are retiring that over time

matt.fellows
2019-11-19 11:50
If you?re confident enough, just send the PR and we can deal with the damage - you shouldn?t have to muck around with crappy tooling to fix a link

ncritah
2019-11-19 12:48
Thanks for your quick response. Wanted to use this change as example for a session I have later this evening to introduce a couple of people to contributing to open source and thought it would be great to have a visual of the changes. It's a small change in the examples. Will just create a PR for it I guess

ncritah
2019-11-19 12:49
Realised some of the linking wasn't working yesterday when trying to use pact to create contracts on my current project and the timing was just perfect for my open source session :slightly_smiling_face:

matt.fellows
2019-11-20 04:52
oh cool, well sorry it was so annoying. Gitbook has progressed their hosted offering a lot which is great, but has left much to be desired in their OSS CLI tooling.

matt.fellows
2019-11-20 04:52
How did your OSS session go and what was the background for that - are you trying to change culture etc.?

ncritah
2019-11-20 11:44
The session went really well. And I just noticed the documentation fix we made during the session got merged https://github.com/pact-foundation/pact.io/pull/100

ncritah
2019-11-20 11:46
It was a session to introduce people from diverse backgrounds both to programming and non-programming to open source i.e. what it is and why we all should care and contribute or advocate for its usage in our different places of work

tjones
2019-11-20 23:27
Awesome! Sounds like a great initiative!

bethskurrie
2019-11-21 22:51
@ncritah :raised_hands::skin-tone-3:

ambergkim
2019-11-26 05:27
has joined #documentation

alexjjseppala
2019-11-28 19:31
has joined #documentation

alexjjseppala
2019-11-28 19:40
Hello! Just a quick docs question. In the pact-ruby-cli docs there is a paragraph about running a mock service in a docker container saying that ports need to be exposed correctly. It also provides a link to a repository, but the link does not seem to be working. How can I access this repository? https://github.com/pact-foundation/pact-ruby-cli#mock-service

matt.fellows
2019-11-28 21:23
Hmmm



matt.fellows
2019-11-28 21:26
When you head to the Pact CLI page it says to go back to the other repo (which redirected users here)

bethskurrie
2019-11-28 21:27
ok, that's me.

matt.fellows
2019-11-28 21:27
@bethskurrie I?m confused - is the docker mock service deprecated and is the Pact CLI docs wrong?

matt.fellows
2019-11-28 21:27
ah, cool

bethskurrie
2019-11-28 21:27
I think I got ahead of myself in deprecating the mock service.

matt.fellows
2019-11-28 21:27
ahh

bethskurrie
2019-11-28 21:28
But, we may be able to expose the right ports on the cli image.

bethskurrie
2019-11-28 21:28
I'll update the mock service when I get in.

matt.fellows
2019-11-28 21:28
np

matt.fellows
2019-11-28 21:28
I?ve updated the link to point to the correct docker repo in the mean time

bethskurrie
2019-11-28 21:29
or, i'll try expose the port on the CLI

alexjjseppala
2019-11-28 21:37
> Thank you for looking into this so quickly!!! I created an issue here https://github.com/pact-foundation/pact-ruby-cli/issues/8 earlier with a little more detail

matt.fellows
2019-11-28 21:43
no probs, thanks for bringing to our attention

matt.fellows
2019-11-28 21:43
As a side note, may I ask why you need the mock service in docker? Usually, it?s an edge case, so just want to steer you in the right direction if it?s not!

alexjjseppala
2019-11-28 22:01
Thank you! I'll try to explain it. The consumer application that I'm testing mocks external services by spinning each of them up in docker containers. The code that I am unit testing is an NGINX plugin and it requires that all of the mocked servers are in docker containers for it to be executed unfortunately. I'm trying to replace the provider containers with a mocked service container and to create the interactions and pact via API calls. The provider is much simpler and can use one of the SDKs - did that make sense? :sweat_smile:

bethskurrie
2019-11-28 22:55
Ok, so this does work `docker run --rm -p 1234:1234 pactfoundation/pact-cli:latest mock-service -p 1234 --host 0.0.0.0`

bethskurrie
2019-11-28 22:55
But, the docker container doesn't stop when I send it a `ctrl + c` and I can't work out why

bethskurrie
2019-11-28 22:55
I have to use docker stop, and it takes a while to kill it

alexjjseppala
2019-11-28 22:56
Thank you I?ll try this first thing tomorrow morning in my time zone!

alexjjseppala
2019-11-28 22:57
And I?ve been having this exact same issue!

bethskurrie
2019-11-28 22:58
have you tried with the mock service docker container?

bethskurrie
2019-11-28 22:58
I suspect it's because there's an entrypoint file.

bethskurrie
2019-11-28 22:59
the kill might be sent to the wrong process

bethskurrie
2019-11-28 23:00
`Note: ENTRYPOINT and CMD in the shell form run as a subcommand of /bin/sh -c, which does not pass signals. This means that the executable is not the container's PID 1 and does not receive Unix signals.`


bethskurrie
2019-11-28 23:00
I wonder if that's the reason


bethskurrie
2019-11-28 23:01
I'm using the array form, however :thinking_face:

alexjjseppala
2019-11-28 23:01
Oops actually I was using the mock service docker container when I was getting that issue. I believe I got the issue on the pact-cli container earlier today as well

bethskurrie
2019-11-28 23:02
tbh, I haven't used either of them on a project before, so this might just have been the existing behaviour since it was created

bethskurrie
2019-11-28 23:04
ah, if you run it with `-it` your ctl+c works because your terminal session is hooked up to it.

bethskurrie
2019-11-28 23:05
looks like there's a lot of noise on the nets about ctl+c not working as expected in various places.

bethskurrie
2019-11-28 23:05
at least docker stop works, even if it's a bit slow

matt.fellows
2019-11-29 01:59
Yes, you?ll need a tty to be able to interact with the (any) container. `docker run -it --rm -p 1234:1234 pactfoundation/pact-cli:latest mock-service -p 1234 --host 0.0.0.0` works :ok_hand: for me

matt.fellows
2019-11-29 01:59
thanks Beth

alexjjseppala
2019-11-29 15:41
The new command worked for me! Thank you for the help @bethskurrie @matt.fellows

v.melnychuk12
2019-12-19 15:03
has joined #documentation

iaroslav.liashenko
2020-01-03 16:05
has joined #documentation

rikeshgohil
2020-01-10 11:59
has joined #documentation

davchung5
2020-01-15 22:40
has joined #documentation

josue.guerrero
2020-01-17 15:07
has joined #documentation

jana.pacheco
2020-01-28 18:45
has joined #documentation

kulik.olenka
2020-02-07 21:01
has joined #documentation

pact501
2020-02-14 00:13
has joined #documentation

sagupta
2020-02-20 12:02
has joined #documentation

pact501
2020-02-23 21:44
I thought I saw a `WIP versioning blog post` somewhere. It seems to be gone. Was I just imagining things, or was it taken down, @bethskurrie?

bethskurrie
2020-02-23 21:44
It's never been publicly released because the feature is not publicly released yet.

bethskurrie
2020-02-23 21:45
I'll find the draft URL

bethskurrie
2020-02-23 21:45
We need to get at least a second pact implementation (pact-jvm) using it before we release it publicly.


matt.fellows
2020-02-23 21:50
FYI It's probably a few weeks away from JS and is currently in Go beta (getting customer feedback)

paul.davies
2020-02-23 21:54
has joined #documentation

julian.pittas
2020-02-24 05:06
has joined #documentation

joel.whalen
2020-03-02 17:20
has joined #documentation

tjones
2020-03-03 00:43
A discussion at work highlighted that we don?t have a doco page on where to do what part of the pact workflow. I think we should make one - what do we think of recommending that: * pact test / verify: part of the test job * publish contracts: post-test * can-i-deploy: part of the deploy or predeploy job

paul.davies
2020-03-03 01:09
That?s a great idea Tim!

sankalan13
2020-03-03 13:10
has joined #documentation

bethskurrie
2020-03-05 21:54
@tjones


bethskurrie
2020-03-05 21:55
Also, here is a description of the CI jobs - it's just not in a place that's logical to find https://docs.pact.io/pact_broker/advanced_topics/webhooks#consumer-ci


bethskurrie
2020-03-05 22:13
Bigger question - where to put it @tjones

bethskurrie
2020-03-05 22:14
I think we need it in two places - it should be covered in the Pact Nirvana document, so that as you go, you know where to put things, but then we also need a "this is the big picture, all in one" kind of thing.

bethskurrie
2020-03-05 22:15
This might be a good place for the "all in one" view https://docs.pact.io/pact_broker/set_up_checklist

tjones
2020-03-05 23:55
I?ve been thinking that most everything under getting started isn?t really

tjones
2020-03-05 23:55
it?s more like ?overview?

bethskurrie
2020-03-11 22:45
So, I've added a new section, but it doesn't really belong on this page.


bethskurrie
2020-03-11 22:46
It's really part of "how does contract testing fit into the overall testing approach?"

iamjillsanluis
2020-03-22 15:00
has joined #documentation

grzegorzkrol90
2020-03-23 08:30
has joined #documentation

davidpihlaja
2020-03-30 19:10
has joined #documentation

sacharya_pact
2020-04-02 05:37
has joined #documentation

l.dziedziul
2020-04-10 14:08
has joined #documentation

darshan
2020-04-17 15:53
has joined #documentation

fafa029
2020-04-25 05:02
has joined #documentation

sen.rudrappa
2020-04-29 08:55
has joined #documentation

rikeshgohil
2020-05-13 11:00
hello. I am looking to workout where we have contract tests in our code base - is there some way to auto generate this to show in some sort of document?

bethskurrie
2020-05-13 11:01
I'm not sure what you mean. Can you provide an example?

rikeshgohil
2020-05-13 11:08
I just want to know where we have contract tests within our code base. I can manually find and work with developers - but was thinking if something can be auto generated for example like swagger for apis. I'm not sure if this is possible - also I am new to pact

bethskurrie
2020-05-13 11:09
Are you using a Pact Broker?

rikeshgohil
2020-05-13 11:09
Yes

bethskurrie
2020-05-13 11:10
Can you not look at the UI of the Pact Broker to see what pacts there are?

matt.fellows
2020-05-13 11:10
Is the idea you want to be able to generate a coverage map of services you have versus contracts you have?

matt.fellows
2020-05-13 11:10
or what Beth is asking i.e. to get a view of what contracts exist?

rikeshgohil
2020-05-13 11:12
thanks @bethskurrie I can have a look at the broker for whats in place. awesome :slightly_smiling_face:

rikeshgohil
2020-05-13 11:12
yes @matt.fellows on your point "Is the idea you want to be able to generate a coverage map of services you have versus contracts you have?" Is this possible

bethskurrie
2020-05-13 11:13
If you click on the name of the application, it will show you a diagram of all the applications that that have contracts with the one you selected.

matt.fellows
2020-05-13 11:13
No it?s not possible with Pact alone, albeit we?ve thought about it

matt.fellows
2020-05-13 11:13
you?d need to generate a map of your own ecosystem, and then contrast that map with what Pact has

matt.fellows
2020-05-13 11:14
We?d like to add that to Pactflow, because it would involve a few other moving parts

rikeshgohil
2020-05-13 11:15
ok brilliant. thank you for the guide @matt.fellows and @bethskurrie


matt.fellows
2020-05-13 11:16
yep, and you might also like to try exporting them ala https://pactflow.io/blog/diagrams-with-graphviz/

sankalan13
2020-05-22 08:00
Was looking at pact-go in github where I clicked on this https://dius.com.au/2016/02/03/microservices-pact/ and it gave me a 403 Forbidden (access denied). The defect is in the Readme.md file for https://github.com/pact-foundation/pact-go. In the introduction section where the Getting Started with Pact for Begineers is hyperlinked. We should change it to the new website.

matt.fellows
2020-05-22 08:01
That link shouldn't be broken thanks. I'll get it back up

bethskurrie
2020-05-22 08:01
Thanks. Would you mind raising a PR @sankalan13?

sankalan13
2020-05-22 08:07
Alright I'll do that! Thanks Beth!

oscarg798
2020-05-29 07:16
has joined #documentation

thomas.fisher
2020-06-05 08:28
has joined #documentation

phil.endsley
2020-06-18 01:51
has joined #documentation

phil.endsley
2020-06-18 02:27
I have a couple items of feedback: In the pact-jvm docs for Pending Pacts > You also need to provide the tags used to publish the providers main-line results (i.e. tags like prod or master). https://github.com/DiUS/pact-jvm/tree/master/provider/junit5#pending-pact-support-version-410-and-later This seems a little misleading to me the way it's worded. Yes, you should use this for your "main build", but really, this should be whatever branch you're currently running, right? Also, I think there's a broken link on the CI/CD Workshop https://docs.pactflow.io/docs/workshops/ci-cd/ The GOALS button takes you to https://docs.pactflow.io/docs/workshops/ci-cd/set-up-ci/index (Which I'm assuming doesn't exist, so it falls back to http://docs.pactflow.io) I think instead, it's supposed to be: https://docs.pactflow.io/docs/workshops/ci-cd/set-up-ci/

uglyog
2020-06-18 02:32
Thanks for the feedback. Can you raise Github issues for these so they don't get lost

phil.endsley
2020-06-18 02:33
Sure. Which repo should the workshop one go to?


bethskurrie
2020-06-24 01:13
Thanks @phil.endsley those doc links are fixed.

suma.papanna
2020-06-25 10:55
has joined #documentation

ayyamuthutechnical
2020-06-25 17:53
has joined #documentation

ayyamuthutechnical
2020-06-25 17:55
Hi guys, Do we have any good documentation for pact-python as like pact-js or pact-java. Thanks

bethskurrie
2020-06-25 22:58
@ayyamuthutechnical no, unfortunately. What you see in the readme is it.

bethskurrie
2020-06-25 22:59
The principles are the same across languages however. Please read the Guides section on the http://docs.pact.io site https://docs.pact.io/consumer/

bethskurrie
2020-06-26 04:26
Hi peeps who are interested in documentation. You may have noticed that there has been some movement on the docs front. I've been adding some Github Actions to sync the documentation from each of the repositories into http://docs.pact.io. This will make it much easier for people to find, especially as it will now be indexed and searchable by Algolia (a search engine which provides free services for OSS projects, bless them!).

bethskurrie
2020-06-26 04:30
We're also going to start writing docs that describe the behaviour of each feature once, and providing code examples for each of the languages, rather than having each of the languages write their own docs for each of the features. We hope this will provide better quality information to Pact users, and reduce duplication of effort and divergence. To this end, I'm going to be automatedly raising issues in each of the repositories with a request to provide code examples for each feature. If you see one of them, and want to contribute, please do! They're not just for the project maintainers. They'd be a great way for new contributors to get involved.

bethskurrie
2020-06-26 05:44
I've added some docs on how to update the docs here :laughing: :laughing: :laughing: cc: @tjones https://github.com/pact-foundation/docs.pact.io#pact-docs-website

uglyog
2020-06-26 05:45
Very meta of you. And good too, because I need to add the Pact-Rust to the docs

bethskurrie
2020-06-26 05:45
ooh yes!

uglyog
2020-06-26 05:45
And C++

bethskurrie
2020-06-26 05:45
the forgotten children

uglyog
2020-06-26 05:45
Actually, Maybe not that one

matt.fellows
2020-06-26 08:14
From a current customer - I responded that we should probably look to document contract testing for hypermedia APIs such as Siren, HAL

bethskurrie
2020-06-26 08:19
I've been hacking pact for years to support HAL

bethskurrie
2020-06-26 08:19
I put a place holder url in the pact, and then swap it out for the real one when I do my verifications using rack middleware

bethskurrie
2020-06-26 08:20
I've wanted to support it properly since we first used pact and HAL at REA, but body except me seemed bothered about it.


bethskurrie
2020-06-26 08:21
That's why it's under "rarely asked questions" :laughing:

matt.fellows
2020-06-26 08:34
lol

matt.fellows
2020-06-26 08:34
There?s like a ?meta? Pact that needs to be created to support this well.

matt.fellows
2020-06-26 08:35
BUT, it?s still possible to break linkages with hypermedia - if you rename a link (or remove one) then boom

matt.fellows
2020-06-26 08:35
Also, I?m still not sure I?m even a fan of them personally.

bethskurrie
2020-06-26 08:35
As someone who has used then for 7 years, I love them.

bethskurrie
2020-06-26 08:36
It's made my life as an api developer and client developer so easy.

matt.fellows
2020-06-26 08:37
If you truly follow the hypermedia to ?level 3 REST?, it?s beautiful but not terribly pragmatic. Like Haskell

bethskurrie
2020-06-26 08:37
But unfortunately i can't stop people using hard coded urls, so I'm still constrained on my ability to reactor anything

matt.fellows
2020-06-26 08:37
_looks at react code base for Pactflow_

bethskurrie
2020-06-26 08:37
That kills me.

matt.fellows
2020-06-26 08:37
It surprised me when I saw it

bethskurrie
2020-06-26 08:38
It wasn't me...


uglyog
2020-06-27 04:57
@bethskurrie the GHTOKENFORTRIGGERINGPACTDOCSUPDATE secret, is that a personal token of yours?

ag.robinson
2020-06-27 15:40
has joined #documentation

samycici
2020-06-29 15:29
has joined #documentation

greg.tyler
2020-07-02 09:45
has joined #documentation

sairsule
2020-07-21 17:06
has joined #documentation

sairsule
2020-07-21 17:08
https://docs.pact.io/faq/convinceme#docsNav On the graphs for Contract tests VS E2E tests, the axis for graphs are wrong. Time and efforts are labelled wrong.

sairsule
2020-07-21 17:09
ie Time should be Effort and Effort should be time

bethskurrie
2020-07-26 22:17
@sairsule you're absolutely right.

bethskurrie
2020-07-26 22:18
How funny that I've never noticed.

bethskurrie
2020-07-26 22:18
That's my fault entirely :laughing:


sairsule
2020-07-28 08:53
funnier thing is I used this in one of PPT( I am selling Pact in my company :slightly_smiling_face: ), presented it in-front of a few Architects, everybody liked it. we even discussed on cost and efforts about e2e tests. This was one major point why everybody liked Pact. Still nobody seemed to notice the mistake. This definitely is another example of https://en.wikipedia.org/wiki/Typoglycemia

daniele.scillia
2020-07-29 09:37
has joined #documentation

bethskurrie
2020-07-31 05:45
Thank goodness people see what they expect to see, not what's actually there.

lucasmat.7
2020-08-13 07:38
has joined #documentation

lucasmat.7
2020-08-13 07:41
Hi... I'm sorry to ask such a newbie question here, but I couldn't find it elsewhere - is there a way to check pact-broker version through the UI ?

matt.fellows
2020-08-13 07:47
hmm it may be in the docs somewhere

matt.fellows
2020-08-13 07:47
Head to the API browser and in the top right hand corner, you?ll see an `x-pact-broker-version` header (or something like that)

lucasmat.7
2020-08-13 08:25
Thank you @matt.fellows ! That did the trick

parveensultanauk
2020-08-24 11:33
has joined #documentation

heytaco
2020-08-25 03:57
has joined #documentation

heytaco
2020-08-25 03:57
Hi there! My name is HeyTaco!, and you can use me to give people tacos to show your appreciation. My tacos will spread joy through Slack!

phil.endsley
2020-08-25 15:51
@bethskurrie I finally got around to putting together some suggestions for Pending/WIP pacts https://github.com/pact-foundation/docs.pact.io/issues/26

aforeman
2020-08-26 23:26
has joined #documentation

robert.strehli
2020-08-27 14:40
has joined #documentation

maciej.olko
2020-09-04 14:54
has joined #documentation

copalco
2020-09-10 12:55
has joined #documentation

kflo
2020-09-22 01:33
has joined #documentation

kflo
2020-09-22 01:39
hey! i?ve been eyeing pact for awhile and as our company is starting to split our monolith into distributed services i?m looking at it again in more detail. the HTTP API use cases for pact make perfect sense to me and i think the documentation for those use cases are great. i?m having a bit of a harder time understanding how pact works for messaging. for automated testing, i think it?s pretty clear, as like for HTTP API use cases it generates a pact file on the consumer, and then verifies it on the producer. but for example if we want to stand up our service and do some testing against it (local or otherwise), what is the service publishing to and consuming from (the message equivalent of the pact broker stub APIs, for instance).

matt.fellows
2020-09-22 01:40
That?s a fair point - we don?t have great docs explaining how it works


kflo
2020-09-22 01:41
yes i guess this is more abstract than being able to read unit test code :slightly_smiling_face:

matt.fellows
2020-09-22 01:42
with messages, we skip the actual protocol interaction - so there is not actual talking to/reading from the queue going on in the pact test. We talk directly to the functions that _produce_ or _consume_ the message, and check that they either produce what was expected, or can actually consumer (without erroring, essentially) that message

matt.fellows
2020-09-22 01:42
is there a language you are interested in using?

kflo
2020-09-22 01:43
we are using scala, but i?m not yet interested in the implementation details but more so the high level detail of all the pieces involved for now

kflo
2020-09-22 01:44
ah yes i read this article earlier

kflo
2020-09-22 01:44
this made sense to me in terms of verification of the contract

kflo
2020-09-22 01:45
but i?m still confused about what my running service would be talking to

kflo
2020-09-22 01:45
(even if it?s some in-memory something)

matt.fellows
2020-09-22 01:45
there is no running services in message pacts - it is pretty much a unit test of a function on either side of the interaction

kflo
2020-09-22 01:46
hm, but it seems like it would be beneficial to have a stub service that can response to messages and/or emit messages

kflo
2020-09-22 01:46
similar to the HTTP stub APIs

matt.fellows
2020-09-22 01:46
it probably could, but to my knowledge, we don?t have that

kflo
2020-09-22 01:47
for example, how would you do any type of exploratory testing on a service which only uses messages? no HTTP API?

matt.fellows
2020-09-22 01:47
you just wouldn?t use pact for exploratory testing

matt.fellows
2020-09-22 01:47
maybe I?m missing the point, but pact is really for automating the contract testing bit

kflo
2020-09-22 01:48
it is, yes, but they also offer the HTTP stub APIs which is a big benefit for us

kflo
2020-09-22 01:48
basically stand-in APIs for your contracts, so you don?t have to stand up the real APIs

bethskurrie
2020-09-22 01:49
HTTP stubs are easy to make generically (everything speaks HTTP the same way) so it was an easy win to make them. Messaging queues are all different.


bethskurrie
2020-09-22 01:50
Creating a real stub messaging queue for every type of queue would be a lot of work for us, and we already have too much work to do on existing features related to actual contract testing.

bethskurrie
2020-09-22 01:50
If you're keen to be involved, or know someone who is, we always welcome more maintainers!

kflo
2020-09-22 01:50
so what i?m hearing is what i was looking for does not exist yet, but sounds like something that might be useful

bethskurrie
2020-09-22 01:50
Sure!

kflo
2020-09-22 01:51
definitely interested in getting involved? if i can find the free time, or if i can do it on company time :wink:

bethskurrie
2020-09-22 01:51
There are probably already existing stub message queues. The quick win might actually be just wring up the pact contract format so you can easily load them into an existing stub.

bethskurrie
2020-09-22 01:51
We do most of this in our "spare time" too.

matt.fellows
2020-09-22 01:55
The verifier we use sort of does emit a message, but it?s wrapped in other pact stuff (e.g. the metadata, description of the message itself, states etc.)

matt.fellows
2020-09-22 01:55
so that could possibly be re-purposed to do it

matt.fellows
2020-09-22 01:55
> Creating a real stub messaging queue for every type of queue would be a lot of work for us, and we already have too much work to do on existing features related to actual contract testing. The reverse i suppose is that because we are ?queue agnostic?, you can do this sort of testing for a variety of other use cases - such as dropping a JSON file in an S3 bucket/file system, for example

kflo
2020-09-22 01:57
yeah, even though we use kafka that is sort of an implementation detail, i would be happy with a more generic stub solution

kflo
2020-09-22 01:59
really it would just be a mechanism that could, for example, emit a message based on some message it consumes combined with provider state. or it could emit a message if you ask it to based on some provider state

kflo
2020-09-22 01:59
i will think about it more in the coming weeks

bethskurrie
2020-09-22 02:00
We don't (yet) have async message request/response contracts, but I think it's under discussion.

bethskurrie
2020-09-22 02:00
like "I send you this message, and I get this message back"

kflo
2020-09-22 02:00
exactly

bethskurrie
2020-09-22 02:00
they're just "I expect this message".

kflo
2020-09-22 02:01
a lot of our messages are command/event

kflo
2020-09-22 02:01
?do this thing? ? ?i did this thing?

kflo
2020-09-22 02:01
but also sometimes ?i did this thing? without being asked explicitly

kflo
2020-09-22 02:02
(for example a job ran, or something to that effect)

yann.courtel
2020-09-23 07:08
has joined #documentation

nazar.khmil
2020-10-05 10:34
has joined #documentation

xandebianchi
2020-10-05 13:05
has joined #documentation

nazar.khmil
2020-10-05 13:41
Hey! I'm trying to understand how pact works with async messaging There is a producer example in the docs But what do you do with a consumer, how is the contract (json) file generated?

dorin.enache
2020-10-05 15:01
has joined #documentation

ledinhcuong99
2020-10-06 12:53
has joined #documentation

bethskurrie
2020-10-07 00:12
@nazar.khmil it's a little bit different because there's no request/response cycle. You're just saying "here's the message that I expect" and then you write a test to show that your code correctly handles the message you expect.

bethskurrie
2020-10-07 00:12
The expected message gets written into the pact file.



dothetan.040490
2020-10-07 09:14
has joined #documentation

dagostino.remy
2020-10-07 23:03
has joined #documentation

abhi.nandan
2020-10-08 06:38
has joined #documentation

przemyslaw.dabrowski
2020-10-08 12:36
has joined #documentation

emiliano.righi
2020-10-08 13:25
has joined #documentation

cariaga.bh
2020-10-08 21:03
has joined #documentation

campellcl
2020-10-09 00:06
has joined #documentation

elenitsaa043
2020-10-09 10:00
has joined #documentation

adriangabrieloros
2020-10-09 11:05
has joined #documentation

ruth
2020-10-09 13:16
has joined #documentation

sh.ilgam_pact
2020-10-11 16:13
has joined #documentation

anastasiia.bielik
2020-10-12 11:13
has joined #documentation

deepika.krishnakumar
2020-10-12 15:03
has joined #documentation

anbansal27
2020-10-12 23:02
has joined #documentation

prabhakar.thippa
2020-10-13 04:58
has joined #documentation

giadinhluong
2020-10-13 06:24
has joined #documentation

pavank
2020-10-13 08:41
has joined #documentation

stephane.meng
2020-10-13 09:06
has joined #documentation

abirlal.bose
2020-10-13 09:45
has joined #documentation

mateusz.mrzyglod
2020-10-14 09:32
has joined #documentation

cathleen.yuan
2020-10-14 11:16
has joined #documentation

ramana.jaladurgam
2020-10-14 16:10
has joined #documentation

alik.berezovsky
2020-10-14 18:38
has joined #documentation

a.robecke
2020-10-14 19:24
has joined #documentation

mikahchapman
2020-10-14 21:47
has joined #documentation

hem_kec
2020-10-15 00:44
has joined #documentation

marco.cordeiro
2020-10-15 10:54
has joined #documentation

betty.he
2020-10-15 14:32
has joined #documentation

tamer
2020-10-16 09:08
has joined #documentation

mario.gioiosa
2020-10-16 18:57
has joined #documentation

lior.baber
2020-10-19 07:33
has joined #documentation

jeffbdye
2020-10-19 17:10
has joined #documentation

jace
2020-10-19 19:22
has joined #documentation

almaak
2020-10-20 09:35
has joined #documentation

andra.moraru
2020-10-20 14:13
has joined #documentation

camila.coder91
2020-10-20 17:06
has joined #documentation

julzelements
2020-10-21 05:25
has joined #documentation

kapil.mathur
2020-10-21 06:40
has joined #documentation

mark.hudson
2020-10-21 10:45
has joined #documentation

cluu
2020-10-21 17:16
has joined #documentation

camila.campos
2020-10-21 21:35
has joined #documentation

longlevan
2020-10-22 09:15
has joined #documentation

justin.garfield
2020-10-22 16:15
has joined #documentation

guppy0356.nakira
2020-10-23 00:34
has joined #documentation

guppy0356.nakira
2020-10-23 02:19
I do CI/CD workshop. I have some questions. May I ask this channel?

guppy0356.nakira
2020-10-23 02:28
In the instructions in workshop doc, `Repeat the above instructions to configure the Pactflow account for your provider project.` I can't do this because `make travis_encrypt_pact_broker_token` is removed at cd3f5772c6fa30f32c72fc19f2f6e4b24b7374e8. Why?

tjones
2020-10-23 05:48
Could you link us to this part of the documentation? Sounds like we need to edit something


bethskurrie
2020-10-23 09:24
Ah - because I'm converting it to Github Actions.

bethskurrie
2020-10-23 09:24
Use the Travis UI @guppy0356.nakira


bethskurrie
2020-10-23 09:26
Or copy the task over.

ercalbwar
2020-10-24 19:24
has joined #documentation

andrewshtamburg
2020-10-25 13:04
has joined #documentation

siad.ardroumli
2020-10-25 18:16
has joined #documentation

srikanthpmailid
2020-10-26 01:02
has joined #documentation

photesthesis_geospiza
2020-10-26 15:10
has joined #documentation

jackbwheatley
2020-10-27 21:02
has joined #documentation

carlosalmeida.xon
2020-10-27 22:06
has joined #documentation

nasir.amin
2020-10-28 11:07
has joined #documentation

jimish.shah.-nd
2020-10-28 11:26
has joined #documentation

adam_figgins
2020-10-28 14:20
has joined #documentation

adam_figgins
2020-10-28 14:35
Hi. Just working on our pactflow ci / cd implementation. Thought I would add a template for the webhook to trigger github builds while I was there. I've created a PR :slightly_smiling_face:

aperdomobo
2020-10-28 15:42
has joined #documentation

diazguerra2
2020-10-28 16:06
has joined #documentation

xsamore
2020-10-28 19:52
has joined #documentation

simon
2020-10-28 20:49
has joined #documentation

matt.fellows
2020-10-28 22:52
Awesome - thanks!!

ruben.cagnie
2020-10-29 01:24
has joined #documentation

272939217
2020-10-29 05:33
has joined #documentation

driloni92
2020-10-29 09:05
has joined #documentation

pauloavra
2020-10-29 12:33
has joined #documentation

jikogay728
2020-10-30 17:20
has joined #documentation

blmlcu
2020-10-31 14:51
has joined #documentation

jamescourtoy
2020-11-02 21:04
has joined #documentation

telmo.ferreira.costa
2020-11-03 11:32
has joined #documentation

sergii.kopovskyi
2020-11-03 12:35
has joined #documentation

silverton.gimenes
2020-11-03 17:58
has joined #documentation

colber16
2020-11-03 18:34
has joined #documentation

cvoong
2020-11-03 18:55
has joined #documentation

adam_figgins
2020-11-05 08:07
Hi. I'm working on an internal department presentation for our pactflow PoC and noticed the new pact-workshop-advanced powerpoint deck on the docs. I was wondering if I could use a few of the slides from the deck to illustrate the features of the workflow (the diagrams explain things in a far more succinct way than I ever could!). I would provide proper credit to author@bethskurrie of course.

matt.fellows
2020-11-05 08:21
Go for it! The content is licensed MIT so :ok_hand:

adam_figgins
2020-11-05 08:51
Ah! I missed that bit. Great, thanks!

matt.fellows
2020-11-05 08:54
By the way, any feedback on the material would be _super_ useful for us. We know we have work to do, but hopefully this is a good start!

adam_figgins
2020-11-05 10:45
Sure thing. The only thing I can think of so far is to add additional steps in the CI/CD workshop for the GitHub bits, but I imagine that's already in the pipeline for you guys.

matt.fellows
2020-11-05 11:01
Yep, it sure is

adam_figgins
2020-11-05 11:24
Cool. Otherwise it's a great workshop. Wiring up the steps in our own pipeline was relatively straightforward following the guide. It's only our own cluster setup that is causing it to take a long time to get our contract testing PoC implemented :stuck_out_tongue: I did find the http://pact.net documentation lacks a bit in terms of being more specific for setting up advanced features like WIP / pending pacts, and how to do consumer driven verification as a result of a webhook trigger (i.e. Specifying a pact URL rather than a pact broker object for verification). It didn't take too long to translate the examples in the workshop to .net however.

pbobba
2020-11-09 23:03
has joined #documentation

jun.li
2020-11-09 23:05
has joined #documentation

douweicai
2020-11-10 04:11
has joined #documentation

christian.huber
2020-11-10 09:20
has joined #documentation

vuttithatkrongyot
2020-11-10 10:57
has joined #documentation

dan.iosif
2020-11-10 17:06
has joined #documentation

rodrigo.costa20
2020-11-12 00:59
has joined #documentation

yong.gong188
2020-11-12 09:13
has joined #documentation

mateusz.derks
2020-11-12 09:24
has joined #documentation

anandhadeepak
2020-11-12 13:03
has joined #documentation

david.dias
2020-11-12 20:04
has joined #documentation

billal.patel
2020-11-13 10:31
has joined #documentation

louis.oliver
2020-11-16 10:33
has joined #documentation

ashishkujoy
2020-11-16 15:08
has joined #documentation

pradeepchoube
2020-11-17 03:49
has joined #documentation

mateusz.derks
2020-11-17 06:48
Hey, I found a few dead links on the docs website. A few straightforward case are fixed https://github.com/pact-foundation/docs.pact.io/pull/52 but I?m not quite sure how to approach _Provider verification results page_ in https://github.com/pact-foundation/docs.pact.io/pull/53 . Any advice about it?s proper place?

tjones
2020-11-17 06:49
Awesome, thank you!

tjones
2020-11-17 06:49
I will take a look now

matt.fellows
2020-11-17 06:49
thanks Tim, and awesome @mateusz.derks

matt.fellows
2020-11-17 06:49
surprised it was allowed to deploy - docusaurus two builds fail if the links are broken. Maybe we disabled it ?

mateusz.derks
2020-11-17 06:52
The links were correct locally, but are transformed into invalid address when resolved to full http? URL

tjones
2020-11-17 06:52
interesting


mateusz.derks
2020-11-17 06:54
Oh, thats only about the first PR. When I was testing it the build process reported the second broken URL.

tjones
2020-11-17 06:54
@mateusz.derks: I've merged the first one. Your changes looked right to me - was there somewhere else you thought the link should go?

tjones
2020-11-17 06:55
Update: I've also merged the second. Taco for @mateusz.derks :taco:

mateusz.derks
2020-11-17 06:56
@tjones I had doubts about position of this page in the sidebar. The source file was located in advanced topics folder but it was rendered outside of Advanced Topics section of the sidebar. That was was only doubt if the link should be moved or the source file.

tjones
2020-11-17 06:56
Ah, gotcha

tjones
2020-11-17 06:58
I think provider verification results is more a normal topic than an advanced topic. Sometimes we don't move files so that old deeplinks into the docs don't break, though I thought @bethskurrie found a way around that. Beth, do you have any extra context for the position of the Provider Verification Results page?

meng-lingtao
2020-11-17 14:39
has joined #documentation

pabvidcal
2020-11-17 15:30
has joined #documentation

magesh.nagamani
2020-11-18 05:15
has joined #documentation

jstoebel
2020-11-18 13:53
has joined #documentation

mikahchapman
2020-11-18 22:26
I don't remember if I saw a bit of documentation on this or it was posted somewhere else, but is there any documentation about how to handle a binary response body? Last I remember seeing was that you can't describe/verify the body, but you can work with the rest of the interaction.

uglyog
2020-11-18 22:36
It depends on which language implementation. Anything based on the Ruby one does not support it, but Pact-JVM, Pact-C++ and the beta versions of Pact-JS V3 does. There is no documentation for it (yet)

uglyog
2020-11-18 22:37
But there are some example tests

daniel.sayer89
2020-11-19 10:33
has joined #documentation

art.ptushkin
2020-11-19 10:34
has joined #documentation

pact457
2020-11-19 10:36
has joined #documentation

ajerthan.sivayoganath
2020-11-19 10:38
has joined #documentation

philipchardwick
2020-11-19 11:05
has joined #documentation

tanzmann
2020-11-19 11:09
has joined #documentation

olivier.quere
2020-11-19 12:10
has joined #documentation

wilfried.vandenberghe
2020-11-19 12:20
has joined #documentation

alan.hanafy
2020-11-19 19:28
has joined #documentation

michael.deutscher
2020-11-19 21:39
has joined #documentation

gerry.power
2020-11-20 03:31
has joined #documentation

alex900
2020-11-20 05:08
has joined #documentation

tomas.panik
2020-11-20 08:28
has joined #documentation

marc.ferland
2020-11-20 14:43
has joined #documentation

sebastien.crapoulet
2020-11-20 15:24
has joined #documentation

adutrillaux
2020-11-20 15:28
has joined #documentation

he
2020-11-20 15:59
has joined #documentation

ivgeni.slabkovski
2020-11-20 21:52
has joined #documentation

serhatburakyildirim
2020-11-21 21:57
has joined #documentation

alnasl
2020-11-22 18:46
has joined #documentation

ashutosh23802
2020-11-23 06:20
has joined #documentation

leonty
2020-11-23 10:33
has joined #documentation

dariusz.piwko
2020-11-23 11:34
has joined #documentation

praneeth.kumar
2020-11-23 16:18
has joined #documentation

mark.white
2020-11-24 09:03
has joined #documentation

ufuk.ozcelik
2020-11-24 14:58
has joined #documentation

stefanos.varsanis
2020-11-24 16:48
has joined #documentation

lalexander2810
2020-11-24 16:53
has joined #documentation

sivaprasad9
2020-11-24 20:46
has joined #documentation

scyr
2020-11-25 14:56
has joined #documentation

timotheus.ruprecht
2020-11-25 22:12
has joined #documentation

manali.mogre
2020-11-26 11:44
has joined #documentation

erik.terpstra
2020-11-26 12:08
has joined #documentation

kjayachandra2000
2020-11-26 20:40
has joined #documentation

sushil.kumar
2020-11-27 01:45
has joined #documentation

zhujian
2020-11-27 07:54
has joined #documentation

h.octavian
2020-11-27 14:08
has joined #documentation

noel
2020-11-28 23:12
has joined #documentation

muraalee
2020-11-30 01:56
has joined #documentation

pooja.sharma
2020-11-30 08:52
has joined #documentation

mo
2020-11-30 09:24
has joined #documentation

david.greene
2020-11-30 21:47
has joined #documentation

bas
2020-12-01 09:00
has joined #documentation

wainstead
2020-12-01 14:57
has joined #documentation

wainstead
2020-12-01 15:06
I'm working through the tutorial, and at steps like https://docs.pact.io/5-minute-getting-started-guide/#run-the-consumer-tests I am getting an error from https://docspactio-getting-started--mefellows.repl.co/ which looks like this:

billal.patel
2020-12-01 15:54
@billal.patel has left the channel

jerobinson
2020-12-01 20:32
has joined #documentation


mikahchapman
2020-12-01 20:57
Yes! That was the page I was thinking of.

sumedhagamage
2020-12-02 03:33
has joined #documentation

fealaer
2020-12-02 11:40
has joined #documentation

patrick.hendron
2020-12-02 14:44
has joined #documentation

lpratt
2020-12-02 18:19
has joined #documentation

sandragnzalez
2020-12-03 11:04
has joined #documentation

kristian
2020-12-03 14:34
has joined #documentation

me1466
2020-12-03 23:42
has joined #documentation

wenfeng.li
2020-12-04 11:42
has joined #documentation

cdambo
2020-12-05 11:59
has joined #documentation

gayatree.eee
2020-12-08 04:50
has joined #documentation

c.pavan1986
2020-12-09 04:18
has joined #documentation

william.pritchard
2020-12-09 15:28
has joined #documentation

parveshchaudhary111
2020-12-09 17:54
has joined #documentation

w.sobasik
2020-12-10 10:39
has joined #documentation

thanuxxxx
2020-12-12 22:41
has joined #documentation

ian.hamilton
2020-12-13 06:53
has joined #documentation

colm.j.murphy91
2020-12-13 07:02
has joined #documentation

victoria.kruczek
2020-12-13 14:13
has joined #documentation

wuddarwin
2020-12-14 05:23
has joined #documentation

connor.aird
2020-12-14 15:52
has joined #documentation

arman.najafian
2020-12-14 15:52
has joined #documentation

praveen.lakkaraju
2020-12-14 16:12
has joined #documentation

alejandro.germain
2020-12-14 16:26
has joined #documentation

josh.ellinger
2020-12-15 01:22
has joined #documentation

nikitsenka
2020-12-15 09:35
has joined #documentation

hibahawes
2020-12-15 09:53
has joined #documentation

sarvar
2020-12-15 14:24
has joined #documentation

suruchipatidar14
2020-12-16 05:35
has joined #documentation

smatheson
2020-12-16 06:33
has joined #documentation

olayemifolakemi
2020-12-16 15:23
has joined #documentation

ania.kovalchuk
2020-12-17 00:09
has joined #documentation

writetojoshma
2020-12-17 05:52
has joined #documentation

rejeesh.g
2020-12-17 11:07
has joined #documentation

lukas.kempec
2020-12-17 12:45
has joined #documentation

vikas543
2020-12-17 16:28
has joined #documentation

bpugh
2020-12-17 17:05
has joined #documentation

jeff.burmood
2020-12-19 17:45
has joined #documentation

kyle.florence
2020-12-19 19:21
has joined #documentation

ankurmalik22
2020-12-19 21:14
has joined #documentation

vsukumaran
2020-12-20 01:56
has joined #documentation

omer.morad
2020-12-20 08:10
has joined #documentation

ringo
2020-12-20 10:51
has joined #documentation

omer.moradd
2020-12-20 18:01
has joined #documentation

souravsen1
2020-12-21 11:28
has joined #documentation

andoni.arroyo
2020-12-21 17:51
has joined #documentation

theovanessen
2020-12-22 10:47
has joined #documentation

stuart3166
2020-12-22 12:35
has joined #documentation

winfante
2020-12-22 22:51
has joined #documentation

lars.bonnes
2020-12-23 13:05
has joined #documentation

eungjun.yi
2020-12-25 14:25
has joined #documentation

ebanster
2020-12-27 13:18
has joined #documentation

onur.baskirt
2020-12-28 10:48
has joined #documentation

massimo.daros
2020-12-29 13:18
has joined #documentation

chris.fullinwider
2020-12-29 18:15
has joined #documentation

piotr.soltysiak
2020-12-30 16:55
has joined #documentation

tausif2909
2020-12-31 04:44
has joined #documentation

adrian.przybyla
2021-01-04 13:41
has joined #documentation

dcorrales
2021-01-04 22:06
has joined #documentation

jokubas.lekevicius
2021-01-04 22:10
has joined #documentation

matt195
2021-01-05 16:35
has joined #documentation

rafael.manzoni
2021-01-05 17:56
has joined #documentation

animesh2712
2021-01-05 19:29
has joined #documentation

info
2021-01-06 01:55
has joined #documentation

pascal.libenzi
2021-01-06 10:57
has joined #documentation

brett
2021-01-06 18:55
has joined #documentation

josh.rosenfeld
2021-01-06 19:39
has joined #documentation

carlo
2021-01-07 13:24
has joined #documentation

danny.porrello
2021-01-07 16:48
has joined #documentation

dawood.abbas
2021-01-08 07:00
has joined #documentation

cksharma122
2021-01-10 17:19
has joined #documentation

caiquedpfc
2021-01-11 04:05
has joined #documentation

henrik.rudstrom
2021-01-11 18:30
has joined #documentation

eric
2021-01-12 10:23
has joined #documentation

fnguyen
2021-01-13 00:39
has joined #documentation

william.pritchard
2021-01-13 09:40
Hi, I'm trying to view the template parameters link (from the webhooks documentation page https://docs.pact.io/pact_broker/webhooks) but its linking me to a page not found https://docs.pact.io/pact_broker/pact_broker/advanced_topics/api_docs/webhooks#dynamic-variable-substitution Does anyone have the correct link?


william.pritchard
2021-01-13 10:18
Thanks!

matt.fellows
2021-01-13 10:19
np

matt.fellows
2021-01-13 10:19
I?ve just pushed a fix for that page now too, should be updated shortly

matt.fellows
2021-01-13 10:19
Sorry I missed this Steve.

matt.fellows
2021-01-13 10:20
The REPL thing has been a little frustrating since we set it up. The errors aren?t actually a problem, and I can?t make those browsers disappear (they are not needed, but any time a port spawns it thinks it should open a browser)

matt.fellows
2021-01-13 10:20
I?ve created a few katacoda ones here: https://docs.pactflow.io/docs/tutorials/

matt.fellows
2021-01-13 10:21
They might be worth a shot

pollet_22
2021-01-13 16:04
has joined #documentation

dshattuck
2021-01-13 20:49
has joined #documentation

thomas.rosati
2021-01-13 21:58
has joined #documentation

rahulsmalpani
2021-01-14 07:56
has joined #documentation

sacha.camfferman768
2021-01-14 09:42
has joined #documentation

dshattuck
2021-01-14 16:02
I love having these Pact channels! There's a broken link on the https://docs.pact.io/consumer/ page -- note that the term 'consumer' is duplicated in the following, resulting in a broken link: "You can read more about the difference between contract and functional tests https://docs.pact.io/consumer/consumer/contract_tests_not_functional_tests." Instead of https://docs.pact.io/consumer/consumer/contract_tests_not_functional_tests it should be https://docs.pact.io/consumer/contract_tests_not_functional_tests

matt.fellows
2021-01-14 21:46
Thanks Doug - I?ve just fixed that now.

brandonbeard86
2021-01-14 22:10
has joined #documentation

geetishnayak
2021-01-15 01:02
has joined #documentation

william.pritchard
2021-01-15 11:11

shettyg
2021-01-15 14:18
has joined #documentation

natarajang1
2021-01-15 15:29
has joined #documentation

michel.neufeglise
2021-01-18 08:55
has joined #documentation

bart.boersma
2021-01-18 10:48
has joined #documentation

monica.wu
2021-01-19 06:25
has joined #documentation

makobernal
2021-01-19 08:23
has joined #documentation

simone.cusimano92
2021-01-19 10:06
has joined #documentation

jibrail.idris
2021-01-19 10:11
has joined #documentation

jmvb.registros
2021-01-19 11:01
has joined #documentation

tpham
2021-01-19 22:36
has joined #documentation

vishal.grover
2021-01-20 03:12
has joined #documentation

priya.saraf
2021-01-20 08:43
has joined #documentation

fahad.aj.khan
2021-01-20 08:58
has joined #documentation

nicole.jaenchen
2021-01-20 09:38
has joined #documentation

dinakaran.ulaganathan
2021-01-20 13:59
has joined #documentation

ptsiakos77
2021-01-20 21:55
has joined #documentation

mhdtouban
2021-01-21 01:58
has joined #documentation

veeraprathap.n
2021-01-21 04:10
has joined #documentation

tsiakos
2021-01-21 09:24
has joined #documentation

oleg
2021-01-21 13:05
has joined #documentation

thomas.powell
2021-01-22 10:18
has joined #documentation

stefan.selent
2021-01-23 01:54
has joined #documentation

paulo
2021-01-25 11:37
has joined #documentation

kmckeever
2021-01-25 14:38
has joined #documentation

robert.land
2021-01-25 19:25
has joined #documentation

aparnachaudhari
2021-01-25 21:34
has joined #documentation

gwhill7
2021-01-25 23:23
has joined #documentation

bibinc99
2021-01-26 14:37
has joined #documentation

luisc.barretog
2021-01-27 00:42
has joined #documentation

laxmi.somni508
2021-01-27 10:27
has joined #documentation

ryanding16
2021-01-27 20:25
has joined #documentation

athurner
2021-01-28 13:55
has joined #documentation

alex.mcnair
2021-01-28 18:35
has joined #documentation

mailinglistsspammedme
2021-01-28 23:30
has joined #documentation

steven.beaver.retail
2021-01-29 15:34
has joined #documentation

ekberli.elbrus
2021-01-30 16:33
has joined #documentation

george.south
2021-02-01 21:12
has joined #documentation

twierzchowski
2021-02-03 07:05
has joined #documentation

yassin.hajaj
2021-02-03 10:35
has joined #documentation

dany.marques90
2021-02-03 12:48
has joined #documentation

marcelo
2021-02-03 13:11
has joined #documentation

sandeeparthur
2021-02-03 19:46
has joined #documentation

octoberclub
2021-02-04 16:27
has joined #documentation

slavick
2021-02-04 17:21
has joined #documentation

imran.settuba
2021-02-04 18:57
has joined #documentation

christopher.roberts
2021-02-05 01:02
has joined #documentation

r.darcel
2021-02-05 09:15
has joined #documentation

ashish.joshi
2021-02-06 01:07
has joined #documentation

przemek.sech296
2021-02-08 23:18
has joined #documentation

vplows
2021-02-09 06:00
has joined #documentation

rodney.stromlund
2021-02-09 16:18
has joined #documentation

nada
2021-02-09 19:00
has joined #documentation

siddhardhan
2021-02-09 20:21
has joined #documentation

lars.hisken916
2021-02-10 08:08
has joined #documentation

pauligoe10
2021-02-10 08:19
has joined #documentation

tusharvarm
2021-02-10 09:38
has joined #documentation

igorsharf
2021-02-10 10:39
has joined #documentation

kieran
2021-02-10 17:13
has joined #documentation

poward
2021-02-10 18:17
has joined #documentation

ckhadilkar
2021-02-10 21:16
has joined #documentation

neild
2021-02-11 18:53
has joined #documentation

painenigowthami
2021-02-11 22:32
has joined #documentation

stephenkilbourn
2021-02-11 23:02
has joined #documentation

tcarlson
2021-02-11 23:05
has joined #documentation

r.strauch
2021-02-12 10:15
has joined #documentation

ztlboy05
2021-02-12 14:57
has joined #documentation

smith260194
2021-02-12 15:22
has joined #documentation

dabfleming
2021-02-12 20:34
has joined #documentation

prasanthp
2021-02-13 00:45
has joined #documentation

bhardwajdiwakar
2021-02-14 22:38
has joined #documentation

hiteshpatadia
2021-02-15 06:29
has joined #documentation

vikrant.sarkaniya
2021-02-15 13:31
has joined #documentation

lemitrou
2021-02-15 14:20
has joined #documentation

helloraj
2021-02-16 08:09
has joined #documentation

jamesmlucas
2021-02-16 19:29
has joined #documentation

gabe707
2021-02-16 20:31
has joined #documentation

wangpei9679
2021-02-16 21:29
has joined #documentation

geir
2021-02-16 23:03
has joined #documentation

soruma.net
2021-02-17 05:58
has joined #documentation

therimpact
2021-02-17 12:30
has joined #documentation

andrzej.igielski
2021-02-17 21:41
has joined #documentation

mikewagner21
2021-02-18 03:15
has joined #documentation

khandelwalbhushan
2021-02-18 08:10
has joined #documentation

aniket.agarwal
2021-02-18 09:21
has joined #documentation

arpit.modani
2021-02-18 09:43
has joined #documentation

byronth
2021-02-18 11:45
has joined #documentation

isa.levine
2021-02-18 23:37
has joined #documentation

brian.pfretzschner
2021-02-19 10:15
has joined #documentation

chitra.adikesavan
2021-02-20 15:50
has joined #documentation

ankita.soni
2021-02-22 07:26
has joined #documentation

jacek.helper
2021-02-22 08:03
has joined #documentation

seanw122
2021-02-22 15:36
has joined #documentation

akennedy
2021-02-22 15:54
has joined #documentation

esimpson
2021-02-22 16:42
has joined #documentation

dagrawal
2021-02-22 17:24
has joined #documentation

venkata.pro
2021-02-22 21:47
has joined #documentation

jordan.levin
2021-02-23 19:14
has joined #documentation

francesco.latorre
2021-02-24 05:59
has joined #documentation

aniket.g2185
2021-02-24 09:13
has joined #documentation

sundaresank360
2021-02-24 12:12
has joined #documentation

jhawthor
2021-02-24 15:18
has joined #documentation

chris.r.thomas
2021-02-24 16:54
has joined #documentation

peter.cook
2021-02-24 17:05
has joined #documentation

jayeshguru81
2021-02-24 18:34
has joined #documentation

ben.kirberger
2021-02-24 19:16
has joined #documentation

m.stephkan
2021-02-25 05:30
has joined #documentation

stephen.tjasink
2021-02-25 08:23
has joined #documentation

ben.kirberger
2021-02-25 18:34
Looks like there is a broken link here, as well: https://docs.pact.io/faq/#what-is-pact-not-good-for Under: > Can I test GraphQL?https://docs.pact.io/faq/#can-i-test-graphql > Yes. > See below, or the https://github.com/pact-foundation/pact-js/tree/feat/message-pact/examples/graphql. ^ This link.

ben.kirberger
2021-02-25 18:37
Assuming this might be the intended URL: https://github.com/pact-foundation/pact-workshop-js. ?


beatrizwaclawek
2021-02-25 20:27
has joined #documentation

zhoutianli1234
2021-02-25 21:09
has joined #documentation

matt.fellows
2021-02-25 22:50
thanks - fixed! (just pushed a change, might take a few mins)

travis.day
2021-02-26 04:06
has joined #documentation

andrew.cunningham
2021-02-26 11:13
has joined #documentation

brianmasschaele
2021-02-27 13:27
has joined #documentation

pedroefajardo_pactio
2021-02-27 17:18
has joined #documentation

dominic_herrmann
2021-03-01 06:54
has joined #documentation

mikewagner21
2021-03-01 18:47
Hi @ben.kirberger, not sure if your into videos but here is video explaining how to use PACT with GraphQL using GraphQLInteraction() (spoiler: Skip to 1:05 in the video to get to the code examples) https://youtu.be/jXH9dBglVsc

ben.kirberger
2021-03-01 19:03
Ah, thanks for that @mikewagner21 ? I checked this out and while it looks helpful for testing basic GraphQL, I am still missing the piece on how to contract test on top of Apollo federation. Our various microservices are each federating via apollo, so sometimes there is a good deal of schema stitching as I understand it. In this respect, I see our world having many consumers + many producers, and I?m not sure how to define a discrete integration. Ex. Service A ?consumes? the federated /graphql endpoint, say POSTing a simple mutation. Service B ?provides? for this simple mutation, but requires federated fields coming from Services C and D. Who is the provider here? How can we build a 1:1 consumer<>provider pact here? That?s what I think I?m having trouble with?

ben.kirberger
2021-03-01 19:05
:point_up: Not sure if these details bring anything else to mind for @matt.fellows or @bethskurrie? Right now I?ve dropped trying pact w/ GQL and am investigating pact w/ Kafka instead.

matthew.long
2021-03-02 14:08
has joined #documentation

tmoncm
2021-03-02 17:17
has joined #documentation

isa.levine
2021-03-02 19:00
I've got my eye on this too -- I'm in a similar boat, and while I can get a consumer test passing with a GraphQL query, the Apollo federated gateway is complicating how to do the provider verifications.

phoenixcampos01
2021-03-02 21:25
has joined #documentation

hugh.paul.mcgowan
2021-03-03 17:52
has joined #documentation

normanrs
2021-03-04 11:18
has joined #documentation

jayson.bailey
2021-03-04 19:18
has joined #documentation

mjsmcp
2021-03-08 23:46
has joined #documentation

javier.garcia_cotado
2021-03-09 21:52
has joined #documentation

akos.csurai
2021-03-10 13:39
has joined #documentation


testme2020testme
2021-03-10 14:12
has joined #documentation

tommy.mirchandani
2021-03-10 17:13
has joined #documentation

matt.fellows
2021-03-10 20:49
Thanks Akos - @uglyog could you please update to the one that is most correct?

varinderjitkaur13
2021-03-11 01:46
has joined #documentation

krcl.dev
2021-03-11 05:11
has joined #documentation

krishnaraoveera1294
2021-03-11 17:53
has joined #documentation

raghavendra.kalakonda
2021-03-11 23:08
has joined #documentation

raghavendra.kalakonda
2021-03-11 23:20
Hello Everyone, Has anyone used Pact with Azure event hub please?

andries.spies
2021-03-12 07:25
has joined #documentation

akos.csurai
2021-03-12 10:09
Hello Team, I am new to this area and I had a hard time set up my java8 gradle 6.8.x junit pact v4.1.x or v4.0.x environment. You know it is hard to judge what the situation would have been if the documentation was different, but I suggest some minor changes: https://docs.pact.io/implementation_guides/jvm/consumer/junit5 Add chapter "JUnit5 Configuration" after "Dependency" chapter refer to https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html test { useJUnitPlatform() } https://docs.pact.io/implementation_guides/jvm/consumer/junit Add chapter "JUnit Configuration" after "Dependency" chapter test { useJUnit() } https://docs.pact.io/implementation_guides/jvm/provider/gradle Add chapter "Configure Test Framework" Repeat here the same as above or just refer them. I may also move up Gradle chapter under Pact JVM Finally, some reasoning: My understanding probably was wrong because I did not know anything about useJUnitPlatform, or how it makes any difference. I only that I do not need JUnit5 in the beginning, since most of the examples do not use it either. So, I set JUnitPlatform and my junit implementation said: "No tests found for given includes "

bethskurrie
2021-03-12 10:10
Hi @akos.csurai I'm not a java dev but I understand the setup can be quite tricky.

bethskurrie
2021-03-12 10:11
Given it's fresh in your mind, we'd love to have any of your suggested improvements. You just need to click on the "edit this page" button at the bottom of the doc page.

bethskurrie
2021-03-12 10:11
You can do it all in browser.

akos.csurai
2021-03-12 10:21
Wow, OK. ... and will it be merged back to 4.1.x later ?

bethskurrie
2021-03-12 10:22
I'm not sure how the JVM docs versioning works to be honest

akos.csurai
2021-03-12 10:55
Hi @bethskurrie I have proposed the changes. As a comment for the change, I linked this conversation.

matt.fellows
2021-03-12 11:14
Thanks @akos.csurai :taco:

kamil.klima
2021-03-12 11:38
has joined #documentation

lswanborough
2021-03-15 00:50
has joined #documentation

don.tobias
2021-03-15 19:35
has joined #documentation

dabfleming
2021-03-16 02:47
FYI Just noticed a broken link on https://docs.pact.io/pact_broker/webhooks/

matt.fellows
2021-03-16 03:11
thanks, just pushed a fix now

sagar.kathuria
2021-03-17 04:25
has joined #documentation

shao.sum
2021-03-17 08:35
has joined #documentation

riddhichopra
2021-03-18 01:28
has joined #documentation

anu.de
2021-03-18 02:28
has joined #documentation

sreyaslj
2021-03-18 04:25
has joined #documentation

arvind1017
2021-03-18 22:48
has joined #documentation

sushilvc84
2021-03-19 00:30
has joined #documentation

tejakoshti7
2021-03-19 06:26
has joined #documentation

yannick.adler
2021-03-19 12:44
has joined #documentation

aelse
2021-03-19 23:54
has joined #documentation

eric2323223
2021-03-20 01:35
has joined #documentation

jordan.r.stewart
2021-03-20 16:07
has joined #documentation

tmorrison
2021-03-21 21:45
has joined #documentation

a.chandrasekaran
2021-03-22 00:50
has joined #documentation

maksym.motornyi
2021-03-22 11:50
has joined #documentation

gareth.somerville
2021-03-22 12:10
has joined #documentation

joseph.method
2021-03-22 19:55
has joined #documentation

dennyg666
2021-03-22 20:54
has joined #documentation

me1295
2021-03-23 00:15
has joined #documentation

anchit.99
2021-03-23 09:04
has joined #documentation

wola.adedeji
2021-03-23 16:25
has joined #documentation

kenny.shobowale
2021-03-23 16:38
has joined #documentation

anbu.pandian
2021-03-24 11:54
has joined #documentation

rachel.barton
2021-03-24 19:12
has joined #documentation

james522
2021-03-24 22:06
has joined #documentation

anne.schuth320
2021-03-25 07:49
has joined #documentation

james.shirtcliffe
2021-03-25 12:04
has joined #documentation

serhii.makarenko
2021-03-25 12:55
has joined #documentation

mashabudryte
2021-03-25 14:35
has joined #documentation

matthew.simon.barnes_
2021-03-25 16:08
has joined #documentation

jose.manzano
2021-03-26 14:27
has joined #documentation

chris.faulkner
2021-03-26 16:13
has joined #documentation

bryanw
2021-03-26 18:46
has joined #documentation

kerem.durak
2021-03-29 08:34
has joined #documentation

dave.clissold
2021-03-29 12:40
has joined #documentation

sidhant.bhayana.15
2021-03-29 18:34
has joined #documentation

crhawkins85
2021-03-30 21:02
has joined #documentation

pranav.gore
2021-03-31 01:58
has joined #documentation

harsha6988
2021-03-31 12:19
has joined #documentation

leixu
2021-03-31 14:42
has joined #documentation

matthew.brown
2021-03-31 15:15
has joined #documentation

oleksandr.tryshchenko
2021-03-31 19:54
has joined #documentation

phelantomas
2021-04-01 13:13
has joined #documentation


ktogias
2021-04-01 20:04
has joined #documentation

balaji.sivakumar
2021-04-02 05:41
has joined #documentation

matt.fellows
2021-04-02 10:21
Thanks! It's a long weekend here, but will fix early next week

uryadov212
2021-04-05 20:52
has joined #documentation

soumya.aithal966
2021-04-05 22:45
has joined #documentation

sheyan.rizfee
2021-04-06 00:55
has joined #documentation

piotr
2021-04-06 09:24
has joined #documentation

dmitry.korolev
2021-04-06 11:47
has joined #documentation

sravyavadrevu988
2021-04-06 20:40
has joined #documentation

johnnycareer
2021-04-06 21:34
has joined #documentation

danil.nurgaliev
2021-04-07 12:26
has joined #documentation

gtsifrikas
2021-04-08 08:53
has joined #documentation

kanapuramamarnath
2021-04-08 09:18
has joined #documentation

victoria.kruczek
2021-04-08 15:40
hello pact community! :slightly_smiling_face: I?ve come with a more of a philosophical question to you which I was hit with during presenting Pact to my company (and couldn?t find answer to afterward in the docs). The question was: ```In general shouldn't it be the other way around? As the mobile app is the consumer of the api, not the api should test if it fits a contract. IMHO the api defines the contract and the consumer (mobile app) should check if it meets the contract.``` I answered that: ```The responsibility falls to the provider to say to the correct team, that changes made in the backend will impact the consumer application, and changes are required to be implemented to handle those properly. Either this scenario will be in place, or one will be responsible to implement changes in a way that doesn't break the consumer``` I feel a bit unsettled with this answer, though. Is there any more reasoning why Pact is created this particular way?

johnnycareer
2021-04-08 18:57
AFAICT, the main argument is that your API is only valuable because, and to the extent that, consumers value it. The way to proceed then is to provide the union of your known consumer needs, and only that (lest you slide down the slippery slope of scope creep together with its associated dysfunctions). IMO, this is a technique that manifests the philosophy of Specification by Example (SBE).

yousafn
2021-04-08 21:25
yo dudes/dudettes, in the pact-workshop-js guide, it mentions an npx package called `pact-broker` which doesn?t exist https://github.com/pact-foundation/pact-workshop-js#can-i-deploy Should it point to the docker image of the ruby cli here? https://github.com/pact-foundation/pact-ruby-cli#can-i-deploy

yousafn
2021-04-08 21:54
Two ways we can run it via docker from the CLI :slightly_smiling_face: Attached to our host network ```docker run --rm \ --network='host' \ pactfoundation/pact-cli:latest \ broker can-i-deploy \ --pacticipant FrontendWebsite \ --broker-base-url http://localhost:8000 \ --broker-username pact_workshop \ --broker-password pact_workshop \ --latest``` Attached to our the default network started by the docker-compose setup ```docker run --rm \ --network='pact-workshop-js_default' \ pactfoundation/pact-cli:latest \ broker can-i-deploy \ --pacticipant FrontendWebsite \ --broker-base-url http://broker_app:80 \ --broker-username pact_workshop \ --broker-password pact_workshop \ --latest```

yousafn
2021-04-08 21:58
Raised an issue https://github.com/pact-foundation/pact-workshop-js/issues/24 on the examples. Running this session tomorrow, should be fun!

matt.fellows
2021-04-09 01:42
It should work

matt.fellows
2021-04-09 01:43
`npx` just tries to find a binary with the same name in the tree

matt.fellows
2021-04-09 01:43
if you did a `find . -name pact-broker` there should be a file there

matt.fellows
2021-04-09 01:43
ala

matt.fellows
2021-04-09 01:44
is it not worknig for you?

tjones
2021-04-09 03:31
You can npx pact-broker as long as you have pact-node installed

tjones
2021-04-09 03:31
You can?t if you don?t

tjones
2021-04-09 03:32
This is a much more convenient way of running the binaries vs docker- I wouldn?t want to see it replaced

tjones
2021-04-09 03:36
If you want to run it without installing first, you can `npx -p @pact-foundation/pact-node pact-broker` I believe

tjones
2021-04-09 04:26
Yes, that's right. The API exists to serve the client, not the other way around.

yousafn
2021-04-09 09:01
Yeah no dice for me :disappointed: ```? pact-workshop-js git:(master) find . -name pact-broker ./provider/node_modules/.bin/pact-broker ./provider/node_modules/@pact-foundation/pact-node/standalone/darwin-1.86.0/pact/bin/pact-broker ./provider/node_modules/@pact-foundation/pact-node/standalone/darwin-1.86.0/pact/lib/vendor/ruby/2.2.0/bin/pact-broker ./provider/node_modules/@pact-foundation/pact-node/standalone/darwin-1.86.0/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.27.0/bin/pact-broker ./consumer/node_modules/.bin/pact-broker ./consumer/node_modules/@pact-foundation/pact-node/standalone/darwin-1.86.0/pact/bin/pact-broker ./consumer/node_modules/@pact-foundation/pact-node/standalone/darwin-1.86.0/pact/lib/vendor/ruby/2.2.0/bin/pact-broker ./consumer/node_modules/@pact-foundation/pact-node/standalone/darwin-1.86.0/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.27.0/bin/pact-broker ? pact-workshop-js git:(master) npx pact-broker npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/pact-broker - Not found npm ERR! 404 npm ERR! 404 'pact-broker@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! /Users/you54f/.npm/_logs/2021-04-09T09_00_55_124Z-debug.log Install for [ 'pact-broker@latest' ] failed with code 1```

yousafn
2021-04-09 09:02
@tjones solution worked for me though ```? pact-workshop-js git:(master) npx -p @pact-foundation/pact-node pact-broker Commands: pact-broker can-i-deploy -a, --pacticipant=PACTICIPANT -b, --broker-base-url=BROKER_BASE_URL # pact-broker create-or-update-pacticipant --name=NAME -b, --broker-base-url=BROKER_BASE_URL # Create or update pacticipant by name pact-broker create-or-update-webhook URL --uuid=UUID -X, --request=METHOD -b, --broker-base-url=BROKER_BASE_URL # Creates or updates a webhook with a provided uui... pact-broker create-version-tag -a, --pacticipant=PACTICIPANT -b, --broker-base-url=BROKER_BASE_URL -e, --version=VERSION # Add a tag to a pacticipant version pact-broker create-webhook URL -X, --request=METHOD -b, --broker-base-url=BROKER_BASE_URL # Creates a webhook using the same switches as a c... pact-broker describe-version -a, --pacticipant=PACTICIPANT -b, --broker-base-url=BROKER_BASE_URL # Describes a pacticipant version. If no version o... pact-broker generate-uuid # Generate a UUID for use when calling create-or-u... pact-broker help [COMMAND] # Describe available commands or one specific command pact-broker list-latest-pact-versions -b, --broker-base-url=BROKER_BASE_URL # List the latest pact for each integration pact-broker publish PACT_DIRS_OR_FILES ... -a, --consumer-app-version=CONSUMER_APP_VERSION -b, --broker-base-url=BROKER_BASE_URL # Publish pacts to a Pact Broker. pact-broker test-webhook --uuid=UUID -b, --broker-base-url=BROKER_BASE_URL # Test the execution of a webhook pact-broker version ```

matt.fellows
2021-04-09 09:02
Strange! I'll have a look after kids bed routine. Maybe it's the version of node/npm/npx

matt.fellows
2021-04-09 09:03
Ah, maybe they need explicit package scoping to avoid arbitrary code execution :rolling_on_the_floor_laughing:

tjones
2021-04-09 09:03
It's because npx looks in `./node_modules/.bin`

tjones
2021-04-09 09:03
But you're running it outside that context

tjones
2021-04-09 09:04
I think of it as "execute this in the local project, or download and execute it if the project doesn't have it"

tjones
2021-04-09 09:04
the first step is failing because you aren't in a project

tjones
2021-04-09 09:05
the second step is failing because you need to say what package the binary is in if you aren't in a project

yousafn
2021-04-09 09:05
this works `? pact-workshop-js git:(master) cd consumer && npx pact-broker` but the guide shows running everything from outside the provider/consumer folder

yousafn
2021-04-09 09:06
cheers gents. that?s perfect

matt.fellows
2021-04-09 09:06
Good spot Tim, easily fixed!

tjones
2021-04-09 09:06
> the guide shows running everything from outside the provider/consumer folder Does it? The other commands look like they should be run in the projects

tjones
2021-04-09 09:06
I haven't looked at the example very closely though

tjones
2021-04-09 09:06
I'm not sure why there's a top level package.json

yousafn
2021-04-09 09:07
you run this from the top folder ```npm run test:pact --prefix provider``` or ```npm run test:pact --prefix consumer``` to either do the pact, test, or start either the consumer or provider seperately, or concurrently

tjones
2021-04-09 09:07
oh right

yousafn
2021-04-09 09:07
so you can start consumer and provider together :thumbsup:

tjones
2021-04-09 09:08
does npx accept `--prefix`?

tjones
2021-04-09 09:14
Anyway, good find @yousafn!

arnaud.dutrillaux
2021-04-09 10:59
has joined #documentation

yousafn
2021-04-09 11:54
Looks like it doesn?t https://github.com/npm/npx/issues/74 plus its also archived :exploding_head: but yeah thanks gents, that solved it for me, workshop went splendidly

tjones
2021-04-09 14:11
Awesome! Pleased to hear that!

gsinghania
2021-04-09 15:40
has joined #documentation

souravmohanty35
2021-04-09 16:34
has joined #documentation

itzdavey
2021-04-09 17:23
has joined #documentation

victoria.kruczek
2021-04-12 13:05
ok, thank you for you inputs :slightly_smiling_face:

laura.edington
2021-04-13 17:45
has joined #documentation

liam.mcdermott
2021-04-13 22:38
has joined #documentation

matt.fellows
2021-04-14 07:15
ah sorry, missed this reminder

matt.fellows
2021-04-14 07:15
Glad to hear it went well, how many ~minions~ attendees did you train?

yousafn
2021-04-14 09:34
really good @matt.fellows think we had bout 18 at the start. Will try and get a copy of the video for you

matt.fellows
2021-04-14 09:42
awesome!!

matt.fellows
2021-04-14 09:42
Thanks for running it :fist:

yousafn
2021-04-14 12:38
we could probably add a step12 to publish the pacts to the hosted pactflow ui, either with the temp creds / example broker or creating their own (would show use of the `pactBrokerToken` option over username/pass - will probably add a PR at some point

yousafn
2021-04-14 12:38
thinking of doing a paper / talk on message pact soon too

wedlaaa
2021-04-14 13:33
has joined #documentation

wderksen
2021-04-14 22:26
has joined #documentation

mail_4brad
2021-04-15 02:34
has joined #documentation

mail_4brad
2021-04-15 02:41
I?m new to pact and noted the https://docs.pact.io/5-minute-getting-started-guide#run-the-consumer-tests repl is offline? > We Couldn?t Reach Your Repl

matt.fellows
2021-04-15 03:03
ah, it?s fine, it?s just the stupid REPL

matt.fellows
2021-04-15 03:03
that window can?t be made to go away

matt.fellows
2021-04-15 03:03
i.e. you can just close that tab - it?s not part of the tutorial

matt.fellows
2021-04-15 03:04
For some reason, it tries to open a web browser even though we don?t want it

matt.fellows
2021-04-15 03:05
(I think any time a port is opened, it tries to go and look at it - which makes no sense when testing an API)

matt.fellows
2021-04-15 03:05
If you want a better one, this katacoda would be my recommendation: https://katacoda.com/pact/scenarios/pactflow-getting-started-js


matt.fellows
2021-04-15 03:06
I wish it could be easily embedded into the OSS docs, because we could then remove the REPL. Keen for your feedback and what was more useful

mail_4brad
2021-04-15 10:14
@matt.fellows The Katacoda is great. Code feels much more integrated with the documentation

matt.fellows
2021-04-15 10:32
Thanks for the feedback!

matt.fellows
2021-04-15 10:33
I don't like the idea of sending people away from the site to katacoda, but if the content is more useful it's probably worth it

mail_4brad
2021-04-15 11:36
Yeah and people use the product when they understand it, not because they?re stuck on the site. For me, the more resources across the more sites, the better. Just my bias.

matt.fellows
2021-04-15 11:36
Good point indeed

matt.fellows
2021-04-15 11:37
Have you watched any of the videos? We're seeing good take up, but that doesn't necessarily mean it's understood/helpful

matt.fellows
2021-04-15 11:38
We'd love to know if it actually helps and if we should make more, or other mediums (docs, articles, code samples) are more useful

mail_4brad
2021-04-15 11:43
That?s the first thing I saw. Was reading this https://www.cigniti.com/blog/microservices-testing-quality-gates-model/, first intro to pact, googled ?pact teesting?, went to this https://docs.pact.io/, good amount of writing above the video, video was gold. Immediately shared link with colleague.

matt.fellows
2021-04-15 11:46
Ah, I don't think I've seen that article. I'll add to the site tomorrow

matt.fellows
2021-04-15 11:46
This feedback is so helpful, thank you very much

matt.fellows
2021-04-15 11:47
I think I'm going to pull the trigger on fixing the 5 minute guide. Need to get across the other maintainers but this helps make that case

mail_4brad
2021-04-15 11:47
btw the ?watch the full series? link on the docs page didn?t work

matt.fellows
2021-04-15 11:48
Reminder set to fix tomorrow (I'm about to wash some dishes, yay...)

mail_4brad
2021-04-15 11:51
For future videos, suggest you disable ide hover popups and blames as they?re distracting. Otherwise they were great.

goncalosamuel
2021-04-15 15:08
has joined #documentation

matthew.hall
2021-04-15 17:36
has joined #documentation

raony
2021-04-15 19:21
has joined #documentation

gupta.ratnesh9
2021-04-16 04:48
has joined #documentation

greg595au
2021-04-16 10:00
has joined #documentation

manel_ben_yahia
2021-04-16 13:59
has joined #documentation

maxence
2021-04-17 11:07
has joined #documentation

kranti.deep
2021-04-17 14:17
has joined #documentation

aaronw153
2021-04-17 21:42
has joined #documentation

dwmahieddine
2021-04-19 12:44
has joined #documentation

garrettmichael
2021-04-19 18:34
has joined #documentation

daniel.kalleward
2021-04-20 08:16
has joined #documentation

mattias.persson
2021-04-20 12:45
has joined #documentation

martin.eklund
2021-04-20 12:47
has joined #documentation

enda.brody
2021-04-20 17:37
has joined #documentation

cristian.moisa
2021-04-20 18:25
has joined #documentation

darccide
2021-04-21 01:35
has joined #documentation

stain.witness
2021-04-22 02:43
has joined #documentation

oleksandra.pishcheiko
2021-04-22 08:31
has joined #documentation

akos.csurai.4github
2021-04-22 10:01
has joined #documentation

christosbouloumpasis
2021-04-22 10:38
has joined #documentation

temanibeck
2021-04-22 16:04
has joined #documentation

michael_swiss
2021-04-22 21:04
has joined #documentation

dawoud.sheraz
2021-04-23 09:34
has joined #documentation

adriano.tanoue
2021-04-23 12:01
has joined #documentation

saurabh.goel
2021-04-24 20:10
has joined #documentation

cemal.onder
2021-04-25 12:22
has joined #documentation

richard.forjoe
2021-04-26 00:52
has joined #documentation

ron.aharoni
2021-04-26 11:03
has joined #documentation

andrewmorton
2021-04-26 13:33
has joined #documentation

aram
2021-04-26 15:24
has joined #documentation

marcelo.souzameinberg
2021-04-26 21:32
has joined #documentation

bethskurrie
2021-04-26 22:58
I have a documentation improvement task for anyone who is interested in contributing. Our webhooks template library page would be better if it had a matching create-webhook CLI example for every JSON example. I've done the first one here https://docs.pact.io/pact_broker/webhooks/template_library/#cli Is there someone who would be interested in converting/testing/adding the docs for each example? @bheemreddy181? I know you're quite experienced in this area.

bheemreddy181
2021-04-26 22:58
has joined #documentation

bheemreddy181
2021-04-26 23:48
Yes I can :hand::skin-tone-3:

bethskurrie
2021-04-26 23:50
Awesome, thanks!

songqing.gu
2021-04-27 01:25
has joined #documentation

fortiss.anita
2021-04-27 09:34
has joined #documentation

daniel.kalleward
2021-04-27 11:12
Hello! Newbie here. I'm so impressed with the pages of docs + examples you have for each of the endless number of Pact implementations available for the benefit of such a diverse community. If I'm looking for *even more context* on the methods and goodies available for `pact-jvm` with `junit5`, would https://github.com/pact-foundation/pact-jvm/blob/v4.1.x/consumer/junit5/src/main/kotlin/au/com/dius/pact/consumer/junit5/PactConsumerTestExt.kt be a good candidate?

keshav.reddy503
2021-04-27 12:06
has joined #documentation

jeremykeczan
2021-04-27 14:57
has joined #documentation

yeseniavega411
2021-04-27 15:31
has joined #documentation

almantusk
2021-04-27 16:56
has joined #documentation

bheemreddy181
2021-04-27 21:53
isn't the consumer_name missing in the example ?

alexandra.huamani
2021-04-28 00:12
has joined #documentation

tonynguyenit18
2021-04-28 02:12
has joined #documentation

agrawalneeraj43
2021-04-28 04:37
has joined #documentation

shixun.liu1023
2021-04-28 04:39
has joined #documentation

narendra.pathai
2021-04-28 06:21
has joined #documentation

marcin.grzejszczak
2021-04-28 13:53
has joined #documentation

flubniewski
2021-04-28 17:01
has joined #documentation

johnnycareer
2021-04-28 22:43
@johnnycareer has left the channel

yousafn
2021-04-30 08:35
Hey hey, Just want to say that these two bits of docs are absolutely brilliant https://pactflow.io/how-pact-works/ https://docs.pact.io/5-minute-getting-started-guide/ I particularly love the embedded repl projects, and link to a real broker. Imo in terms of getting people on board with the pact premise, it will be a gamechanger for me. Many :taco: ?s for the contributors who helped make that awesome!

tjones
2021-04-30 08:36
:taco: I think @matt.fellows did the 5 minute guide

tjones
2021-04-30 08:40
I don't remember who made the diagrams, but I know that @bethskurrie lead the charge on those :taco:

matt.fellows
2021-04-30 10:12
Yep. The 5 minute guide is shit though (the in browser thing is bloody annoying)

matt.fellows
2021-04-30 10:12
when I get a chance, I want to replace with https://docs.pactflow.io/docs/tutorials

matt.fellows
2021-04-30 10:13
which part of the 5 minute guide is good - the content, the in-browser IDE thing or both?

matt.fellows
2021-04-30 10:13
Sorry, I must have missed this Daniel

matt.fellows
2021-04-30 10:14
Looks like it. Might be worth popping into #pact-jvm to see if others have any thoughts

yousafn
2021-04-30 10:44
Both, the repl would be handy if you could open it in a separate window to be able to explore the files, but I don?t think that it too necessary. I think the first diagram shows the problem pact tries to solve, the 5 minute guide gives a nice overview in code/steps as what pact looks like at both ends (the consumer and provider) and being able to run the two reps to publish the contract and verify against a test broker without them having to set anything up. It feels like a really nice pictorial overview of the workshop content. Will check out new tutorials bud

matt.fellows
2021-04-30 10:46
ah cool, well that?s nice fedeback

matt.fellows
2021-04-30 10:46
appreciate that

matt.fellows
2021-04-30 10:47
to be fair, I basically used the same thing for the katacoda. The downside to katocoda is that you do need a GH account to login. The upside is, it works :stuck_out_tongue:

yousafn
2021-04-30 10:48
Those two examples worked for publishing and verifying tho :man-shrugging: at least I think they did, it was late haha

phelantomas
2021-04-30 11:30
Hey, still notice that it is still not working :cry:

roy_collings
2021-04-30 15:15
has joined #documentation

matt.fellows
2021-04-30 22:52
hmm, I thought I fixed it. It works locally but not on the site for some reason. Trying an absolute link instead


matt.fellows
2021-04-30 22:55
thanks for reporting

prachi_mangesh_edake
2021-05-03 04:43
has joined #documentation

sams.prashanth
2021-05-03 08:04
has joined #documentation

philip.m.wood
2021-05-03 12:46
has joined #documentation

amiller
2021-05-03 15:27
has joined #documentation

agarwal.akash333
2021-05-03 23:14
has joined #documentation

marcin.grzejszczak
2021-05-04 07:27
@marcin.grzejszczak has left the channel

anand.ilkal
2021-05-04 08:01
has joined #documentation

dennis.minard
2021-05-04 16:23
has joined #documentation

chris.williams
2021-05-04 16:41
has joined #documentation

ssorcnafets
2021-05-04 19:20
has joined #documentation

kowalczuk.jnr
2021-05-04 22:24
has joined #documentation

hugo
2021-05-05 00:48
has joined #documentation

jadelong
2021-05-05 15:51
has joined #documentation

agarwal.akash333
2021-05-06 01:30
This https://docs.pactflow.io/#configuring-your-api-token could really use a better layout in terms of headings. I keep getting lost.

alexei.solcanu
2021-05-06 02:01
has joined #documentation

matt.fellows
2021-05-06 02:51
Are you on mobile or desktop Akash? Also, do you see these headings?

matt.fellows
2021-05-06 02:51
Most of the content is in the last section, is that where it?s confusing?

agarwal.akash333
2021-05-06 02:51
Desktop, I?m talking about having sections for different languages :slightly_smiling_face:

matt.fellows
2021-05-06 02:52
thanks. I think it used to be in separate sections, in a tabbed view

agarwal.akash333
2021-05-06 02:53
Ah yep that?d be so helpful! Right now its barely sensible for me due to my OCD

matt.fellows
2021-05-06 02:54
Give it 5 mins, I?ve added section headings just now

agarwal.akash333
2021-05-06 02:54
Wow, you?re amazing. Thanks heaps!

matt.fellows
2021-05-06 02:56
No worries, appreciate you giving us the feedback

matt.fellows
2021-05-06 02:58
Should look like this when it goes out

agarwal.akash333
2021-05-06 02:59
Cheers Matt

agarwal.akash333
2021-05-06 03:11
So much more readable now! Clears up my confusion around junit5 and Gradle. Just to double check, is this still true?: Gradle Consumer ```pact { publish { providerVersion = { '<GIT_COMMIT>' } //yes, this field name is correct :( } }```

matt.fellows
2021-05-06 03:13
it seems right, but best to ask in #pact-jvm

agarwal.akash333
2021-05-06 04:01
Hey Matt, apologies for coming back at this. The JVM links are broken

greg595au
2021-05-06 04:46
HI @agarwal.akash333 can you post the actual page link please?

agarwal.akash333
2021-05-06 04:46
It?s the same page as in the OP


matt.fellows
2021-05-06 07:37
Thanks Akash, I?ve just fixed those also.

zonkor
2021-05-06 08:08
has joined #documentation

florian.mautendorfer
2021-05-06 14:04
has joined #documentation

john.mcnulty
2021-05-06 16:49
has joined #documentation

agarwal.akash333
2021-05-07 04:38
I would probably categorize some of the pages here like Maven, Gradle, Leiningen plugin, etc under another category called ?Provider verification?

tjones
2021-05-07 04:39
Good point

agarwal.akash333
2021-05-07 04:41
I would contribute but not sure if I can move the pages around

matt.fellows
2021-05-07 05:09
They are currently (auto) generated based on the sub-project in Pact JVM github repo

agarwal.akash333
2021-05-07 05:13
Ah, thought so. I did submit a PR for renaming the Gradle page?s title. Can definitely follow the same for other pages

tarunmehrotra3
2021-05-10 06:31
has joined #documentation

jbecker
2021-05-10 16:31
has joined #documentation

mail_4brad
2021-05-10 22:10
Cross posting this here as it could have a documentation answer. Thanks

james.wettenhall
2021-05-11 04:54
has joined #documentation

eduardo.marques
2021-05-11 09:19
has joined #documentation

al8x.romanov
2021-05-11 13:09
has joined #documentation

jr.jenks
2021-05-11 21:46
has joined #documentation

sammomichael
2021-05-12 02:27
has joined #documentation

tony.foster
2021-05-12 03:44
has joined #documentation

jan.businsky
2021-05-12 09:10
has joined #documentation

lreisch
2021-05-12 19:23
has joined #documentation

tjones
2021-05-12 23:19
We have some broken links that depend on how the page is loaded- for example, if you navigate directly here https://docs.pact.io/getting_started/how_pact_works/ , then the link back to the introduction doesn?t work. But if you navigate there from the menu then it does.

tjones
2021-05-12 23:20
Maybe we can detect these automatically?

bethskurrie
2021-05-12 23:20
They both work for me

bethskurrie
2021-05-12 23:22
what are you seeing?

bethskurrie
2021-05-12 23:22
Terrible bug report :stuck_out_tongue:

bethskurrie
2021-05-13 00:45
Ah! I was pressing the introduction on the side menu.

tjones
2021-05-13 00:46
This link is broken when you navigate to https://docs.pact.io/getting_started/how_pact_works/ directly

bethskurrie
2021-05-13 00:46
It's the slash on the end.


bethskurrie
2021-05-13 00:46
it's because there are actually two versions of the page.

bethskurrie
2021-05-13 00:46
one with the / and one without.


bethskurrie
2021-05-13 00:47
because it's statically generated

bethskurrie
2021-05-13 00:47
there's no server that says "remove the trailing slash". What is literally in the URL gets sent to the backend.

tjones
2021-05-13 00:47
There's something weird going on, too. The link leads to https://docs.pact.io/getting_started/ , which works

tjones
2021-05-13 00:47
if you go there directly

bethskurrie
2021-05-13 00:47
So there's one page called "foo" and one called "foo/index.html"

tjones
2021-05-13 00:47
but not via the link

bethskurrie
2021-05-13 00:48
the link in the page will be a relative link "./" and it resolves differently based on whether you went to "foo" or "foo/index.html"

bethskurrie
2021-05-13 00:49
anyway, I've put in a fix.

bethskurrie
2021-05-13 00:49
should be out in a couple of minutes. this is one of the reasons that I always use the full path for internal urls.

bethskurrie
2021-05-13 00:50
relative ones get buggy easily

tjones
2021-05-13 00:55
Is there some way we can detect these automatically? I thought the docs generator had a broken link detector, but maybe I'm mistaken

bethskurrie
2021-05-13 01:10
There is a broken links detector, but I don't think it understands the difference between the slash/no slash thing

jorge.curima.corp
2021-05-13 01:37
has joined #documentation

anh.evizi.test
2021-05-13 05:56
has joined #documentation

yka259
2021-05-13 08:22
has joined #documentation

joshibharat
2021-05-13 11:43
has joined #documentation

smankala
2021-05-13 20:55
has joined #documentation

martin.pelikan
2021-05-14 06:48
has joined #documentation

joao_glorioso
2021-05-14 08:41
has joined #documentation

ashok.jan31
2021-05-14 12:25
has joined #documentation

gusfisha
2021-05-14 19:52
has joined #documentation

keithgutfreund
2021-05-14 20:13
has joined #documentation

k.gutfreund
2021-05-15 03:47
has joined #documentation

siegcollado
2021-05-17 05:03
has joined #documentation

simon.thomas1978
2021-05-17 08:53
has joined #documentation

keimiokamoto
2021-05-17 10:36
has joined #documentation

fabian.feary
2021-05-17 11:52
has joined #documentation

josh.brangwyn
2021-05-17 12:19
has joined #documentation

xiao.liang
2021-05-17 16:41
has joined #documentation

bhattacharyyasom
2021-05-18 14:05
has joined #documentation

lalit210784
2021-05-18 17:55
has joined #documentation

zaxosdimi
2021-05-18 22:14
has joined #documentation

viktor.trako
2021-05-19 15:45
has joined #documentation

abdel.akkoub
2021-05-19 17:27
has joined #documentation

akrala
2021-05-19 21:22
has joined #documentation

mazi.fayazfar
2021-05-19 22:23
has joined #documentation

daniel.qu
2021-05-20 18:03
has joined #documentation

vijay.chawla
2021-05-21 08:37
has joined #documentation

tim.walter
2021-05-21 09:12
has joined #documentation

ankit.laddha
2021-05-21 14:03
has joined #documentation

dimundo
2021-05-21 14:09
has joined #documentation

include.melaz
2021-05-22 13:15
has joined #documentation

uddhavchopade
2021-05-23 08:32
has joined #documentation

lukasz.wlosek
2021-05-24 08:03
has joined #documentation

komathy_priya_dhanas
2021-05-24 09:26
has joined #documentation

nh.salah
2021-05-24 11:46
has joined #documentation

erinc1915
2021-05-24 16:11
has joined #documentation

nzarate
2021-05-24 18:11
has joined #documentation

jonathan.arreola
2021-05-24 21:20
has joined #documentation

cesar.consultorjr
2021-05-24 21:39
has joined #documentation

gdfesta
2021-05-25 00:44
has joined #documentation

utsavk3210
2021-05-25 08:37
has joined #documentation

daniel.cardinha
2021-05-25 10:06
has joined #documentation

dan.haughey
2021-05-25 14:34
has joined #documentation

vince.lee
2021-05-25 14:36
has joined #documentation

pact544
2021-05-25 16:01
has joined #documentation

shlomi
2021-05-25 22:41
has joined #documentation

raquel.bautista
2021-05-26 09:38
has joined #documentation

aubilla
2021-05-26 09:52
has joined #documentation

vishnuprakash323
2021-05-26 10:46
has joined #documentation

rob.caiger
2021-05-26 11:54
has joined #documentation

lio.lunesu
2021-05-26 17:55
has joined #documentation

nahuel.dallavecchia
2021-05-26 20:24
has joined #documentation

mathew.baltes
2021-05-26 23:33
has joined #documentation

stephen.leece
2021-05-26 23:44
has joined #documentation

james_fraser
2021-05-27 09:23
has joined #documentation

mostafa.zaher
2021-05-27 10:13
has joined #documentation

utsavtiwary10
2021-05-27 10:53
has joined #documentation

kamoljan
2021-05-28 02:39
has joined #documentation

mathias.duesterhoeft
2021-05-28 08:59
has joined #documentation

matty_o_connor01
2021-05-28 15:57
has joined #documentation

nathaniel.emmons
2021-05-28 18:25
has joined #documentation

sapoho3257
2021-05-29 16:10
has joined #documentation

andjela.rajic
2021-05-30 20:00
has joined #documentation

sumitsg004
2021-05-31 05:10
has joined #documentation

allan.barbosa
2021-05-31 14:08
has joined #documentation

vinicius.grund
2021-05-31 14:35
has joined #documentation

todd.lemmonds
2021-06-01 15:57
has joined #documentation

alexander.infante
2021-06-01 15:57
has joined #documentation

michael.doyle
2021-06-01 15:58
has joined #documentation

paulorochag
2021-06-01 20:20
has joined #documentation

jaspal.gill
2021-06-02 15:23
has joined #documentation

wenqiglantz
2021-06-02 18:19
has joined #documentation

ch.toimbetov
2021-06-02 21:46
has joined #documentation

xyz1kind
2021-06-03 05:03
has joined #documentation

aftab.shamim2020
2021-06-03 06:02
has joined #documentation

slu.mendozaharold
2021-06-03 10:33
has joined #documentation

sergio.artero
2021-06-04 10:07
has joined #documentation

v-gabriel.dantas
2021-06-04 15:26
has joined #documentation

leonardo.viana
2021-06-04 18:52
has joined #documentation

yashdev963
2021-06-07 06:51
has joined #documentation

i.pinzari
2021-06-07 17:27
has joined #documentation

gurkiratguliani
2021-06-07 19:36
has joined #documentation

krishna.ramnk
2021-06-08 13:24
has joined #documentation

sagar.kharab
2021-06-09 00:32
has joined #documentation

david.vancouvering
2021-06-09 03:36
has joined #documentation

nuno.pik
2021-06-09 06:58
has joined #documentation

natashakdykes
2021-06-09 16:06
has joined #documentation

torbjorn.vatn
2021-06-09 17:30
has joined #documentation

s.goel
2021-06-10 08:57
has joined #documentation

kondal.ramidi
2021-06-10 16:13
has joined #documentation

richard
2021-06-11 00:13
has joined #documentation

jwcarman
2021-06-11 14:23
has joined #documentation

hello370
2021-06-11 14:58
has joined #documentation

vikrant82
2021-06-12 12:16
has joined #documentation

daniel.bubenheim
2021-06-14 08:05
has joined #documentation

joaoproenca
2021-06-14 10:15
has joined #documentation

vinicius.grund
2021-06-14 13:16
There is any pact file format example?

matt.fellows
2021-06-14 14:08
What are you trying to do exactly?

matt.fellows
2021-06-14 14:08
Do you want to know how to serialise a pact manually?

e.pittaluga.b
2021-06-14 16:34
has joined #documentation

npatil
2021-06-14 17:28
has joined #documentation

fnguyen
2021-06-14 18:22
You could look https://github.com/pact-foundation/pact-specification but typically, the pact would not be hand written but generated.

vinicius.grund
2021-06-14 18:25
I'm building a Pact generator from OpenAPI and I'm trying to figure out the Pact schema


matt.fellows
2021-06-15 00:04
Would love to know more about this Vinicius!

matt.fellows
2021-06-15 00:05
Is it for the consumer side or provider?


lucas.rolle
2021-06-15 06:48
has joined #documentation

caoilte
2021-06-15 11:36
has joined #documentation

sreid
2021-06-15 11:48
has joined #documentation

vinicius.grund
2021-06-15 11:55
It's for consumer side. Contract auto-generated

matt.fellows
2021-06-15 12:03
How are you ensuring the consumer code is compatible with the swagger?

matt.fellows
2021-06-15 12:03
Did you read the link I sent?

matt.fellows
2021-06-15 12:04
Generating a pact file from a swagger file is fine, but you need to ensure that your consumer code is compatible with with the swagger, otherwise you don't get any guarantees.. I can see ways to do that, the most obvious being generating a swagger from types

matt.fellows
2021-06-15 12:04
How do you plan to solve it?

vinicius.grund
2021-06-15 12:23
I'm exporting the OpenAPI as a file automatically. Assuming that there is no real consumer, I'm don't wanna wait a real consumer to ensure my contracts, it's beatiful but not a real life. In that case I always have at least one contract, ensuring the my API doesn't change.

danielabbitt
2021-06-15 17:12
has joined #documentation

tom.borglum
2021-06-15 17:29
has joined #documentation

allan.barbosa
2021-06-15 21:56
the plan is to generate a "release consumer"

matt.fellows
2021-06-15 22:01
Looking forward to seeing how you deal with `anyOf` and `oneOf` :rolling_on_the_floor_laughing:

michael.branders
2021-06-16 06:57
has joined #documentation

jedlicka
2021-06-16 10:12
has joined #documentation

jpasse
2021-06-16 13:45
has joined #documentation

jan.malkiewicz
2021-06-16 14:48
has joined #documentation

jeen.broekstra
2021-06-17 06:13
has joined #documentation

minijb225
2021-06-17 06:44
has joined #documentation

jarmy
2021-06-17 23:11
has joined #documentation

tomknee1
2021-06-18 08:15
has joined #documentation

rockin291
2021-06-19 05:18
has joined #documentation

zainamro1
2021-06-20 17:17
has joined #documentation

nferrazzano
2021-06-21 05:23
has joined #documentation

lewis.prescott079
2021-06-21 12:55
has joined #documentation

vlad
2021-06-21 18:23
has joined #documentation

christopher.doherty
2021-06-21 19:01
has joined #documentation

liorra
2021-06-22 04:17
has joined #documentation

stanojevic.boban
2021-06-22 10:20
has joined #documentation

miguel.carneiro
2021-06-22 12:51
has joined #documentation

srinagasai.krishnasan
2021-06-22 17:35
has joined #documentation

varnit.garg2424
2021-06-23 06:19
has joined #documentation

sams.prashanth
2021-06-23 10:29
Hey @matt.fellows is there any documentation with the commands to publish OpenApi Provider Contract and verification results to pactflow?

sams.prashanth
2021-06-23 10:29
I see this link https://docs.pactflow.io/docs/workshops/bi-directional/contracts/pact/#publishing-the-provider-contract--results-to-pactflow But there are no CLI cmds that push provider contracts along with the verification results

sams.prashanth
2021-06-23 10:33
Pardon me if I'm miss something :slightly_smiling_face:

varun.patil
2021-06-23 12:44
has joined #documentation

matt.fellows
2021-06-23 13:13
Thanks, I?ll fix this tomorrow!


matt.fellows
2021-06-23 13:13
Correct, no CLI just yet

matt.fellows
2021-06-23 13:14
we?re still taking feedback on the approach before we build external tooling into e.g. the Pact CLI tools


sams.prashanth
2021-06-23 13:17
Perfect; thank you so much @matt.fellows :slightly_smiling_face:

bethskurrie
2021-06-23 22:28
@sams.prashanth the reason there is no CLI tool to publish the verification results is that they have to be published within the test task itself, because if it fails, there will be no task that runs afterwards.

bethskurrie
2021-06-23 22:29
The results aren't written to a disk for a follow up task to publish (like the contracts) they're stored in memory.

mselvakumar
2021-06-23 23:54
has joined #documentation

srikanth.rachakonda
2021-06-24 02:32
has joined #documentation

ali.akbar
2021-06-24 06:58
has joined #documentation

sams.prashanth
2021-06-24 07:03
Makes sense. Thank you for clearing that @bethskurrie

erterpstra
2021-06-24 19:20
has joined #documentation

abinzahid
2021-06-25 06:12
has joined #documentation

jchandorkar
2021-06-26 09:01
has joined #documentation

rani.sathya
2021-06-27 04:14
has joined #documentation

cala.dev_pact
2021-06-28 04:07
has joined #documentation

robert.rap
2021-06-28 06:34
has joined #documentation

v-ratngupta
2021-06-28 07:13
has joined #documentation

e.hallowell
2021-06-28 13:28
has joined #documentation

mishalalexander20
2021-06-29 07:36
has joined #documentation

lukemufc125
2021-06-29 07:57
has joined #documentation

prash471
2021-06-29 09:43
has joined #documentation

martijn.hagens
2021-06-29 10:12
has joined #documentation

mikko.s.koskinen
2021-06-29 17:05
has joined #documentation

zhaoyi0113
2021-06-30 02:13
has joined #documentation

sgottipati
2021-07-01 06:02
has joined #documentation

vshankar
2021-07-01 06:06
has joined #documentation

e.generalov
2021-07-01 07:19
has joined #documentation

eduards.klavins
2021-07-01 13:44
has joined #documentation

felix.gomez
2021-07-01 14:38
has joined #documentation

bbako
2021-07-01 20:51
has joined #documentation

phil.armstrong
2021-07-02 06:49
has joined #documentation

gargshubham49
2021-07-02 07:21
has joined #documentation

phil.armstrong
2021-07-02 12:08
Hi I have a question about the pact-stub-server if that's ok? We are investigating using pact and wanted to utilize the contracts to generate our mocks for browser tests. I've got everything setup locally using docker and its working. On our broker we have an endpoint with 2 different states, the pact-stub-server always returns the first state, is there a way to toggle which is returned?

uglyog
2021-07-03 01:58
You mean based on provider state?

vinnys.lins
2021-07-05 13:49
has joined #documentation

talank
2021-07-06 03:52
has joined #documentation

juri.petersen
2021-07-06 07:29
has joined #documentation

leolvicario
2021-07-06 07:36
has joined #documentation

swoichhaa
2021-07-06 08:46
has joined #documentation

ivo.velthoven174
2021-07-06 09:28
has joined #documentation

fjtdg
2021-07-06 12:16
has joined #documentation

steve.etherington
2021-07-06 16:44
has joined #documentation

rosh.mjohn
2021-07-07 07:19
has joined #documentation

mahajanalokkumar
2021-07-07 10:41
has joined #documentation

jyiyng2002
2021-07-07 19:57
has joined #documentation

splurgeop
2021-07-07 21:48
has joined #documentation

kapoor.manil
2021-07-07 22:30
has joined #documentation

pashas.2k3
2021-07-08 03:41
has joined #documentation

vijayanaggella
2021-07-08 05:25
has joined #documentation

ananthshenoy03
2021-07-08 05:46
has joined #documentation

sai5i.islam
2021-07-08 06:40
has joined #documentation

poorvasgokhale
2021-07-08 09:08
has joined #documentation

suresh.thammishetti
2021-07-08 11:08
has joined #documentation

michael.katende
2021-07-09 10:41
has joined #documentation

marcin.baranowski953
2021-07-09 10:42
has joined #documentation

bedfordwest
2021-07-10 22:21
has joined #documentation

firstamit
2021-07-11 14:07
has joined #documentation

omar554
2021-07-11 21:54
has joined #documentation

k.deepupardha
2021-07-12 10:23
has joined #documentation

lumenofor
2021-07-12 10:46
has joined #documentation

jayr.motta
2021-07-12 13:57
has joined #documentation

doug.shattuck
2021-07-12 20:26
has joined #documentation

sorin_balbae
2021-07-13 07:41
has joined #documentation

akara
2021-07-13 10:34
has joined #documentation

nathan.derave
2021-07-13 12:28
has joined #documentation

matthew.schaad
2021-07-13 21:29
has joined #documentation

neenad.jadhavgre
2021-07-13 22:30
has joined #documentation

cristian
2021-07-14 06:18
has joined #documentation

michal.bernhard
2021-07-14 11:16
has joined #documentation

richard.jones254
2021-07-14 23:53
has joined #documentation

edanielsen
2021-07-15 00:46
has joined #documentation

abatan.k
2021-07-15 03:48
has joined #documentation

mandeep302755
2021-07-15 04:49
has joined #documentation

mahajanrupali22
2021-07-15 05:46
has joined #documentation

hylke.de.jong
2021-07-15 12:49
has joined #documentation

efemgy
2021-07-15 14:27
has joined #documentation

amreenshaik.basha
2021-07-16 04:06
has joined #documentation

rhian.van.esch
2021-07-16 12:14
has joined #documentation

wilco.van.esch
2021-07-16 12:30
has joined #documentation

karl.morrison
2021-07-16 12:56
has joined #documentation

timothyjabez
2021-07-16 17:23
has joined #documentation

ppdnguyen
2021-07-18 16:23
has joined #documentation

cgoodison
2021-07-18 23:56
has joined #documentation

steve.etherington
2021-07-19 11:38
Hi, I remember a seeing a diagram showing a provider test that only tested the request handling code, not the business logic and dependencies. The document said this was analogous to consumer tests which only tested the request and response handling. I can?t find it anymore; can anyone point me to this doc or presentation?

sripathi
2021-07-19 12:30
has joined #documentation

calvin.krist
2021-07-19 15:29
has joined #documentation

vinay.viswanadha
2021-07-19 15:30
has joined #documentation

brian.mitchell
2021-07-19 15:37
has joined #documentation

mike.geeves064
2021-07-19 18:07
has joined #documentation

tjones
2021-07-20 02:53
I was looking for that the other day too, so if anyone knows I'd love to find it

tjones
2021-07-20 02:58
There are a couple of diagrams that might be similar to what you are looking for in my talk here: https://youtu.be/wkld_wRsTDE?t=1939 and https://youtu.be/wkld_wRsTDE?t=1977

tjones
2021-07-20 02:58
(I just put the timestamps to where the diagrams were, I didn't look for the start of the explanation)

tjones
2021-07-20 02:59
I think this diagram has the key point: https://youtu.be/wkld_wRsTDE?t=2371 which is "Pact tests are not functional tests, but it's good if they have incidental functional coverage".

tjones
2021-07-20 03:00
I thought we had documentation about this too, though.

bethskurrie
2021-07-20 06:00
@steve.etherington are you talking about this? https://docs.pact.io/consumer/contract_tests_not_functional_tests

ben.clare2
2021-07-20 08:16
has joined #documentation

steve.etherington
2021-07-20 08:26
Thanks, for these pointers, I will look at them in more detail. I may have been thinking of the first image in this section https://docs.pact.io/5-minute-getting-started-guide#testing-the-order-api-provider-project, and the first bullet point in the choices ```Invoke just the controller layer (in an MVC app, or the "Adapter" in our diagram) and stub out layers beneath``` (though it might have been the same diagram in a video ?) I think though that all 3 options are going to invoke the whole http stack.

rafael.moral
2021-07-20 11:48
has joined #documentation

andrii.rakhimov
2021-07-20 23:06
has joined #documentation

boris.gordon
2021-07-20 23:25
has joined #documentation

ryn.anderson
2021-07-22 17:41
has joined #documentation

schakalabbi
2021-07-22 21:29
has joined #documentation

uryadov212
2021-07-23 06:21
@uryadov212 has left the channel

consulting
2021-07-23 12:33
has joined #documentation

galante2123
2021-07-23 14:14
has joined #documentation

dc113604
2021-07-23 14:39
has joined #documentation


tjones
2021-07-25 02:36
What's the spelling mistake? (sorry, I don't see it in the screenshot after a few reads)

tjones
2021-07-25 02:37
Ah! Repeated `are`?

kamoljan
2021-07-25 02:37
yeah

tjones
2021-07-25 02:37
Oh, this is a Pactflow page

kamoljan
2021-07-25 02:37
sorry, I should be more specific

tjones
2021-07-25 02:38
I'll share this in the #pactflow channel

kamoljan
2021-07-25 02:38
oh, thank you! :slightly_smiling_face:

bethskurrie
2021-07-25 23:13
@steve.etherington there is debate about that in the pact community, but I think just testing the Adapter layer is risky. The benefit of pact over schema testing is that you get confirmation of the expected response based on your inputs, and business logic determines which of the potential responses will be returned.

dsinecos
2021-07-26 04:49
has joined #documentation

mebenhoeh
2021-07-26 05:20
has joined #documentation

dsmileb
2021-07-26 16:06
has joined #documentation

hazel.wright
2021-07-26 19:04
has joined #documentation

matt682
2021-07-27 01:32
has joined #documentation

achuljyan
2021-07-27 07:06
has joined #documentation

vbhardwaj.eminent
2021-07-28 05:15
has joined #documentation

miguel.panelo
2021-07-28 07:29
has joined #documentation

otaviio
2021-07-28 07:57
has joined #documentation

patrice.krakow
2021-07-28 10:00
has joined #documentation

david.simpson
2021-07-28 12:51
has joined #documentation

e.alderson004
2021-07-28 17:17
has joined #documentation

jdalessandro
2021-07-29 07:27
has joined #documentation

eric.tang1
2021-07-29 16:22
has joined #documentation

antklim
2021-07-29 22:25
has joined #documentation

toffer.lim87
2021-07-30 03:51
has joined #documentation

aphronio
2021-07-30 13:42
has joined #documentation

bheemreddy181
2021-07-31 14:39
There is never a right answer for this I guess

fabio882
2021-08-01 19:31
has joined #documentation

mike.key
2021-08-02 03:01
has joined #documentation

eddie
2021-08-02 04:08
has joined #documentation



marvin.kienitz
2021-08-05 07:20
has joined #documentation

danieljak
2021-08-05 10:09
has joined #documentation

univ.anirudh
2021-08-05 13:22
has joined #documentation

james.perepiczka
2021-08-05 16:29
has joined #documentation

j3rry.wan9
2021-08-05 21:44
has joined #documentation

sadikshahidain
2021-08-06 02:14
has joined #documentation

ganginenik
2021-08-06 18:14
has joined #documentation

george.south
2021-08-09 21:52
@george.south has left the channel

xiaoyewang
2021-08-10 01:13
has joined #documentation

mfellows_admin
2021-08-10 02:52
has joined #documentation

qingyuliu
2021-08-10 09:27
has joined #documentation

dhairyapatel071996
2021-08-10 20:06
has joined #documentation

beem132
2021-08-10 21:21
has joined #documentation

rfang
2021-08-11 00:49
has joined #documentation

subhashnarla
2021-08-11 07:29
has joined #documentation

jkdihenkar
2021-08-11 10:43
has joined #documentation

christian.kampka
2021-08-11 10:51
has joined #documentation

ashwinparthasarathy30
2021-08-11 11:23
has joined #documentation

andrew.jensen
2021-08-11 16:18
has joined #documentation

vivekkurhe1993
2021-08-12 03:44
has joined #documentation

aakbar
2021-08-12 06:05
has joined #documentation

tm.buga
2021-08-12 08:55
has joined #documentation

yanivhad
2021-08-12 08:58
has joined #documentation


tjones
2021-08-12 11:48
Good catch, thank you!

tjones
2021-08-12 11:48
I'll fix that up now

tjones
2021-08-12 11:54
Ah, that turns out to be in an autogenerated section of the docs. I'm not sure how that works. I'll open an issue for someone who knows.

francois.fernandes
2021-08-12 11:55
has joined #documentation


dimundo
2021-08-12 21:01
hi! question about https://docs.pact.io/pact_broker/administration/maintenance/#examples > The selectors combine by AND, so `[{"max_age": 30}, { "latest": true, tag: true }, { "tag": "production" }]` would be ?keep everything that?s less than 30 days old AND keep the latest version for every pacticipant/tag AND keep all the production versions?. for me it looks like OR, some rephrase needed > The selectors combine by OR, so `[{"max_age": 30}, { "latest": true, tag: true }, { "tag": "production" }]` would be ?keep everything that?s less than 30 days old , keep the latest version for every pacticipant/tag , keep all the production versions?. if it would be AND it would mean ?keep latest production version, which is not older than 30 days?

bethskurrie
2021-08-13 00:34
Thanks @dimundo. That is unclear. I'll update it.

bethskurrie
2021-08-13 00:58
I've updated it now.

bethskurrie
2021-08-13 00:58
Let me know if that makes more sense.

dimundo
2021-08-13 05:36
yes, now its clear, thank you :+1:

j3rry.wan9
2021-08-13 08:54
Hi, where I can find more documentation about generators? I saw someone uses `headerFromProviderState` (pact-jvm) in the consumer tests, I'm trying to understand how generators work.

matt.fellows
2021-08-13 10:01
:taco: for Beth!

phil.endsley
2021-08-13 13:23
Are you looking for jvm specific docs? For using the 'FromProviderState' methods: https://docs.pact.io/implementation_guides/jvm/consumer/#having-values-injected-from-provider-state-callbacks

j3rry.wan9
2021-08-13 14:49
Thanks! I think that's exactly what I need.

johnathan.gilday
2021-08-13 16:40
has joined #documentation

ben.kaiser
2021-08-13 17:47
has joined #documentation

dbekman
2021-08-13 20:51
has joined #documentation

uglyog
2021-08-14 04:27
That's a good point, the generators are mostly implicit in the V3 matching rules. They need to be documented.

uglyog
2021-08-14 04:28
@matt.fellows @bethskurrie @tjones we need a documentation project to collect all these things.

matt.fellows
2021-08-14 04:42
Is there a reason why these aren't part of the spec itself?

matt.fellows
2021-08-14 04:43
Is it because this is a feature, not about matching?

uglyog
2021-08-14 04:44
Because nobody has written anything about them

tjones
2021-08-14 06:12
Yes. We do need this stuff documented

tjones
2021-08-14 06:13
I can take a look after the major release in pact-js, but that might be a while

matt.fellows
2021-08-14 09:37
Set reminder to follow up next week

chen
2021-08-15 09:34
has joined #documentation

tom.willmott
2021-08-16 13:47
has joined #documentation

franklin.lucena89
2021-08-16 16:52
has joined #documentation

ram.tripathi
2021-08-17 06:33
has joined #documentation

ricardo.neto
2021-08-17 09:22
has joined #documentation

andrew.patterson
2021-08-17 14:55
has joined #documentation

pshah
2021-08-17 15:31
has joined #documentation

dylanchase26
2021-08-18 04:11
has joined #documentation

satish.chandra
2021-08-18 05:54
has joined #documentation

flynnhandley
2021-08-18 22:30
has joined #documentation

thomaswtsang
2021-08-19 16:53
has joined #documentation

chris005
2021-08-19 19:07
has joined #documentation

srimuralixi
2021-08-20 02:18
has joined #documentation

manika.goel
2021-08-20 05:38
has joined #documentation

akanksha.sharma
2021-08-20 06:31
has joined #documentation

jonah
2021-08-20 14:42
has joined #documentation

tlzhou
2021-08-20 15:02
has joined #documentation

ramya.sri
2021-08-23 03:52
has joined #documentation

joseramonrivera21
2021-08-23 08:49
has joined #documentation

denny.duttig
2021-08-23 10:10
has joined #documentation

akansha.saraswat3
2021-08-23 10:50
has joined #documentation

sushant.soni
2021-08-23 21:10
has joined #documentation

ajaiswal595
2021-08-24 11:00
has joined #documentation

pd287515778
2021-08-24 12:48
has joined #documentation

hwebster
2021-08-25 05:30
has joined #documentation

hoangvo
2021-08-25 05:43
has joined #documentation

jobjingjo
2021-08-25 06:20
has joined #documentation

sagarsitap596
2021-08-25 14:10
has joined #documentation

kyle.fischer
2021-08-25 16:31
has joined #documentation

datasmithadvtech
2021-08-25 19:43
has joined #documentation

todor.m.kolev
2021-08-25 19:59
has joined #documentation

sushmitha.amin
2021-08-26 04:31
has joined #documentation

shwetastar98
2021-08-26 12:35
has joined #documentation

contact
2021-08-26 12:44
has joined #documentation

malena.cadima
2021-08-26 16:07
has joined #documentation

louis.ss
2021-08-27 01:42
has joined #documentation

sergio.amorim
2021-08-27 14:40
has joined #documentation

slin
2021-08-29 23:51
has joined #documentation

shane.robinson
2021-08-30 00:30
has joined #documentation

br.maher
2021-08-30 04:35
has joined #documentation

kwongyun
2021-08-30 15:57
has joined #documentation

0x06065a
2021-08-31 00:02
has joined #documentation

matt.thomas
2021-08-31 05:29
has joined #documentation

abhi.nandan964
2021-08-31 10:19
has joined #documentation

shivi.btech08
2021-08-31 21:03
has joined #documentation

kpuengpanich
2021-09-01 07:14
has joined #documentation

mhmtyuceoz
2021-09-01 07:35
has joined #documentation

volkan.tufekci
2021-09-02 08:47
has joined #documentation

yassine
2021-09-02 10:59
has joined #documentation

connor.beck
2021-09-02 13:39
has joined #documentation

maurits.out
2021-09-02 15:12
has joined #documentation

kumasaka.tk
2021-09-02 21:24
has joined #documentation

valeriia.danylenko
2021-09-03 18:26
has joined #documentation

irmt06
2021-09-04 22:51
has joined #documentation

wenqiglantz
2021-09-05 00:53
Check out my article on Medium on using Pact for testing event driven pub/sub messaging with Dapr within Spring Boot microservices.  https://medium.com/codex/consumer-driven-contract-testing-with-pact-f8a28a8a7c3c

divyalakshmi.gk
2021-09-07 01:46
has joined #documentation

constantin.jaeck
2021-09-07 02:24
has joined #documentation

narendra_uppara
2021-09-07 07:17
has joined #documentation

nikuplanchiwar
2021-09-07 08:03
has joined #documentation

sdomeracki
2021-09-07 10:22
has joined #documentation

gibraltor999
2021-09-07 12:03
has joined #documentation

norway.martin
2021-09-07 18:38
has joined #documentation

adamdullenty
2021-09-08 08:23
has joined #documentation

martin.a.harkins
2021-09-08 12:15
has joined #documentation

rocco.smit
2021-09-09 06:20
has joined #documentation

andrei_mironau
2021-09-09 10:00
has joined #documentation

febin.sathar
2021-09-09 10:16
has joined #documentation

jcaromiq
2021-09-09 11:47
has joined #documentation

mirko.zipris
2021-09-09 20:08
has joined #documentation

dotelnp
2021-09-10 06:48
has joined #documentation

sameer.patil
2021-09-10 18:42
has joined #documentation

b.1.alpha
2021-09-10 19:17
has joined #documentation

naushad_amin
2021-09-11 23:15
has joined #documentation

jose_rodriguez
2021-09-13 13:16
has joined #documentation

kyle_evans
2021-09-13 13:16
has joined #documentation

rahul.louis
2021-09-13 15:55
has joined #documentation

a.koka
2021-09-13 17:01
has joined #documentation

efloresambrosio
2021-09-13 20:09
has joined #documentation

olle_hallin
2021-09-14 05:50
has joined #documentation

a.babenko
2021-09-14 14:00
has joined #documentation

vasavi.balanagu
2021-09-14 16:49
has joined #documentation

samuel.sjoberg
2021-09-14 21:49
has joined #documentation

domingo
2021-09-14 23:51
has joined #documentation

pradeepkumarstudent20
2021-09-15 03:32
has joined #documentation

bryan
2021-09-15 15:16
has joined #documentation

dboxler
2021-09-15 18:35
has joined #documentation

keerthisiv
2021-09-16 03:59
has joined #documentation

adelina.simion
2021-09-16 08:41
has joined #documentation

akke.luukkonen
2021-09-16 10:29
has joined #documentation

alejandro.pena
2021-09-16 13:37
has joined #documentation

bbleach
2021-09-17 07:30
has joined #documentation

rushideshpandes
2021-09-20 13:11
has joined #documentation

gemhar
2021-09-20 14:33
has joined #documentation

jsegall
2021-09-20 21:37
has joined #documentation

dalkire
2021-09-21 13:30
has joined #documentation

hakan.celebi
2021-09-21 19:43
has joined #documentation

sadikshahidain
2021-09-22 01:50
(Sorry if this is the wrong channel for this. If it is lmk and I can move it) Does anyone know where I can find information on how the Ruby standalone service validates headers? TL;DR I was trying to write consumer tests for an older PHP service today, but ran into issues with some of the requests having a (non-standard?) "HTTP Protocol" header set to "HTTP/1.1", leading to 4xx responses/"Bad Request" exceptions from the mock server. AFAICT these headers aren't even needed on the (1) provider side so I was thinking of just removing them, but I was curious as to why this might be happening in the first place (and didn't seem to find any info in the mock server's log file about it either) Thanks in advance!

tjones
2021-09-22 07:44
Probably better asked in the ruby or ruby standalone channel. It feels like maybe that's not a valid header and so the http library is refusing to accept the request?

tjones
2021-09-22 07:45
We sometimes run into this with invalid cases (eg http bodies where there aren't meant to be) - it's hard for us to handle non-standards compliant request/response pairs because pact is implemented in several different languages, and we don't really control the http libraries that are used in all languages.

tjones
2021-09-22 07:47
There might be something else going on, though. I don't think it's invalid to make up your own header names.

tjones
2021-09-22 07:50
Ah, if it is literally `HTTP Protocol: HTTP/1.1` I think it's invalid because of the space in the header name

tjones
2021-09-22 07:51
From RFC 2616: ```message-header = field-name ":" [ field-value ] field-name = token token = 1*<any CHAR except CTLs or separators> separators = "(" | ")" | "<" | ">" | "@" | "," | ";" | ":" | "\" | <"> | "/" | "[" | "]" | "?" | "=" | "{" | "}" | SP | HT```

tjones
2021-09-22 07:52
Space is a separator and not valid inside a header field name

nrobison
2021-09-22 15:39
has joined #documentation

calise
2021-09-22 17:06
has joined #documentation

nareshnavinash
2021-09-23 09:28
has joined #documentation

radu.simu
2021-09-23 09:38
has joined #documentation

aterrong
2021-09-23 09:42
has joined #documentation

nisharaveendran30
2021-09-23 10:34
has joined #documentation

sujithsukumaranm
2021-09-23 10:36
has joined #documentation

sureshbabudevaki
2021-09-23 12:01
has joined #documentation

greg.hinsley
2021-09-23 12:29
has joined #documentation

sadikshahidain
2021-09-24 02:39
Ahh perfect!! Thank you so much for this :pray: Now if only I could figure out why that was put there in the 1st place to feel better about taking it out :fearful:

nyman.robin
2021-09-24 07:07
has joined #documentation

tjones
2021-09-24 07:36
I know that pain :joy:

tjones
2021-09-24 07:36
(Also, you're welcome)

ricardo.paquito
2021-09-24 10:36
has joined #documentation

abramenkov.valentin
2021-09-24 12:42
has joined #documentation

leo.tang
2021-09-24 17:56
has joined #documentation

jyotiguptaofficial
2021-09-25 13:00
has joined #documentation

mattandaey
2021-09-25 20:32
has joined #documentation

saurelio58
2021-09-27 12:39
has joined #documentation

francisco
2021-09-27 18:27
has joined #documentation

jamesatroughton
2021-09-28 10:42
has joined #documentation

jake.thacker
2021-09-28 22:06
has joined #documentation

craig.schwarzwald
2021-09-28 22:37
has joined #documentation

owain.hunt
2021-09-29 12:58
has joined #documentation

damtsisa
2021-09-30 06:58
has joined #documentation

morsisdivine
2021-09-30 09:23
has joined #documentation

patrice.jy.thomas
2021-09-30 15:05
has joined #documentation

kschendster
2021-09-30 16:46
has joined #documentation

adam.dubnytskyy
2021-09-30 17:49
has joined #documentation

stefano.varesi
2021-09-30 17:51
has joined #documentation

steven.yi
2021-09-30 20:17
has joined #documentation

calcorbin
2021-09-30 23:09
has joined #documentation

osikwemhev
2021-10-01 01:45
has joined #documentation

kentaro
2021-10-01 10:05
has joined #documentation

vitali.domashkevitsh
2021-10-01 10:08
has joined #documentation

seb983
2021-10-01 11:30
has joined #documentation

vannessa.andrade
2021-10-01 14:44
has joined #documentation

mickfagan
2021-10-02 10:36
has joined #documentation

maxim.matviyuk
2021-10-03 16:48
has joined #documentation

jonathan.a.stern
2021-10-03 20:38
has joined #documentation

chris.ramsden
2021-10-04 16:40
has joined #documentation

brian.fung
2021-10-05 04:57
has joined #documentation

elekberhacizade
2021-10-05 05:27
has joined #documentation

ankit.wadhwana
2021-10-05 12:23
has joined #documentation

zhaopeng
2021-10-05 12:24
has joined #documentation

bjorn.johansson
2021-10-05 13:16
has joined #documentation

pcting
2021-10-05 18:57
has joined #documentation

aulia.ahn
2021-10-06 00:01
has joined #documentation

muralis
2021-10-06 01:21
has joined #documentation

lakapoor777
2021-10-06 08:47
has joined #documentation

bethskurrie
2021-10-06 08:49
If anyone is looking for something to do for Hacktoberfest, would love some matcher examples here https://github.com/pact-foundation/docs.pact.io/issues/88

bethskurrie
2021-10-06 08:50
That's a really weird header

bethskurrie
2021-10-06 08:50
I've never seen rack have that before

bethskurrie
2021-10-06 08:51
Oh, right, that's a header you're setting yourself

bethskurrie
2021-10-06 08:51
Not a rack one.

garry.jeromson973
2021-10-06 09:52
has joined #documentation

tjones
2021-10-06 10:41
Yes yes yes! I'm happy to help with pointers for anyone wanting to work on this

anagha.sulakhe
2021-10-06 16:27
has joined #documentation

mike.geeves064
2021-10-06 21:11
Sort of on my list when I had tried looking at rust logging but erm, progress slow :disappointed: I did wonder about themes for the docs, it might be "nice" if there's a common theme for examples for consistency rather than if everyone does something completely different in each language

mesut.gunes
2021-10-07 09:03
has joined #documentation

mike.geeves064
2021-10-07 11:32
(that's not in any way saying to anyone else "don't do it, it's mine!" btw :slightly_smiling_face:)

vandana.bhaskersen
2021-10-08 09:58
has joined #documentation

ad.redouani
2021-10-09 15:11
has joined #documentation

amulyadoss
2021-10-09 21:09
has joined #documentation

farshad.falaki
2021-10-10 19:13
has joined #documentation

jhopkinwilliams
2021-10-12 02:01
has joined #documentation

josephhaig
2021-10-12 08:52
has joined #documentation

margarita.lukjanska
2021-10-12 10:12
has joined #documentation

oak155online
2021-10-12 14:17
has joined #documentation

filipovic
2021-10-13 06:51
has joined #documentation

stefan.smith
2021-10-13 09:37
has joined #documentation

warren
2021-10-13 16:45
has joined #documentation

michael.stein
2021-10-13 19:02
has joined #documentation

hwillj
2021-10-14 14:52
has joined #documentation

fengniy
2021-10-15 02:09
has joined #documentation

mark.dathorne
2021-10-15 09:51
has joined #documentation

haroldlearning93
2021-10-15 14:49
has joined #documentation

vsrungar95
2021-10-15 22:14
has joined #documentation

zhaoyi0113
2021-10-16 05:52
Does pact support event driven contract testing? I remember I saw it somewhere but can find the doc now.


matt.fellows
2021-10-16 05:54
It's called message Pact

zhaoyi0113
2021-10-16 07:23
Awesome this is what I was looking for.

jsoto128
2021-10-16 20:45
has joined #documentation

fiszczu
2021-10-17 17:04
has joined #documentation

brocheleau
2021-10-18 03:23
has joined #documentation

andrerc
2021-10-18 22:11
has joined #documentation

rodolfo.valenzuela
2021-10-19 07:43
has joined #documentation

kamilyrb
2021-10-19 22:31
has joined #documentation

joel.whalen588
2021-10-20 20:27
has joined #documentation

vasil.vasilev
2021-10-21 08:41
has joined #documentation

ben.crinion
2021-10-21 11:09
has joined #documentation

estephania.calvo
2021-10-21 19:27
has joined #documentation

ahmetbcakici
2021-10-21 22:38
has joined #documentation

abarcadabra
2021-10-22 12:30
has joined #documentation

harwin1494
2021-10-22 19:04
has joined #documentation

anindita.ghosh
2021-10-22 23:26
has joined #documentation

rajnish.maurya
2021-10-25 06:47
has joined #documentation

alanbos
2021-10-25 10:11
has joined #documentation

kuzmanovid
2021-10-25 13:59
has joined #documentation

j.malyjasiak
2021-10-25 14:24
has joined #documentation

rtbhosale17
2021-10-25 14:25
has joined #documentation

stefano.mantini
2021-10-25 14:31
has joined #documentation

r.muthukumar136
2021-10-25 14:59
has joined #documentation

gravis54
2021-10-25 21:46
has joined #documentation

misha.antipenko
2021-10-25 21:57
has joined #documentation

adomanski
2021-10-26 10:43
has joined #documentation

kriegster108
2021-10-26 14:58
has joined #documentation

adam.witko
2021-10-27 07:36
has joined #documentation

alex.macpherson
2021-10-27 08:28
has joined #documentation

yurich00
2021-10-27 18:10
has joined #documentation

lincolnf
2021-10-27 23:30
has joined #documentation

lawrencemajmacdonald
2021-10-28 07:33
has joined #documentation

zsolt.vilagos
2021-10-28 10:00
has joined #documentation

ramesh.dhanasekaran
2021-10-29 02:20
has joined #documentation

christopher.mcewen
2021-10-29 12:14
has joined #documentation

catalin.comarnescu
2021-10-29 12:31
has joined #documentation

kiran.rudrangi
2021-10-29 16:48
has joined #documentation

ahmed_syed
2021-11-01 20:46
has joined #documentation

b.1.alpha
2021-11-01 23:56
Hi I am running the slick new tutorial on https://katacoda.com/pact/scenarios/pactflow-can-i-deploy-js and getting an error step 4 of 8. `$ npm run publish`

matt.fellows
2021-11-01 23:57
what?s the error?

b.1.alpha
2021-11-01 23:58
I am also in the continuation state from the basic https://katacoda.com/pact/scenarios/pactflow-getting-started-js. So it seemed like all duplication of that lesson, up until it broke

matt.fellows
2021-11-01 23:59
it?s very similar, but it adds the CI/CD aspects to it

matt.fellows
2021-11-01 23:59
what?s the actual problem though?

b.1.alpha
2021-11-02 00:00
$ npm run publish > pactflow-getting-started-js@0.1.0 publish /root > npx pact-broker publish ./pacts --consumer-app-version 1.0.0-someconsumersha --tag master /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/hal/http_client.rb:49:in `create_request': undefined method `request_uri' for #<URI::Generic company.pactflow.io?> (NoMethodError) from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/hal/http_client.rb:25:in `get' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/hal/link.rb:41:in `get' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/hal/link.rb:45:in `get!' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/hal_client_methods.rb:20:in `index_resource' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/publish_pacts.rb:31:in `call' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/publish_pacts.rb:14:in `call' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/cli/broker.rb:157:in `publish_pacts' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/cli/broker.rb:42:in `publish' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.56.0/lib/pact_broker/client/cli/custom_thor.rb:15:in `start' from /root/node_modules/@pact-foundation/pact-node/standalone/linux-x64-1.88.77/pact/lib/app/pact-broker.rb:34:in `<main>' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! pactflow-getting-started-js@0.1.0 publish: `npx pact-broker publish ./pacts --consumer-app-version 1.0.0-someconsumersha --tag master` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pactflow-getting-started-js@0.1.0 publish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-11-01T23_59_26_882Z-debug.log $

matt.fellows
2021-11-02 00:02
The base URL needs the protocol included I think



b.1.alpha
2021-11-02 00:05
ahhh

b.1.alpha
2021-11-02 00:05
ty

matt.fellows
2021-11-02 00:07
That fix it?

b.1.alpha
2021-11-02 00:07
oh ya, you totally read that error right, I missed the protocol

b.1.alpha
2021-11-02 00:08
http_client.rb:49:in `create_request': undefined method `request_uri'

b.1.alpha
2021-11-02 00:16
It was really slick btw, that was a great tutorial

b.1.alpha
2021-11-02 00:16
katacoda was an awesome improvement

somayajulaas
2021-11-02 00:38
has joined #documentation

matt.fellows
2021-11-02 01:42
Awesome! We really ought to create more of them

john
2021-11-02 03:32
has joined #documentation

rochitsen
2021-11-02 10:49
has joined #documentation

finta.pl
2021-11-02 14:43
has joined #documentation

alessandro.borraccino
2021-11-02 17:04
has joined #documentation

myao
2021-11-02 22:22
has joined #documentation

matti.anusha
2021-11-03 02:58
has joined #documentation

ozgurerisir
2021-11-03 10:29
has joined #documentation

dean.miley1
2021-11-05 11:40
has joined #documentation

martha.nolan
2021-11-05 11:50
has joined #documentation

eniko_kollar
2021-11-05 16:46
has joined #documentation

ashwin
2021-11-05 17:58
has joined #documentation

d.philipp
2021-11-08 03:51
has joined #documentation

hamzah.saleem
2021-11-08 11:22
has joined #documentation

srividya.ece
2021-11-08 12:17
has joined #documentation

markus.joschko
2021-11-08 13:13
has joined #documentation

belugin.v
2021-11-08 17:16
has joined #documentation

will.griffiths
2021-11-09 05:25
has joined #documentation

navilooz
2021-11-09 08:48
has joined #documentation

keith.hirst
2021-11-09 12:13
has joined #documentation

rbo
2021-11-09 17:47
has joined #documentation

harshaan.n.khan
2021-11-10 05:38
has joined #documentation

esparga
2021-11-10 14:32
has joined #documentation

sureshbabudevaki
2021-11-10 19:20
Does pact support testing the Apache Camel Integrations? I found little information on provider side verification at below link https://kb.tomd.xyz/pact.html But there is no information available about Consumer side implementation for generating the pact file. Please help me out if anyone has got some examples/information related to Pact testing a Apache Camel Spring Boot application.

thales.areis
2021-11-10 19:33
has joined #documentation

matt.fellows
2021-11-11 00:31
I?m not aware of any

matt.fellows
2021-11-11 00:31
We don?t have any Camel integration that I know of. The main point, is finding the piece of code that is responsible for communicating to the integration point, and writing a unit test for that using Pact

henk.koopman
2021-11-11 08:56
has joined #documentation

mike.geeves064
2021-11-11 09:29
I was wondering about that a while ago, I would have thought mostly it's essentially Message rather than HTTP... but for Camel in general I wasn't sure if there's a use case (at least where I used Camel) since it had all the routes in and out itself, and the Camel testing was pretty awesome once you got your head around how it worked. I've only seen where Camel is both the Consumer and the Producer apart from say an end "go push a file here to finish" :smile: Although looking at that example linked it's about a REST API, in which case if that is a Consumer outside of the Camel service anyway, I don't think the Camel part is relevant: it's just whatever Consumer language you are using to call the REST API with that would need the tests to generate the Pacts

lena.lindblad
2021-11-11 09:58
has joined #documentation

radekkoubsky
2021-11-11 16:24
has joined #documentation

aditya
2021-11-11 17:20
has joined #documentation

claire
2021-11-11 17:55
has joined #documentation

gentritmm
2021-11-12 08:35
has joined #documentation

wilson.espina
2021-11-12 09:52
has joined #documentation

megan.twyver
2021-11-12 18:39
has joined #documentation

mischa.molhoek
2021-11-14 09:42
has joined #documentation

69vron
2021-11-15 01:35
has joined #documentation

james.sawle
2021-11-15 08:49
has joined #documentation

pete.watts
2021-11-15 12:46
has joined #documentation

joshua.badger
2021-11-15 17:10
has joined #documentation

omarsaddaoui
2021-11-17 02:55
has joined #documentation

mbyrne
2021-11-17 14:23
has joined #documentation

matthew.drill
2021-11-18 01:08
has joined #documentation

james.halsall
2021-11-18 12:02
has joined #documentation

chvram
2021-11-19 14:09
has joined #documentation

akhandalmani.malik
2021-11-19 14:16
has joined #documentation

elias.frykholm
2021-11-19 15:17
has joined #documentation

martin.carlin
2021-11-19 15:52
has joined #documentation

paul.nardone
2021-11-19 16:12
has joined #documentation

emily
2021-11-19 18:56
has joined #documentation

pietrucha.bartosz
2021-11-20 13:47
has joined #documentation

mastrobardo
2021-11-21 11:42
has joined #documentation

fed
2021-11-22 04:20
has joined #documentation

tumunshaily
2021-11-22 07:54
has joined #documentation

yunfeng.wang
2021-11-22 09:25
has joined #documentation

christos.litsas
2021-11-23 13:05
has joined #documentation

walter.psjr
2021-11-23 17:39
has joined #documentation

steveforwork2
2021-11-24 08:47
has joined #documentation

fredrik.ostling
2021-11-24 11:56
has joined #documentation

jorge.nunez
2021-11-24 14:28
has joined #documentation

asradhakrishnan
2021-11-24 17:20
has joined #documentation

edouard.lopez
2021-11-25 11:01
has joined #documentation

maxkitzing
2021-11-25 17:49
has joined #documentation

cristian.carrillo
2021-11-26 00:06
has joined #documentation

christoph.oswald
2021-11-26 09:53
has joined #documentation

gjourdanweil
2021-11-26 14:39
has joined #documentation

sean.pike
2021-11-26 14:48
has joined #documentation

michael.bannister
2021-11-29 07:43
has joined #documentation

rjadams96
2021-11-29 18:47
has joined #documentation

pavithz
2021-11-29 23:51
has joined #documentation

mfellows_20211130
2021-11-30 06:57
has joined #documentation

mfellows_20211130v2
2021-11-30 10:32
has joined #documentation

mfellows_20211130v3
2021-11-30 10:57
has joined #documentation

mfellows_20211130v4
2021-11-30 11:16
has joined #documentation

agittcelik
2021-11-30 18:35
has joined #documentation

alturil
2021-11-30 20:56
has joined #documentation

draper.joseph
2021-12-01 06:50
has joined #documentation

abhay175
2021-12-01 07:35
has joined #documentation

joelgrimberg
2021-12-01 11:27
has joined #documentation

reem.alashry
2021-12-01 12:09
has joined #documentation

beshoy.ibrahim
2021-12-01 12:09
has joined #documentation

omar.radi
2021-12-01 12:10
has joined #documentation

mmudassar192
2021-12-01 12:11
has joined #documentation

eric.seipold
2021-12-01 13:40
has joined #documentation

apselsevier
2021-12-01 16:48
has joined #documentation

ali.korayem
2021-12-01 18:55
has joined #documentation

luiz.filipe.abrahao
2021-12-01 21:04
has joined #documentation

david.cummings
2021-12-02 14:13
has joined #documentation

miccagiann
2021-12-02 14:17
has joined #documentation

praveen.em
2021-12-03 07:40
has joined #documentation

ally.parker
2021-12-03 11:18
has joined #documentation

rishabh.gaur
2021-12-03 11:43
has joined #documentation

william.wallace
2021-12-03 15:12
has joined #documentation

batiushkov.nik
2021-12-03 15:48
has joined #documentation

keith.mcgrath
2021-12-03 18:28
has joined #documentation

rchandragupthara
2021-12-03 19:32
has joined #documentation

vinicius.cosmi
2021-12-03 20:01
has joined #documentation

ichatterjee
2021-12-03 21:27
has joined #documentation

ben.watts
2021-12-03 23:48
has joined #documentation

imikhtyuk
2021-12-06 00:36
has joined #documentation

norrischebl
2021-12-06 05:54
has joined #documentation

smantini
2021-12-06 09:25
has joined #documentation

gzinger
2021-12-06 11:19
has joined #documentation

mahatmafatal
2021-12-06 13:50
has joined #documentation

jacob.v.gardner
2021-12-06 14:59
has joined #documentation

glebing2000
2021-12-07 07:28
has joined #documentation

sergio.freire
2021-12-07 09:52
has joined #documentation

sahoo.skumar
2021-12-07 10:55
has joined #documentation

kingyang728
2021-12-07 15:58
has joined #documentation

jesseaantebi
2021-12-07 19:36
has joined #documentation

rsheikh
2021-12-07 22:34
has joined #documentation

jorgwel
2021-12-08 01:22
has joined #documentation

rahul.anwekar23
2021-12-08 04:19
has joined #documentation

matt.fellows
2021-12-08 07:07
So @mike.geeves064 raised a good question - is there a place to document issues with our broader documentation? canny is not really the idea place, because it?s not really a feature (maybe) and in most github locations it?s too specific to capture general things that need to be done (e.g. consistent examples).

matt.fellows
2021-12-08 07:07
Wondering if perhaps a good place to start is creating a discussion here: https://github.com/pact-foundation/docs.pact.io/discussions/

matt.fellows
2021-12-08 07:07
Potentially even create a project board there?

mike.geeves064
2021-12-08 10:09
I've chucked some initial thoughts in a Miro board: https://miro.com/app/board/uXjVOcDlpaQ=/?invite_link_id=819331897685 not proposing a Miro board is the right way to go, but I find having something with a few examples helps figure out what structure may be needed

matt.fellows
2021-12-08 10:20
Good idea. It's a nice option for expressing ideas in an exploratory way, that's for sure

mike.geeves064
2021-12-08 10:56
Nod. From a first pass I ended up with those three streams which I think makes sense as almost projects: repo specific, actual docs, and CI/CD (which feels big/important enough to warrant its own section)

mike.geeves064
2021-12-08 14:06
I've not tried GitHub discussions before, I get a 404 currently though? :thinking_face:

luanacosta05
2021-12-08 20:34
has joined #documentation

yousafn
2021-12-08 21:55
I <3 miro boards. They are our go to on client accounts and just help consolidate disparate information, thoughts, output and I think at least from experience got people to think about expressing their work with diagrams and visuals, rather than walls of text. We found Trello good for a colloborative lo fi Kanban or agile workboards without the overhead of jira

yousafn
2021-12-08 22:01
I?ll happily add in some ideas from out experience when I am back at my desk and not on the phone, and review the board. The three streams are sound. I always want to know the feature set, look for sdk docs on how to use it. Bonus points if there is links to the feature in the various languages and links to online fiddles so you can see working code. Agree on ci/cd docs having a strong focus, especially as when pact or any tooling is in your ci/cd pipeline it starts becoming critical and having strong documentation especially at times of need. I know many times we?ve leveraged our aws or circleci docs when things have gone south long before we are picking up the phone to support

mike.geeves064
2021-12-08 22:28
Yeah, for me that's a big focus of trying to have as much parity across languages, I think having the same examples across languages would be really beneficial, but aware that's a mammoth task to do and keep updated :open_mouth: The board there should be editable so feel free to make any changes, happy to leave it there if it's useful to brainstorm before going somewhere else etc

tjones
2021-12-09 00:22
Yes, it would be a significant improvement to have the same examples across languages

tjones
2021-12-09 00:23
I think possibly having the same structure (allowing automatic roll-up of documentation) across the repos might be a good way to achieve this

mike.geeves064
2021-12-09 08:55
nodnod

mike.geeves064
2021-12-09 08:55
I was wondering if something like that could work for filling in a matrix

mike.geeves064
2021-12-09 08:56
if you have pact-python/examples/bi-directional -> it's supported! of not, assume it isn't. over simplified but even if not per feature that could still help with figuring out which repos still need message examples, gitlabci and so on

saurabh.techiee
2021-12-09 09:41
has joined #documentation

albertcabantog
2021-12-09 10:52
has joined #documentation

paul.scholes
2021-12-10 10:21
has joined #documentation

chris.sloan
2021-12-10 10:48
has joined #documentation

leon.york
2021-12-10 12:42
has joined #documentation

kyle.craviotto
2021-12-10 16:40
has joined #documentation

lorenz.schumann
2021-12-10 18:33
has joined #documentation

luispires.m
2021-12-13 12:32
has joined #documentation

fabio.rodrigues
2021-12-13 16:21
has joined #documentation

mbailey
2021-12-13 22:17
has joined #documentation

dkwak
2021-12-14 03:47
has joined #documentation

haoran.lin
2021-12-14 05:27
has joined #documentation

tom450
2021-12-14 08:06
has joined #documentation

pajaree.tuampitak
2021-12-14 10:00
has joined #documentation

nitins333
2021-12-14 10:03
has joined #documentation

jaakko.tompuri
2021-12-14 13:10
has joined #documentation

albert.moreno
2021-12-14 17:01
has joined #documentation

himanshu
2021-12-15 06:16
has joined #documentation

diva.pant1
2021-12-15 14:21
has joined #documentation

johnreilly100
2021-12-15 16:36
has joined #documentation

elliot.weiser
2021-12-15 19:06
has joined #documentation

sunit
2021-12-16 07:27
has joined #documentation

mike.geeves064
2021-12-16 09:55
Any more thoughts on this? I've been adding a few more todos on to the Miro board as I've seen things come up

mike.geeves064
2021-12-16 09:57
(either in terms of items to go on a list, or a "where next" if useful)

yousafn
2021-12-16 12:44
Finally had a chance to have a look @mike.geeves064, some great post it notes down. I?ve jotted a couple of thoughts as I had a spare 20 minute. I always like to know what I am working with, exactly what is there and what it contains, weed out dead links, or deprecated docs. That gives me a nice picture of the current estate, and allows me to pick up commonalities and differences. Ideally we can then think of our target state, and how we can incrementally get there, and which of the levels will provide the biggest impact up front. Super work though kicking this off!

mike.geeves064
2021-12-16 13:05
:+1: Maybe identifying the current estate (as in the what repos are there and what they are for) would be a sensible place to start from, to then be able to identify what to do in each :thinking_face: Somewhere to make the todo lists from

yousafn
2021-12-16 14:08
i would be inclined to agree that as a pretty good starting point, it would be helpful in that regard, as if we build our list of features, we essentially can get a matrix together of features across each version,

felipe.simoes
2021-12-16 18:42
has joined #documentation

ameadewi
2021-12-16 18:48
has joined #documentation

mike.geeves064
2021-12-16 20:45
I'll add taking a look at that starting point to my to-do list, interacting with GitHub sounds fun :grinning: (along with finishing some python examples and looking at logging in Rust). In taking a little break from going straight into trying to code Rust without knowing the language and trying the Advent of Code 2021 in Rust, still without knowing the language much :thinking_face: :joy:

yousafn
2021-12-16 21:40
Hahaha amazing, I?ve been meaning to give rust a tickle and the advent of code sounded perfect for it. First time I had heard of it this year. I got up to day 5 in deno to see how far it had moved along in the last year but got distracted now on my sim rig. Your to do list sounds fun :)

yousafn
2021-12-16 21:40
Thanks mate for the push on this, I am happy to help where I can as it?s a topic close to my heart ( and I?m definitely not as good as I could be with my own stuff )

michael.scheepers
2021-12-17 08:11
has joined #documentation

yanis.benekaa
2021-12-17 16:05
has joined #documentation

dilek
2021-12-20 12:42
has joined #documentation

sadhana.0203
2021-12-21 07:55
has joined #documentation

adrian.ernst.lgln
2021-12-21 08:36
has joined #documentation

dalton.pinto
2021-12-21 09:53
has joined #documentation

roman.rutkowski.87
2021-12-21 15:42
has joined #documentation

maxwell.xandeco
2021-12-22 21:43
has joined #documentation

lixiaoyan68
2021-12-23 06:50
has joined #documentation

sashaavramchik
2021-12-23 09:07
has joined #documentation

jamie.manson
2021-12-23 10:51
has joined #documentation

colin.ansah
2021-12-23 13:21
has joined #documentation

bruno855
2021-12-23 17:47
has joined #documentation

appgify
2021-12-23 20:41
has joined #documentation

jason329
2021-12-23 22:12
has joined #documentation

shaheen.d2
2021-12-24 07:55
has joined #documentation

laura.koekenberg
2021-12-24 10:32
has joined #documentation

craiganthonyrichards
2021-12-25 05:01
has joined #documentation

mch
2021-12-28 12:54
has joined #documentation

florian.becker_pact-s
2021-12-28 14:49
has joined #documentation

oblique
2021-12-28 18:45
has joined #documentation

smalladi
2021-12-28 19:22
has joined #documentation

jordan.nazemi
2021-12-28 19:24
has joined #documentation

gbhusari
2021-12-28 21:22
has joined #documentation

pghosh
2021-12-28 21:23
has joined #documentation

carlos.agullo
2021-12-29 08:46
has joined #documentation

cyrus.devnomad
2021-12-29 14:15
has joined #documentation

muirandy
2021-12-30 17:57
has joined #documentation

zhaoyi0113
2021-12-31 05:46
I am looking at how `event driven` pact works and found this example but in kotlin: https://github.com/rafaroca/pact-msg/. Does anyone know whether there is a nodejs example I can have a look?


matt.fellows
2021-12-31 06:32
Also the JS GitHub repo has an example it it

matt.fellows
2021-12-31 06:32
Also see the how pact works section on http://docs.pact.io for an explainer

hocautomation
2022-01-05 09:54
has joined #documentation

deepakdaga2007
2022-01-05 17:49
has joined #documentation

tomas.hornak
2022-01-05 23:49
has joined #documentation

juan.cruz
2022-01-06 02:44
has joined #documentation

marconota.mac
2022-01-06 10:30
has joined #documentation

marta.rey-benito
2022-01-06 15:56
has joined #documentation

fr4ngus
2022-01-06 16:20
has joined #documentation

huhuang
2022-01-08 05:28
has joined #documentation

frankfullstack
2022-01-09 20:33
has joined #documentation

gkrawczyszyn
2022-01-10 06:51
has joined #documentation

tom.kelly
2022-01-10 15:05
has joined #documentation

dave.sorenson
2022-01-10 15:51
has joined #documentation

gianni.araco
2022-01-11 16:13
has joined #documentation

anu.johar
2022-01-11 20:25
has joined #documentation

yann.danot
2022-01-12 10:15
has joined #documentation

muirandy
2022-01-12 12:30
Hi. I?m looking to put together some documentation on using PACT with Kafka and the Schema Registry. Any suggestions where I could put this? Happy to put it in a blog or something if there is nowhere better!

yousafn
2022-01-12 13:20
Hey Andy, Amazing! Thanks for wanting to contribute to the community. Blog posts are always a great way to start sharing with the community, and can be referenced via the http://docs.pact.io site https://docs.pact.io/blogs_videos_and_articles There are some contribution tips on the website for both documentation and code https://docs.pact.io/contributing/docs I?m sure others will be able to help advise but that is probably a good start. I?ve only briefly dabbled in Kafka and not heard of the schema registry before.

matt.fellows
2022-01-12 22:11
Good question. I think your Java contribution might mean that the lessons aren?t perfectly valid across the ecosystem (i.e. if we need to support the magic bytes thing, it?ll need to go into the Rust core for other languages to benefit)

matt.fellows
2022-01-12 22:13
I?ve been thinking for a while now of creating a ?recipes? page (or something like it) in the docs, that links to common ways to use Pact - I even started it. Perhaps I?ll push the page up, and you could write one about Kafka there? This would be more of a how-to guide. An additional blog (on your platform or https://docs.pact.io/blog) would be nice too!

hsanghavi
2022-01-13 00:57
has joined #documentation

vejeta
2022-01-13 03:19
has joined #documentation

sweeneyrichard2
2022-01-13 15:43
has joined #documentation

thuvu.se
2022-01-14 05:51
has joined #documentation

rahul.meher
2022-01-14 09:02
has joined #documentation

gavin.campbell
2022-01-14 17:31
has joined #documentation

davideliu
2022-01-14 17:52
has joined #documentation

pavlo.sprogis
2022-01-16 17:15
has joined #documentation

jbrady
2022-01-16 21:54
has joined #documentation

johnathan
2022-01-17 04:42
has joined #documentation

dimakos.neoklis
2022-01-17 15:04
has joined #documentation

gueorgui
2022-01-17 16:43
has joined #documentation

marcbetts
2022-01-17 22:35
has joined #documentation

lambat.ishanya
2022-01-18 05:10
has joined #documentation

sprathi
2022-01-18 13:40
has joined #documentation

emanuela.ceuta
2022-01-18 16:25
has joined #documentation

chaugule.sandeep
2022-01-19 05:00
has joined #documentation

ajay.kawde
2022-01-19 13:34
has joined #documentation

liam.chen
2022-01-19 21:19
has joined #documentation

taylor.phillips01
2022-01-19 21:45
has joined #documentation

sandeepa.kv
2022-01-20 06:46
has joined #documentation

shane.dombowsky
2022-01-20 14:08
has joined #documentation

jlbrown
2022-01-20 15:29
has joined #documentation

gabriel.fatori
2022-01-20 18:36
has joined #documentation

petersonbtah
2022-01-20 20:16
has joined #documentation

llast
2022-01-20 21:44
has joined #documentation

devesh.mishra
2022-01-21 04:26
has joined #documentation

viveksingh.kiit
2022-01-21 09:29
has joined #documentation

james.demaine
2022-01-21 10:02
has joined #documentation

theferryatbuckland
2022-01-21 20:24
has joined #documentation

david.kormushoff
2022-01-22 00:54
has joined #documentation

tom.tantisalidchai
2022-01-25 05:43
has joined #documentation

cedric.spengler
2022-01-25 15:08
has joined #documentation

austin.reifsteck
2022-01-25 15:20
has joined #documentation

hsd999
2022-01-25 19:06
has joined #documentation

parasonbe
2022-01-25 20:31
has joined #documentation

alex.diaz
2022-01-26 09:05
has joined #documentation

kskowron
2022-01-26 11:30
has joined #documentation

roy_collings
2022-01-26 11:51
Hey all :wave: Just a quick note that there's a mistake in the docs: https://docs.pactflow.io/docs/examples/java/provider-springboot/readme - the README doesn't line up with the code ("This is an example of a Node provider..." and mentions "https://github.com/pactflow/example-provider-springboot/blob/master/src/product/product.pact.test.js:" that isn't in the repo).

matt.fellows
2022-01-26 12:30
Thanks Roy! Will cleanup tomorrow

spencerm
2022-01-26 14:33
has joined #documentation

cristiano.cunha
2022-01-26 14:55
has joined #documentation

tjones
2022-01-26 22:28
This channel is for the Pact documentation.

matt.fellows
2022-01-26 23:22
I?ve fixed the source repo, which should flow to the docs in due course. Thanks for reporting

nish063
2022-01-27 02:42
has joined #documentation

ingcmurcia
2022-01-27 04:41
has joined #documentation

weijian.duan
2022-01-27 08:58
has joined #documentation

abraham.gonzalez93
2022-01-27 10:39
has joined #documentation

demna
2022-01-27 15:29
has joined #documentation

mircea.ungureanu
2022-01-27 15:48
has joined #documentation

nikhilwa84
2022-01-27 17:43
has joined #documentation

bogdanm.rusu
2022-01-27 18:04
has joined #documentation

muirandy
2022-01-27 21:51
I?ve put some (Java) code examples together. I?m looking for some feedback. I? a bit troubled that I can write a Messaging test which passes, although the consumer and provider use completely different technologies (kafka and websocket!).


matt.fellows
2022-01-27 22:22
> I?m looking for some feedback. I? a bit troubled that I can write a Messaging test which passes, although the consumer and provider use completely different technologies (kafka and websocket!). that?s because as far as message pact is concerned, we don?t care about the queueing technology, it?s purely about the messages

matt.fellows
2022-01-27 22:22
it?s how message pact _can_ test any intermediary (S3 bucket, Rabbit, Kinesis, Kafka, even a file transfer)

matt.fellows
2022-01-27 22:22
but the downside is it puts some abstraction burden on the user

matt.fellows
2022-01-27 22:22
I might add this to a recipes page - thanks!

matt.fellows
2022-01-27 22:25
(as the plugins system evolves, I would expect people to start conttributing technology specific plugins - e.g. kafka, Lambda, SQS etc.

cventcport
2022-01-27 22:29
has joined #documentation

muirandy
2022-01-27 22:53
That?s interesting. I?ll need to see how to build plugins.

muirandy
2022-01-27 22:54
I?m expecting to write things up in a blog or two. I?ll let you know when I have some words together.

mayuri.khemani
2022-01-28 09:43
has joined #documentation

sujith.nair2
2022-01-28 12:33
has joined #documentation

rob
2022-01-28 16:36
has joined #documentation

radovan
2022-01-29 00:20
has joined #documentation

mongeyc
2022-01-31 14:03
has joined #documentation

muirandy
2022-01-31 18:12
I?ve got some text together, though I?m not finished. Other than adding it to a blog, is the ?recipes? section available that I could raise a PR for? Part 1 of my text is to make things work using JSON on Kafka. I have a draft version here (not for public consumption!): https://gist.github.com/muirandy/a8befce6ad53aa25d00aeb51e46edcef Part 2 follows on, and makes the required changes to work with Schema Registry.

mike.bernard
2022-01-31 21:14
has joined #documentation

tjoy
2022-02-01 02:06
has joined #documentation

matt.fellows
2022-02-01 02:19
Awesome!

matt.fellows
2022-02-01 02:19
Yep, chuck it in here: https://docs.pact.io/recipes

max.tilford
2022-02-01 03:17
has joined #documentation

toanshukumar
2022-02-01 14:15
has joined #documentation

juanquis419
2022-02-01 15:01
has joined #documentation

matt.murray
2022-02-01 19:40
has joined #documentation

frederic.gendebien
2022-02-02 08:54
has joined #documentation

dougie.robertson
2022-02-02 11:15
has joined #documentation

juan.avendano
2022-02-02 13:36
has joined #documentation

ausachov
2022-02-03 13:15
has joined #documentation

aaron.kibbie
2022-02-03 15:59
has joined #documentation

patrice.krakow
2022-02-03 17:01
Hello! I have just submitted a PR - https://github.com/pact-foundation/docs.pact.io/pull/104 - and I am getting a failing check with "Semantic Pull Request", I have tried the prefix "fix:" and "docs:" (following https://github.com/zeke/semantic-pull-requests), but it did not solve the failing check... Could you help me? Thanks :-)

williangldzn
2022-02-03 20:23
has joined #documentation

ricardo.gonzaga
2022-02-04 09:35
has joined #documentation

robin.jacques
2022-02-04 10:51
has joined #documentation

joaomiguel.rocha
2022-02-04 17:40
has joined #documentation

jacek.sienniak
2022-02-07 08:45
has joined #documentation

jamie.weatherby
2022-02-07 15:25
has joined #documentation

joaobrandao.rodrigues
2022-02-07 16:30
has joined #documentation

extra
2022-02-07 21:31
has joined #documentation

elenatuzel
2022-02-08 08:27
has joined #documentation

vadim
2022-02-08 09:19
has joined #documentation

anna.khv
2022-02-08 12:19
has joined #documentation

dhospital
2022-02-08 16:15
has joined #documentation

jcabrera
2022-02-08 18:26
has joined #documentation

ardiel.fuentes
2022-02-09 07:14
has joined #documentation

ruud.von.faber
2022-02-09 09:11
has joined #documentation

agustin.gomes
2022-02-09 13:23
has joined #documentation

thijme.langelaar
2022-02-09 13:29
has joined #documentation

dharmesh.kumar
2022-02-09 13:52
has joined #documentation

athaper
2022-02-09 14:14
has joined #documentation

svranyes
2022-02-09 20:16
has joined #documentation

samuel.whittaker
2022-02-09 23:40
has joined #documentation

david.hvilava
2022-02-10 10:53
has joined #documentation

carlos.ferrao
2022-02-10 15:46
has joined #documentation

rios.martinivan
2022-02-10 20:18
has joined #documentation

charles.kuo
2022-02-10 21:42
has joined #documentation

sudhanshu.testing
2022-02-11 05:12
has joined #documentation

patrice.krakow
2022-02-11 11:35
When trying to run the "Pact Docs Website" locally, using `docker-compose up`, I got the following error: ```[ERROR] Error: The "googleAnalytics" field in themeConfig should now be specified as option for plugin-google-analytics. For preset-classic, simply move themeConfig.googleAnalytics to preset options. More information at https://github.com/facebook/docusaurus/pull/5832.```

alessandro.polidori
2022-02-11 15:02
has joined #documentation

krisakins
2022-02-12 20:19
has joined #documentation

ian.cervantez
2022-02-13 03:32
has joined #documentation

matt.fellows
2022-02-13 07:52
Hmm Tha ka for letting us know. Wondering if perhaps the compose setup is out of date. I personally normally `npm start`and works just fine. I'll review tomorrow

matt.fellows
2022-02-13 23:50
OK looks like the container has pulled in the latest docusaurus configs, which has moved some config items around. I?ve just fixed those now - thanks for reporting

antonio.gamiz
2022-02-14 06:51
has joined #documentation

zish.gatrad
2022-02-14 16:01
has joined #documentation

james.troughton
2022-02-14 16:08
has joined #documentation

manuelam20
2022-02-15 00:41
has joined #documentation

dchen
2022-02-15 08:03
has joined #documentation

aristides.suarez
2022-02-15 08:14
has joined #documentation

marcelino.garcia
2022-02-15 08:22
has joined #documentation

varnika.singh
2022-02-15 09:11
has joined #documentation

bernard
2022-02-15 16:22
has joined #documentation

david.uzumaki
2022-02-15 16:33
has joined #documentation

abhishekc.jh
2022-02-15 17:21
has joined #documentation

nuno.frias
2022-02-15 19:28
has joined #documentation

faran
2022-02-15 22:31
has joined #documentation

andy
2022-02-16 00:35
has joined #documentation

fushinoryuu
2022-02-16 01:40
has joined #documentation

abdelior
2022-02-16 08:48
has joined #documentation

muirandy
2022-02-16 11:18
Hi Matt. Thanks for the comments. I?ve created a PR with your suggested code gates etc - hopefully I?ve not made a mess by editing things locally and trying to change the 1st commit message. I?ll look at creating some more content for working with Schema Registry.

matt.fellows
2022-02-16 11:28
sounds great, thanks!

matt.fellows
2022-02-16 11:28
we can just get it in, and if it looks sh*t we can iterate :slightly_smiling_face:

matt.fellows
2022-02-16 11:28
appreciate it!

misterjkl
2022-02-16 13:12
has joined #documentation

brian.azizi
2022-02-16 14:05
has joined #documentation

richelle.raaphorst
2022-02-16 15:17
has joined #documentation

muirandy
2022-02-16 16:49
Cheers. When is the update likely to be visible on the site?

muirandy
2022-02-16 18:23
Oh? as far as I can tell, I should be ok to publish my blog with the same content, augmented with some explanations?

matt.fellows
2022-02-16 21:40
hmmm the docs should deploy immediately, I?ll have a look. I?m guessing somethnig is breaking in the netlify deployment

tjones
2022-02-17 13:30
@tjones has left the channel

muirandy
2022-02-17 16:28
There may be a problem with a link? for instance, on the recipes page if I click the link to ?kafka?, I end up at: https://docs.pact.io/recipes/recipes/kafka Thats a 404 - but not the duplicated ?recipes/recipes??

yousafn
2022-02-17 17:21
Hey Andy, this is your change right ? https://github.com/pact-foundation/docs.pact.io/commit/bd1a3b4b2ce21ba92799971409077f22d457220f I can see it live on the site, and from the https://docs.pact.io/recipes the url is absolute when highlighting over the `kafka` link and my redirect was ok. Testing this in chrome, not tried other browsers.

muirandy
2022-02-17 18:09
Interesting? for me, the left-hand-nav works fine. From the ?Recipes? page though, link is wrong - duplicated ?recipes?.

guillermo.aguirre
2022-02-17 20:06
has joined #documentation

kyle.florence
2022-02-17 21:29
it appears the link to the pact cli documentation is no longer valid: https://docs.pact.io/pact_broker/client_cli/readme (as linked to from https://docs.pact.io/pact_broker/client_cli/)

bethskurrie
2022-02-17 21:29
ta

bethskurrie
2022-02-17 21:30
hm. something is very broken.

bethskurrie
2022-02-17 21:30
all the docs have disappeared from that page

bethskurrie
2022-02-17 21:30
I did notice the docs build was broken earlier this week, but I haven't had time to look at it.

kyle.florence
2022-02-17 21:31
no worries, not urgent, just noticed it

bethskurrie
2022-02-17 21:32
the page is still in the repo :thinking_face:

bethskurrie
2022-02-17 21:34
and the sidebars are still configured correctly

bethskurrie
2022-02-17 21:34
```"Pact Broker Client CLI": [ "pact_broker/client_cli", "pact_broker/client_cli/readme", "pact_broker/client_cli/changelog" ],```

bethskurrie
2022-02-17 21:36
it seems like all the '/readme' pages are going to the index.

bethskurrie
2022-02-17 21:37
it's the same for pact go and all the other clients



bethskurrie
2022-02-17 22:11
This line in the pact-net readme is causing the sync script to blow up because the text inside the brackets is not a valid URL.


bethskurrie
2022-02-17 22:11
`- [Join](<(http://slack.pact.io)>) our community [slack workspace](http://pact-foundation.slack.com/).`

bethskurrie
2022-02-17 22:11
It doesn't seem to be actually working anyway (the "Join" text is not a link) so I'm going to remove that bit.

bethskurrie
2022-02-17 22:15
Ok, the readmes are back. Luckily docusarus is configurable enough to allow you to override their features.

bethskurrie
2022-02-17 22:15
Thanks for raising it @kyle.florence


bethskurrie
2022-02-17 23:49
search is broken too

bethskurrie
2022-02-17 23:49
think it's the angolia details I have to update

matt.fellows
2022-02-18 00:20
Thanks Beth. That might have been me moving from alpha to beta. We had another contributor find an issue with the local setup (I think unpinned minor dependency change). When I addressed that, and some minor config movements, it looks like I may have screwed that up

matt.fellows
2022-02-18 00:20
I think we ought to get the build to fail if it detects broken links, which I think I saw in the Netlify output

matt.fellows
2022-02-18 00:20
but we also need a notification when that breaks

muirandy
2022-02-18 11:51
Cool. I?ve published the first part of my blog on this topic. It contains more of an explanation than fits in a ?recipe?, but has the same examples: https://muirandy.wordpress.com/2022/02/18/contract-testing-with-pact-kafka-and-schema-registry-part-1/

muirandy
2022-02-18 11:56
I?m working on Part 2, where I?ll demonstrate the Kafka Schema Registry compliant Consumers and Providers? I intend to add to the ?recipes? page too, so keep your eyes open! :slightly_smiling_face:

yousafn
2022-02-18 13:31
Awesome work buddy, I?ll give it a read today and give it a repost as well. I?ve just written my first blog post in a looong time today. It?s addictive

adamslack
2022-02-18 15:55
has joined #documentation

darwin.cahyadi
2022-02-18 18:00
has joined #documentation

matt.fellows
2022-02-18 23:59
awesome, thanks Andy!

matt.fellows
2022-02-18 23:59
I?ll take a look next week

rishi.speets
2022-02-19 14:43
has joined #documentation

ybergstrom
2022-02-21 03:24
has joined #documentation

gyuvaraj10
2022-02-21 08:03
has joined #documentation

athissen
2022-02-21 08:09
has joined #documentation

andrefcsousa
2022-02-21 10:19
has joined #documentation

katharina.pavic
2022-02-21 12:37
has joined #documentation

ipoe
2022-02-21 14:54
has joined #documentation

jeroen.vandijk
2022-02-21 16:40
has joined #documentation

ondikumana
2022-02-21 22:13
has joined #documentation

nithyag.ganesan
2022-02-22 10:01
has joined #documentation

ntiwari
2022-02-22 11:48
has joined #documentation

phil.vint
2022-02-23 11:01
has joined #documentation

phongthornk
2022-02-23 11:04
has joined #documentation

lukasz
2022-02-23 14:55
has joined #documentation

ezequiel.uhrig
2022-02-25 13:46
has joined #documentation

emin.sahin
2022-02-26 13:53
has joined #documentation

ihassin
2022-02-27 21:20
has joined #documentation

yumiihuang
2022-02-28 09:55
has joined #documentation

yousaf
2022-02-28 11:57
has joined #documentation

gerry
2022-02-28 12:56
has joined #documentation

muirandy
2022-02-28 15:56
Hi @matt.fellows and @yousafn I have created a PR for docs for the Schema Registry compliant JSON: https://github.com/pact-foundation/docs.pact.io/pull/114 Let me know what you make of it! As before, I have a blog post standing by, containing much the same content.

yousafn
2022-02-28 15:59
Hey @muirandy, thanks for this :green_heart: I will have a look later this evening and give it a stamp if it's all good. Your last blog post has been getting some attention after I reshared it. I couldn't find you on linkedIn to add and tag you. I'm https://www.linkedin.com/in/yousaf-nabi-54278b3/ if you want to add me, and I can tag you with the appropriate credit. Nice one again buddy

muirandy
2022-02-28 16:00
I pinged you on LinkedIn.

agustina.bosso
2022-02-28 16:04
has joined #documentation

yousafn
2022-02-28 16:53
Gave it a review now buddy, couple of tiny points but you have an approval from me

edouard.lopez
2022-03-01 10:53
Hello, I'm not able to search the documentation anymore, anyone else impacted?

matt.fellows
2022-03-01 11:03
Yes, we found an issue with it last week

matt.fellows
2022-03-01 11:03
hopefully it will be resolved soon

deactivateduser320370
2022-03-01 11:41
has joined #documentation

luke.bickell
2022-03-01 14:46
has joined #documentation

edouard.lopez
2022-03-01 16:16
Thanks, that a really useful feature

james.williams
2022-03-01 16:29
has joined #documentation

matt.fellows
2022-03-01 20:44
I know! I use it a lot

matt.fellows
2022-03-01 20:45
It looks like an update to docusaurus might be responsible. Canonical tags look incorrect leading to the search engine skipping most pages indexing

qluck
2022-03-01 22:15
has joined #documentation

peter.pinda
2022-03-01 23:37
has joined #documentation

omer.bilgin
2022-03-02 15:51
has joined #documentation

banolik
2022-03-02 18:35
has joined #documentation

muirandy
2022-03-02 18:51
Hi @yousafn I have made the changes as suggested - hope its looking better! :slightly_smiling_face:



muirandy
2022-03-02 18:54
Feck - not sure if I did the right thing there - I closed the PR with a comment? can I recover from that or do I need to start again?!

muirandy
2022-03-02 19:05
Sorted. Its open again!

yousafn
2022-03-02 19:31
Proper reminded me of Father Jack there with the Feck. It's sorted and approved, will get it merged this evening my good man.

muirandy
2022-03-02 21:17
:+1:

muirandy
2022-03-02 21:20
Once its merged and live I?ll publish the blog post. Again.. its much the same but with a little more narrative.

yousafn
2022-03-02 21:51
Hey Andy, this has just been merged now, thanks again, but it reminds me that there are some broken links on the page, so the last time we were here and I updated the broken links. https://github.com/pact-foundation/docs.pact.io/issues/112

ancyaziz
2022-03-02 22:26
has joined #documentation

muirandy
2022-03-02 23:15
Is that anything I can help with?

muirandy
2022-03-02 23:17
Looks like I got the Headings a bit wrong. Line 174 shouldn?t be a Level 1? I?ll tidy it up for another PR? :)

timothyg
2022-03-02 23:40
has joined #documentation

yousafn
2022-03-02 23:49
If you'd like to take a look at the broken links issue, you are welcome too, but it's possibly not the most effective use of your time, and oddly, the behaviour appears have reversed from the last time I replied to that post, so it may be a mini time sink. And no worries, just ping us when its ready and we will get that approved and merged.

harihararaj.lk
2022-03-03 09:44
has joined #documentation

toyamarinyon
2022-03-03 13:25
has joined #documentation

david342
2022-03-03 13:26
has joined #documentation

yesilmenadil
2022-03-03 16:14
has joined #documentation

dajaman1
2022-03-03 20:30
has joined #documentation


waqif
2022-03-03 23:32
has joined #documentation

dmitry.matveev
2022-03-03 23:44
has joined #documentation

yousafn
2022-03-04 09:54
Thanks Andy, I?ll get this shared out via the pact-jvm channel and LinkedIn!

matt.fellows
2022-03-04 10:11
Oh, so one minor nit picky thing (this, and the other blog both very well written). Despite the logo maybe suggesting otherwise, the project is just Pact.

matt.fellows
2022-03-04 10:11
The Pact framework, produces pact files (if that helps at all)

reuben.tonna
2022-03-04 14:32
has joined #documentation

negrolyze
2022-03-04 15:34
has joined #documentation

42amehmeto
2022-03-04 19:17
has joined #documentation

rawatankit90
2022-03-04 22:33
has joined #documentation

tom.daley
2022-03-07 09:09
has joined #documentation

leon.brown
2022-03-07 09:26
has joined #documentation

aurelia.rochat
2022-03-07 10:16
has joined #documentation

kabhatiya
2022-03-08 00:51
has joined #documentation

luis.garelli
2022-03-08 09:29
has joined #documentation

andrevdrodrigues
2022-03-08 12:50
has joined #documentation

tobias
2022-03-08 13:11
has joined #documentation

mutharaju.kk
2022-03-08 14:34
has joined #documentation

will.robinson
2022-03-08 14:54
has joined #documentation

fragonib
2022-03-08 16:22
has joined #documentation

jason.wang
2022-03-08 19:05
has joined #documentation

david.vancouvering
2022-03-08 21:42
Hey there. I went to this page on workshops, and it looks really interesting and potentially useful, but there are no links to the actual material. Am I missing something? Thanks! https://docs.pactflow.io/docs/workshops

bethskurrie
2022-03-08 21:43
Links are on the side.

bethskurrie
2022-03-08 21:43
It would help if the text of the table had links too though.

david.vancouvering
2022-03-08 21:43
Yea I tried to delete this request because I just figured it out. I knew I was missing something

david.vancouvering
2022-03-08 21:43
That's true 'nuff, the links would help

bethskurrie
2022-03-08 21:43
No worries.

matt.fellows
2022-03-08 21:44
We'll add them shortly, thanks, I'm in that repo now actually

sam680
2022-03-09 05:12
has joined #documentation

annette.reid
2022-03-09 07:44
has joined #documentation

edouard.lopez
2022-03-09 09:32
Hello Matt, do you have a link to track this issue?

alex1toryanik
2022-03-09 11:08
has joined #documentation

aleem.riaz
2022-03-09 12:17
has joined #documentation

matt.fellows
2022-03-09 12:19
I don't think there is one, but we are working with Algolia to solve it

dbjurstrom
2022-03-09 12:29
has joined #documentation

josephwoodward
2022-03-09 12:30
has joined #documentation

victor.lau
2022-03-09 20:46
has joined #documentation

kenneth.krause
2022-03-10 16:41
has joined #documentation

bergner
2022-03-11 06:19
has joined #documentation

gotax80534
2022-03-11 06:55
has joined #documentation

mathias
2022-03-11 10:17
has joined #documentation

jtcsek
2022-03-11 13:02
has joined #documentation

joachim005
2022-03-14 08:16
has joined #documentation

will.robinson
2022-03-14 09:49
Hey, I?m doing some reading up of webhooks in PactFlow and this is a dead link - is this bit of docs anywhere else that i am missing? https://docs.pactflow.io/docs/user-interface.html#settings-webhooks


alexstout009
2022-03-14 14:32
has joined #documentation

paul.richards
2022-03-14 14:38
has joined #documentation

akif.tahir
2022-03-14 15:00
has joined #documentation

yousafn
2022-03-14 15:05
Thanks @will.robinson, I'll get this updated now. It shouldn't have the `.html` in the url. The link should be https://docs.pactflow.io/docs/user-interface/#settings-webhooks however to note, it as moved to a new location, see below :thumbsup: The new link is https://docs.pactflow.io/docs/user-interface/settings/webhooks

lramos
2022-03-14 16:29
has joined #documentation

michael036
2022-03-14 18:31
has joined #documentation

lauren.coggin
2022-03-14 19:27
has joined #documentation

yousafn
2022-03-14 20:51
Updated now, thanks again for the report :thumbsup:

matt.fellows
2022-03-14 23:49
Thanks Will!

matt.fellows
2022-03-14 23:49
(and Yousaf!)

yousafn
2022-03-15 00:11
:tada: Pleased to announce that we have the search functionality working again on https://docs.pact.io/ Thanks for the report @edouard.lopez :slightly_smiling_face:

mkanika1811
2022-03-15 09:22
has joined #documentation

edouard.lopez
2022-03-15 10:13
Thanks :tada:

ian.pringle
2022-03-15 11:02
has joined #documentation

karl.wagner
2022-03-15 12:25
has joined #documentation

chaitasi.patel988
2022-03-16 04:04
has joined #documentation

jose.iglesias
2022-03-16 09:23
has joined #documentation

alegab0710
2022-03-16 10:20
has joined #documentation

serghei.pogodin
2022-03-16 12:31
has joined #documentation

jeremy.vincent
2022-03-16 14:29
has joined #documentation

1.g10squad
2022-03-16 16:01
has joined #documentation

alistair.c.kung
2022-03-16 18:44
has joined #documentation

adam.howard
2022-03-17 02:05
has joined #documentation

jonatan.jaworski
2022-03-17 02:32
has joined #documentation

lewis.greenway-jones
2022-03-17 08:52
has joined #documentation

pierre.gerard
2022-03-17 11:59
has joined #documentation

viswanathan.sarma
2022-03-17 22:39
has joined #documentation

madhulika.mitra
2022-03-18 15:56
has joined #documentation

rupam.saha
2022-03-21 09:26
has joined #documentation

christian.jeppesen
2022-03-21 10:10
has joined #documentation

anand.kannan
2022-03-21 10:10
has joined #documentation

mikhail.yartsev
2022-03-21 10:10
has joined #documentation

bblechman
2022-03-21 16:36
has joined #documentation

jeffrey2011998
2022-03-22 09:22
has joined #documentation

xavier.arque
2022-03-22 11:33
has joined #documentation

aubrey
2022-03-22 14:32
has joined #documentation

balazs
2022-03-22 15:51
has joined #documentation

seasharp37
2022-03-22 22:17
has joined #documentation

saritacutinha
2022-03-23 07:09
has joined #documentation

rachelb
2022-03-23 10:16
has joined #documentation

shaheen
2022-03-23 23:11
has joined #documentation

sentyaev
2022-03-24 12:36
has joined #documentation

altan.demirkiran
2022-03-24 14:06
has joined #documentation

jonathan.fortunati
2022-03-24 21:53
has joined #documentation

simon.dicola
2022-03-25 10:25
has joined #documentation

mrooschuz
2022-03-25 14:52
has joined #documentation

ashok.pathak
2022-03-25 15:17
has joined #documentation

rdanthuluri
2022-03-27 03:28
has joined #documentation

cudi.unal
2022-03-28 11:25
has joined #documentation

rafael.anachoreta
2022-03-28 13:03
has joined #documentation

rafael.anachoreta
2022-03-28 13:06
Hey team!:wave: @yousafn and I were talking about some potential improvement opportunities for the new branch + record deployments approach in favor of tags, and I was sharing how I feel like the documentation hasn?t properly reflected the best practices throughout its various pages. Some examples: ? Does ?latest? pacts apply to branches too? Assuming you only have branches and no tags, will it work? This isn?t clear and isn?t reflected in the branches documentation https://docs.pact.io/pact_broker/tags#latest-pacts and https://docs.pact.io/pact_broker/tags#when-retrieving-pacts-to-verify ? There is no way to identify versions by environment using the new record-deployment approach https://docs.pact.io/pact_broker/tags#identifying-versions-by-tag and https://pact.canny.io/feature-requests/p/support-environmentreleases-on-describe-version ? This mention of environments and can-i-deploy is outdated in the context of the new `record-deployment` /`record-releases` https://docs.pact.io/pact_broker/tags#before-deploying-to-an-environment ? This section is outdated: https://docs.pact.io/pact_broker/branches#support (I think this is a known problem and a hard one to circumvent, so it?s ok) ? The recommended configuration for providers is outdated https://docs.pact.io/provider/recommended_configuration#verification-triggered-by-provider-change ? The recommended configuration for consumers is outdated https://docs.pact.io/consumer/recommended_configuration Overall, my proposal involves mostly migrating all the information we have on https://docs.pact.io/pact_broker/tags to https://docs.pact.io/pact_broker/branches, and updating it where applicable. Relevant PR and discussion: https://github.com/pact-foundation/docs.pact.io/pull/103 CC: @bethskurrie

ashraf.anwar.iw
2022-03-28 13:12
has joined #documentation

b.costa
2022-03-28 13:15
has joined #documentation

yousafn
2022-03-28 14:39
Love the effort @rafael.anachoreta, this is a really beneficial endeavour to get the spotlight on areas which need some love and hopefully we can do something collaborative. @mike.geeves064 started collecting some discussion around where best to track these kind of pieces of work, and potential areas of focus, so this leads neatly into it, but there is still some loose ends around how best to gather these thoughts into actionable items and a roadmap, so people can easily contribute. https://pact-foundation.slack.com/archives/CAN147DFD/p1638947223038000 The google season of docs proposals and case studies from last year have given me loads of food for thought https://developers.google.com/season-of-docs/docs/2021/participants I found redoclys one particularly resonated with our challenges

mark.hopper
2022-03-28 14:53
has joined #documentation

ashraf.anwar
2022-03-28 15:08
has joined #documentation

damianruizdev
2022-03-28 18:44
has joined #documentation

matthew.churcher
2022-03-29 08:48
has joined #documentation

yousafn
2022-03-29 12:12
Hey @rafael.anachoreta just as a heads up, I have a fairly packed week with a few things on for review, but want to definitely pick up this thread near the tail end, or next week. If you wanted to propose any changes in the mean-time, I can take the time out to support them otherwise I will be in touch shortly. If anyone reading wants to get involved, then please reach out. The content on our site becomes alive when it's expertly curated by our community so I am _loving_ all the attention folks are giving it.

ben.brugman
2022-03-29 14:32
has joined #documentation

matthew.churcher
2022-03-29 15:10
Any one here familiar with the bi-drectional testing coding kata. I'd appreciate some support and have a couple of snags to report

yousafn
2022-03-29 15:18
Hi @matthew.churcher, Matt (one of the co-founders) is most familiar as he set it up but he is also on AL for a few days. I've just visited the site now and it is returned a cloudflare 502 (reloaded and it's back!) https://katacoda.com/pact/scenarios/pactflow-bi-directional-contracts-intro The source code is here https://github.com/pactflow/katacoda-workshops if you want to raise any issues directly against the repository. Otherwise feel free to ask your questions away either in here, or possibly the #pactflow channel as we may have more members int that channel who have used the Katacoda. I don't think our usage is massive via the Katacoda's over our traditional examples so really pleased to get some feedback and see how we can help :slightly_smiling_face: Edit:- For reference for anyone following, this particular katacoda workshop (and others) are linked from this page in our Pactflow documentation https://docs.pactflow.io/docs/tutorials/#bi-directional-contract-testing

hassan.shaikley
2022-03-29 16:14
has joined #documentation

david.vancouvering
2022-03-29 17:09
I published an initial draft of a doc PR for feature toggles. Feedback much appreciated! Still need to figure out the provider workflow, so that's a `TODO` but wanted your feedback on the rest. https://github.com/pact-foundation/docs.pact.io/pull/133/

yousafn
2022-03-29 17:37
Will add this to my list of things to review fella, thank you!

oakkub.1995
2022-03-30 07:10
has joined #documentation

hiqbal
2022-03-30 15:16
has joined #documentation

sstenhouse
2022-03-30 15:16
has joined #documentation

bmeyres
2022-03-30 17:37
has joined #documentation

alejandro.velez
2022-03-30 18:42
has joined #documentation

justin
2022-03-30 20:07
has joined #documentation

alejandro.velez
2022-03-30 20:32
hello! submitted a PR for some small typos on the `Recommended configuration for verifying pacts` page https://github.com/pact-foundation/docs.pact.io/pull/135 let me know if this is ok, or needs any changes :slightly_smiling_face:

bethskurrie
2022-03-30 20:38
merged, thanks!

bethskurrie
2022-03-30 20:45
@rafael.anachoreta thanks for the feedback. You're absolutely right, the docs are out of date. The problem has been that not all the clients support branches and environments yet, so I haven't been able to do a full update of best practice recommendations.

bethskurrie
2022-03-30 20:45
We're hoping to knock off the final clients in the next month or so.

bethskurrie
2022-03-30 20:45
As you can imagine, trying to schedule OSS work can be difficult.

bethskurrie
2022-03-30 20:46
I really appreciate the list of places to update - that will help a lot.

bethskurrie
2022-03-30 20:47
I'm going to copy the list into an issue so we address them all.

bethskurrie
2022-03-30 20:51
If you're interested in contributing, I'd be very happy to accept PRs.

bethskurrie
2022-03-30 20:53
The question is - do we wait for all the clients to be updated and go straight to just documenting branches and envs, or do we update it now and have both the tag and branch/env docs side by side.

mike.geeves064
2022-03-30 20:54
Having a few chats with Yousaf, I think he's making a few lists and lists of lists :)

mike.geeves064
2022-03-30 20:56
Deprecating sections of docs is hard for sure :open_mouth:

bethskurrie
2022-03-30 21:03
it's tricky, because I know there will be users stuck on versions of the broker/clients that can only use tags for years.

bethskurrie
2022-03-30 21:04
it's often hard for devs to be able to justify the time in upgrading libraries.

mike.geeves064
2022-03-30 21:32
"how will I know it worked" -> "everything you can see will look exactly the same unless it doesn't" were some of the hardest arguments :smiling_face_with_tear:

mike.geeves064
2022-03-30 21:34
:thinking_face: would making old (deprecated) docs more polished be of value to help guide "but what about this" in the new approach?

yousafn
2022-03-30 21:44
If we are ? clear about the libraries that don't support it on a feature matrix perhaps https://docs.pact.io/roadmap/feature_support ? We can then provide a path for request it http://pact.canny.io and show it on a roadmap that way I think it's fine to show that this way is new, recommend, caveat not everyone supports it and this is the old way that everything supports (if indeed it does)

yousafn
2022-03-30 21:44
I love the fact everyone is loving wanting to make the docs better. You guys/girls :blush:

bethskurrie
2022-03-30 21:45
Yup. Definitely need a clear table to show what versions are necessary.

bethskurrie
2022-03-30 21:45
It's too spread out at the moment.

leo.adriano1994
2022-03-31 00:00
has joined #documentation

hitesh.patadia
2022-03-31 04:27
has joined #documentation

matt.cockayne
2022-03-31 11:02
has joined #documentation

rafael.anachoreta
2022-03-31 11:52
I?ll have a look at all the PRs later today to see how/if I can contribute. Thank you all for so promptly jumping into this and moving the discussion! :heart:

jimmy
2022-03-31 15:39
has joined #documentation

bret.mcclory538
2022-04-01 01:10
has joined #documentation

michael.d
2022-04-01 04:39
has joined #documentation

yash.deole
2022-04-01 07:07
has joined #documentation

alan.alie
2022-04-01 08:10
has joined #documentation

ricardo.cruz
2022-04-01 11:54
has joined #documentation

lauren.corderoy
2022-04-01 12:24
has joined #documentation

jiayao.xu
2022-04-01 12:24
has joined #documentation

shiva.velde0413
2022-04-01 14:44
has joined #documentation

npc1222
2022-04-04 04:37
has joined #documentation

arthur
2022-04-04 14:28
has joined #documentation

agastiya.mohammad
2022-04-05 01:19
has joined #documentation

paul.stapleton
2022-04-05 07:33
has joined #documentation

iurisoares1012
2022-04-05 09:53
has joined #documentation

gocool9996
2022-04-05 10:04
has joined #documentation

simrat.sidhu
2022-04-05 16:07
has joined #documentation

gabriel.brazao
2022-04-05 17:42
has joined #documentation

jhonataok01
2022-04-05 17:43
has joined #documentation

andre.mariano
2022-04-05 19:10
has joined #documentation

alex.zuliqiaer
2022-04-05 20:31
has joined #documentation

lflores
2022-04-05 20:33
has joined #documentation

keoma4
2022-04-05 21:17
has joined #documentation

erick.belf
2022-04-05 21:46
has joined #documentation

michaele
2022-04-06 03:40
has joined #documentation

guillaume.camus
2022-04-06 12:47
has joined #documentation

danielglazer123
2022-04-06 19:06
has joined #documentation

ashish.goyal
2022-04-06 23:14
has joined #documentation

pennellbeth
2022-04-07 08:04
has joined #documentation

dominic.gara
2022-04-07 08:57
has joined #documentation

ivan.cheung
2022-04-07 08:58
has joined #documentation

omrieyal
2022-04-07 08:58
has joined #documentation

drakulavich
2022-04-07 08:58
has joined #documentation

jonoar22
2022-04-07 09:06
has joined #documentation

josh.king
2022-04-07 09:06
has joined #documentation

pitas01_lope
2022-04-07 09:35
has joined #documentation

rarestomos
2022-04-07 09:40
has joined #documentation

shuba.paripoornam
2022-04-07 09:59
has joined #documentation

shivam.kumar
2022-04-07 11:00
has joined #documentation

dgupta2
2022-04-07 13:26
has joined #documentation

yousafn
2022-04-07 17:14
Hey all, Would just love to give a MASSIVE shoutout to @david.vancouvering, who submitted an incredible 4 substantial PR's for our docs site. ? https://github.com/pact-foundation/docs.pact.io/pull/126 to bring into a new CI/CD guide ? woven into the guide to Pact Nirvana via this https://github.com/pact-foundation/docs.pact.io/pull/128 and is now today live. You can view it here - https://docs.pact.io/pact_nirvana We also have these two outstanding for review ? https://github.com/pact-foundation/docs.pact.io/pull/133 - best practise for feature toggles, you can view this on our temp deploy https://deploy-preview-133--docs-pact-io.netlify.app/getting_started/feature_toggles ? https://github.com/pact-foundation/docs.pact.io/pull/127 - Pact Conceptual model, you can view this on our temp deploy https://deploy-preview-127--docs-pact-io.netlify.app/getting_started/conceptual_overview We would appreciate any comments, feedback or even better submissions, after all it's your tool, we are just the custodians. Thank you so much @david.vancouvering :thank_you: :pactflow-platypus-slack: :pray::yellow_heart:

pankajarora512
2022-04-07 22:50
has joined #documentation

aruncontacts
2022-04-07 22:53
has joined #documentation

mira.kim
2022-04-07 23:59
has joined #documentation

alphonse.bendt
2022-04-08 11:44
has joined #documentation

wim.dupont
2022-04-08 11:49
has joined #documentation

wilsonmar
2022-04-08 13:41
has joined #documentation

henit.laxmicant
2022-04-08 14:19
has joined #documentation

mateustalles
2022-04-08 17:35
has joined #documentation

bioflash1
2022-04-11 09:21
has joined #documentation

stambolaolya
2022-04-11 13:20
has joined #documentation

souravmalhotra007
2022-04-11 15:56
has joined #documentation

akshay.nm92
2022-04-11 17:48
has joined #documentation

luxfactaest
2022-04-11 18:25
has joined #documentation

cameron.allan
2022-04-12 00:15
has joined #documentation

kendrickbong1996
2022-04-12 04:12
has joined #documentation

timothy.osm
2022-04-12 05:16
has joined #documentation

pact270
2022-04-12 08:53
has joined #documentation

oytun
2022-04-12 13:12
has joined #documentation

alessandrovermeulen
2022-04-12 14:00
has joined #documentation

lucka
2022-04-12 15:25
has joined #documentation

damon_walker
2022-04-12 15:26
has joined #documentation

anusha_matti
2022-04-12 18:24
has joined #documentation

albert.pincevic
2022-04-12 21:48
has joined #documentation

marcello.rigan335
2022-04-13 12:07
has joined #documentation

koel.misra
2022-04-13 13:31
has joined #documentation

johnmichael.bullen
2022-04-13 15:04
has joined #documentation

wng
2022-04-13 17:54
has joined #documentation

connor.mcneil
2022-04-13 19:45
has joined #documentation

henrry.salinas
2022-04-13 20:10
has joined #documentation

danielflieger
2022-04-14 06:37
has joined #documentation

elyas.najafizada
2022-04-14 11:01
has joined #documentation

tasaki
2022-04-14 14:46
has joined #documentation

jithinjacob2011
2022-04-18 02:43
has joined #documentation

bkapadia
2022-04-18 17:25
has joined #documentation

lewiscowles
2022-04-18 19:10
has joined #documentation

florent
2022-04-19 16:02
has joined #documentation

testingterrasoft
2022-04-19 19:19
has joined #documentation

olivia.c
2022-04-19 23:27
has joined #documentation

ysuei.ygui
2022-04-20 20:42
has joined #documentation

yousafn
2022-04-21 10:31
Beginning to think about recipes and examples, and making our documentation amazing. Would love to get some input and inspiration. ? Does anyone have any great benchmarks, of documentation you've thought was really top class, ? Have you seen recipes that were useful, for the kinds of use cases, you actually have, or are they usually too clean and far removed from real world implementations ? Is there any particular things you would like to see showcased ? What particular formats resonate with people? I know with the advent of youtube, and online courses people are learning in a multitude of different ways. As part of this initiative I have started capturing some initial brain dumps of the information I have found in a couple of GH issues https://github.com/pact-foundation/docs.pact.io/issues/137 https://github.com/pact-foundation/docs.pact.io/issues/88 Any input is welcome, beginners and seasoned Pact pro's alike. Equally if you want to get involved from an early stage and shape the future of our documentation, please do get in touch. We will look to get an open proposal in place and start up something like a Pact season of Docs session where will we invite everyone to get involved.

matt.fellows
2022-04-21 12:54
I?ve always thought the Cypress documentation was pretty good. I like that they split the API usage, from the Guides, but have the examples and workshops front and centre

matt.fellows
2022-04-21 12:57
I recall loving FastAPI because it was so easy to use. The docs aren?t friendly as I remember, but I think we do a bad job of explaining our *features* to people. FastAPI https://fastapi.tiangolo.com/features/ do ok I?ve tried making the new (2.x.x) Pact Go docs a bit nicer with this intent: https://github.com/pact-foundation/pact-go/tree/2.x.x

matt.fellows
2022-04-21 12:58
AWS docs (controversial). They?re good, and you don?t realise they are good until you use another big product and realise how fragmented other product documentation is (and their APIs). AWS are so bloody consistent, it makes it easy to guess command names, flags etc.

giuseppe.torchia
2022-04-22 08:25
has joined #documentation

thadamski
2022-04-22 14:00
has joined #documentation

druiz
2022-04-22 15:02
has joined #documentation

tord.brokvist
2022-04-22 15:08
has joined #documentation

gnanasekar69
2022-04-22 17:23
has joined #documentation

himanshu.1046
2022-04-24 18:25
has joined #documentation

chris196
2022-04-25 09:51
has joined #documentation

manu.vereecken
2022-04-25 11:06
has joined #documentation

maltechristian.neuman
2022-04-25 11:52
has joined #documentation

prashanth.ramadass
2022-04-25 14:04
has joined #documentation

janarthanan.rajendras
2022-04-25 22:35
has joined #documentation

shreyas.gowda
2022-04-26 02:14
has joined #documentation

marxjo
2022-04-26 07:09
has joined #documentation

andrew.fraser
2022-04-26 07:19
has joined #documentation

lei.shi
2022-04-26 07:46
has joined #documentation

akash.sharma5253
2022-04-26 11:50
has joined #documentation

kannan.jai
2022-04-27 07:49
has joined #documentation

c.giannakopoulos
2022-04-27 10:47
has joined #documentation

sebastian.spiess
2022-04-27 11:43
has joined #documentation

oury.diallo
2022-04-27 13:46
has joined #documentation

jean.paiva42
2022-04-27 18:58
has joined #documentation

christoffer.vig
2022-04-28 06:09
has joined #documentation

andrea.sangiorgio
2022-04-28 13:01
has joined #documentation

jason.mcinerney
2022-04-28 19:14
has joined #documentation

psnyder
2022-04-28 19:22
has joined #documentation

dominique.cote
2022-04-29 01:17
has joined #documentation

laura.walsh
2022-04-29 13:40
has joined #documentation

mailtoadnan.ahmed
2022-04-30 08:56
has joined #documentation

prasanna.mallisetty
2022-04-30 12:11
has joined #documentation

marcelo.jaeggi
2022-05-02 16:26
has joined #documentation

jaswanth.ooty
2022-05-03 00:26
has joined #documentation

james.weng
2022-05-03 05:13
has joined #documentation

jochen.kraushaar
2022-05-03 09:16
has joined #documentation

anurag.soni1984
2022-05-03 10:58
has joined #documentation

stephen.taylor
2022-05-03 14:26
has joined #documentation

conrad
2022-05-03 18:41
has joined #documentation

qamarlonalmeida
2022-05-05 05:24
has joined #documentation

ben.pilgrim
2022-05-05 10:19
has joined #documentation

lredpath
2022-05-05 11:21
has joined #documentation

alex834
2022-05-05 11:26
has joined #documentation

nachogonzalez
2022-05-05 15:51
has joined #documentation

mounaouar
2022-05-05 18:00
has joined #documentation

joanna.schloss
2022-05-06 04:45
has joined #documentation

frank.kilcommins
2022-05-06 04:46
has joined #documentation

douglas.clark
2022-05-06 04:46
has joined #documentation

aaron.m.williams24
2022-05-06 07:50
has joined #documentation

joanna.janiec
2022-05-06 08:14
has joined #documentation

nicholas.simons
2022-05-06 11:02
has joined #documentation

matias.cardenas
2022-05-06 13:44
has joined #documentation

akash.srivastava.1911
2022-05-08 09:38
has joined #documentation

chris.williams
2022-05-09 10:03
Hi - I've been watching the Bi-directional videos and reading the examples - very nice by the way - but I can't see how we can handle state, which is a big thing when you're testing an API, obviously! Can we have an example of how: ? A consumer would test against a success (200) and failure (401) against a login endpoint ? How a provider would test those

chris.williams
2022-05-09 10:06
It's a simple example that I can't seem to find - in our current implementation we have things like ```.given('a user exists and has transactions')``` in our consumer tests, and in our provider tests, a method that takes this state and sets up the data/mocking needed to be able to emulate that state

yousafn
2022-05-09 10:09
states are not used in BDCT as you do not have fine-grained control over the provider in the same way as regular Pact CDCT.

yousafn
2022-05-09 10:10
> ? A consumer would test against a success (200) and failure (401) against a login endpoint They would setup a provider mock to return 200 or 401 for a specific test case, and generate a Pact contract from a successful match

yousafn
2022-05-09 10:13
> ? How a provider would test those With any functional testing tool, we do not mandate the providers choice here, the provider should test any endpoints they expose in an openAPI spec, to provide strong confidence that the implemented service, matches the documented specification. This evidence is uploaded to Pactflow when publishing the provider spec, and forms the provider contract. The bi-directional check, will ensure that the pact contracts generated by the client form a subset of the providers contract, but this check is static, so does not exercise the real provider

yousafn
2022-05-09 10:16
I think you have just got a bit mixed up here buddy, the above is for CDCT and we have plenty of examples. Would love to know if there is something in the docs which has led you to this path, or if there is something we can had to clear this up.

yousafn
2022-05-09 10:19
We should add a 401 case to the BDCT examples though, so good shout Chris!

chris.williams
2022-05-09 10:28
Ok, so (whitewashing over a lot of the complexity), if my provider has tested a `200` and `401` state, and it's in the generated OpenAPI, and my consumer has mocked a `200` and `401` , then the BDCT will marry those two up and give it a green light ?

chris.williams
2022-05-09 10:29
We (thankfully) already have all our integration tests test against a Swagger file, to ensure that the input/output is validated, so we have that 'strong confidence' as you put it

yousafn
2022-05-09 10:31
Even if your provider hasn't tested it, but it's in the spec, and the pact files generated can be satisfied by the spec, then BDCT can-I-deploy will give you the green light. So in essence it's a _maybe_ rather than firm YES, offered by CDCT with Pact. Sounds like you are covered from a functional testing side on the prover which is good. What tool are you using for the provider testing out of interest

chris.williams
2022-05-09 10:33
it's a fairly typical node / nyc / mocha testing stack

yousafn
2022-05-09 10:34
How are you ensuring conformance to the swagger spec? Is it generated as code output