Skip to content

Commit 2a2cd11

Browse files
committed
feat(readme)
1 parent 28dc4a5 commit 2a2cd11

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Fuzion. (https://fuzion.is)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Fuzion Apps TypeScript SDK
2+
3+
The Fuzion Apps TypeScript SDK make it quick and easy to develop Fuzion APP that can be installed in the platform.
4+
Fuzion is powerful PIM platform API Centric and event based.
5+
6+
Table of contents
7+
=================
8+
9+
<!--ts-->
10+
* [How it's work?](#how-its-work)
11+
* [Triggers](#triggers)
12+
* [State](#state)
13+
<!--te-->
14+
15+
16+
## How it's work
17+
18+
Any fuzion application is running using Serverless technology based on AWS Lambda.
19+
The main purpose of an Apps is to react to event triggered by a functional change in the customer Space.
20+
21+
### Triggers
22+
23+
The application can be triggered in three different ways:
24+
- By listening one of the many platform events (content.version.published, category.import, task.succeed...)
25+
- On Scheduled time based on Cron expression
26+
- Using RPC URL (secured with unique API-KEY)
27+
28+
### State
29+
30+
Fuzion APPs can be `installed` (more like activated) on a specific **Container**.
31+
Each app will have a dedicated state per **Container**.
32+
33+
The state is useful to store metadata information related to the Application domain.
34+
Everytime the application is executed, the state is given to the app and the app must return the next state.
35+
36+
> :warning: **the state is eventually consistent**
37+
> Due to the nature of the Asynchronous execution, multiple function can be executed at the same time and therefore have the same state.
38+
> The latest execution will be the state memorize.
39+
> If you need strong persistence, you should consider using specific database like DynamoDB or Firebase by injecting credentials in the application configuration.

0 commit comments

Comments
 (0)