Currently when using a DataEndPoint, both the source and the destination applications have to add the QueueUrl in their appSettings file. That is not efficient.
Instead, a new attribute has been added called EventBusAttribute.
[EventBus("Production", "https://sqs...amazonaws.com/.../ProjectsService-ClientEndpoint.fifo")]
public class ClientEndPoint : SourceEndpoint
{
...
}
This eliminates the need for an appSettings section in the code.
Tasks to complete this:
In the server components, recognise this and use this value, unless it's overwritten in config.
When generating the Nuget package for the endpoint, hardcode the queue from the attribute value in the generated Nuget, so it won't need any configuration in the target appSettings.json files.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Currently when using a DataEndPoint, both the source and the destination applications have to add the QueueUrl in their appSettings file. That is not efficient.
Instead, a new attribute has been added called EventBusAttribute.
This eliminates the need for an appSettings section in the code.
Tasks to complete this: