-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract negotiation loop #538
Comments
Thanks for finding out, here I see two problems:
This causes the infinite loop, because every |
I noticed strange behavior into the contract negotiation repositories (stores).
this is dangerous because this kind of domain logic should stay in the domain classes, in this case in However my proposal is to define an additional state between UNSAVED and REQUESTING called INITIALIZED (or INITIAL, to make it consisted with the TransferProcess one). The negotiations on consumer state in that state will be sent to provider and moved to PROCESSING. That would resolve this bug |
closed by #545 |
Hi,
I have a problem with the sample 4.0. I fixed the issue with keyName like mentioned in the discussions. But this generated new problems because after everything gone through and the file was moved from one directory to a different, the CPU load of one core gone up to 100%.
Because I thought maybe this could be because it was not the newest version I clone the current version. This generated a complete new issue because the negotiation was running in a loop.
Consumer:
Provider:
By running the following command:
curl -X POST -H "Content-Type: application/json" -d @samples/04.0-file-transfer/contractoffer.json "http://localhost:9191/api/negotiation?connectorAddress=http://localhost:8181/api/ids/multipart"
And I added keyName to ConsumerApiController.java
Best regards,
Henrik
The text was updated successfully, but these errors were encountered: