You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running sample 4 and taking a look at the negotiation output, I just noticed some incorrect values. Maybe due to an error, or missing value settings that should be fixed in the core implementation. Or just due to the sample setup - then this can be ignored. Comments welcome.
A sample negotiation object, performing a request on GET /api/control/negotiation/{id}, could look as follows:
CorrelationId should not be null as the negotiation process already exists on the other connector's side.
Why is the counterPartyId's value consumer as the negotiation object is requested on the consumer side? It seems that something goes wrong here.
The providerAgentId and consumerAgentId in the ContractAgreement should be filled. I assume this is because the contract offer in the sample is filled with null values. Maybe we should add a method that checks for essential attributes and creates them during the negotiation process if missing.
CorrelationId should not be null as the negotiation process already exists on the other connector's side.
Currently, the correlationId is null on consumer side on purpose. If the consumer initiates the negotiation, it is sufficient that the provider knows both IDs.
Why is the counterPartyId's value consumer as the negotiation object is requested on the consumer side? It seems that something goes wrong here.
This was a hardcoded (and misunderstood) value. Changed the samples 4.0 accordingly.
The providerAgentId and consumerAgentId in the ContractAgreement should be filled. I assume this is because the contract offer in the sample is filled with null values. Maybe we should add a method that checks for essential attributes and creates them during the negotiation process if missing.
The providerAgentId and consumerAgentId are no ids values. There is no need for a connector to validate values that have been created by itself.
Running sample 4 and taking a look at the negotiation output, I just noticed some incorrect values. Maybe due to an error, or missing value settings that should be fixed in the core implementation. Or just due to the sample setup - then this can be ignored. Comments welcome.
A sample negotiation object, performing a request on
GET /api/control/negotiation/{id}
, could look as follows:CorrelationId
should not be null as the negotiation process already exists on the other connector's side.counterPartyId
's valueconsumer
as the negotiation object is requested on the consumer side? It seems that something goes wrong here.providerAgentId
andconsumerAgentId
in theContractAgreement
should be filled. I assume this is because the contract offer in the sample is filled with null values. Maybe we should add a method that checks for essential attributes and creates them during the negotiation process if missing.The text was updated successfully, but these errors were encountered: