Giter Club home page Giter Club logo

saf's Introduction

Smart Application Framework (SAF)

License Nuget .NET Core

The Smart Application Framework (SAF) is an open-source and cross-plattform framework for building distributed applications across cloud and edge. It allows developers to build resilient, stateless and stateful plug-ins that run on cloud and edge.

SAF runs on .NET Core and can easily be integrated into ASP.NET Core applications. It utilizes Microsoft's .NET Core Dependency Injection to provide a main DI container that loads various plug-ins. At its base, it provides exchangeable messaging and storage infrastructure as well as a logging interface.

Get Started

To get started find the overview documentation in the SAF docs.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

saf's People

Contributors

berndbr avatar boeschen67 avatar dependabot[bot] avatar friesenma avatar markusfriesen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bubdm

saf's Issues

The ScopeId set in appsettings.json is not applied to CDE

While using the default CDE modules without any specific crypto library a ScopeId set in the appsettings.json will not be applied to the CDE because of changed behaviour of OSS CDE version >= 5.x.

With that error the CDE always runs without unscoped.

SAF Plug-ins are loaded synchronously.

In case that a service needs long time to initialize the start-up of the SAF host application may take a long time. In case the host is a Windows service the Service Control Manager may recognize a start timeout and will shutdown the host service after that timeout.

Therefore SAF plug-in loading should be done an asynchron manner.

Add a way to provide custom meta data to messages

  • Add string key-value pairs to the SAF message class in addition to topic and payload.

  • Requires versioning of CDE messages to be able to communicate between SAF nodes with different SAF versions

  • Requires versioning of Redis messages

Allow to send byte[] payload with SAF pub/sub messages.

Currently the SAF pub/sub messaging only allows to send a payload of datatype string.

Sending binary data packages (e.g. in file transfers, etc.) is not possible and results in converting the binary packages into a JSON string, which will be converted into text using base64 encoding. This is a unnecessary increase of the size of the binary package being send.

To optimize data transfer in certain cases it might therfore be useful to send "byte[]" payloads too.

Remove AuthorziationService from CdePubSub

As there is no support for CdePubSub in the context of CDEs NMI the AuthorizationService functionality is not required anymore, and shold be removed in future versions.

CDE Diagnostics throws exception parsing CDE hosts version info

The method BuildInformationFromVersionString in class SAF.Messaging.Cde.Diagnostics.CdeServiceHostInfo throws an exception when parsing the version string returned from CDEs TheServiceHostInfo object as the format of the version string changed in CDEs OSS version >= 5.x

RequestClient requires Heartbeat and should add it to DI container

If a service adds the RequestClient from the toolbox using AddRequestClient running the application will throw an exception that the Heartbeat service is missing.
Workaround ist to add the Heartbeat in the service with the call to AddHeartbeat.

It would be better to implicitely add the Heartbeat when as it is required for the RequestClient service.

CDE-PubSub: Reduce keep-alive telegrams between CDE-PubSub Nodes

Currently each CDE-PubSub Node sends two keep-alive telegrams every 30 seconds. To reduce telegram load on cloud gates for huge meshes it is necessary to reduce the keep-alive telegrams.

It seems that only one keep-alive telegram is needed to keep CDE-PubSub communication up and running over all nodes in a mesh.

Extend RequestClient to collect all answers

Extend request client to send a request and wait a configurable amount of time for responses.
Collect and return the responses and/or provide a way to specify a handler that is called for each response received.

In addition it should be possiblt to cancel the collection of responses.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.