<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://izara.io/wiki/index.php?action=history&amp;feed=atom&amp;title=Translations%3ANPM_module_-_izara-middleware%2F75%2Fen</id>
	<title>Translations:NPM module - izara-middleware/75/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://izara.io/wiki/index.php?action=history&amp;feed=atom&amp;title=Translations%3ANPM_module_-_izara-middleware%2F75%2Fen"/>
	<link rel="alternate" type="text/html" href="https://izara.io/wiki/index.php?title=Translations:NPM_module_-_izara-middleware/75/en&amp;action=history"/>
	<updated>2026-05-03T15:53:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://izara.io/wiki/index.php?title=Translations:NPM_module_-_izara-middleware/75/en&amp;diff=2048&amp;oldid=prev</id>
		<title>FuzzyBot: Importing a new version from external source</title>
		<link rel="alternate" type="text/html" href="https://izara.io/wiki/index.php?title=Translations:NPM_module_-_izara-middleware/75/en&amp;diff=2048&amp;oldid=prev"/>
		<updated>2022-10-04T04:33:58Z</updated>

		<summary type="html">&lt;p&gt;Importing a new version from external source&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* Is a list of services waiting for a response within a single process&lt;br /&gt;
* A new entry is added to the requestServices list manually by main logic when a service will be wanting a response, some intermediary Lambda's may not need to be added to the list&lt;br /&gt;
* Functions as a LIFO list&lt;br /&gt;
* Best type would be an array where we can use push/pop methods, not sure correlation ids middleware can handle this, might need to stringify then parse array&lt;br /&gt;
* A service can add a different service's Lambda to the list, eg one service might add a different service to receive the response&lt;br /&gt;
* A service could add multiple entries to the list&lt;br /&gt;
* When a message is added to a topic, middleware checks to see if there are any entries in the requestServices correlation id, if there are it adds a ''requestService'' message attribute to the message, this can be filtered by subsciptions so only that service receives the message&lt;br /&gt;
* Only when adding to an Out queue, because if a Lambda adds eg to an In queue it is not considered an activity that is passing a result back to another service.&lt;br /&gt;
* We could have a special wrapper function for adding messages to a services Out queue that does this, rather than coding it into the SNS service request code&lt;br /&gt;
* When the Out message adds the requestService to message attributes, also pop it off the requestServices correlation id that gets passed on &lt;br /&gt;
* Maybe can remove from Dynamo __context__ field, but if we ever use Dynamo Streams will probably want to keep it&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
	</entry>
</feed>