system for processing data from multiple sensors

Končano Objavljeno pred 2 letoma/leti Plačilo ob prevzemu
Končano Plačilo ob prevzemu

You are developing a system for processing data from multiple sensors. Each sensor sends a JSON message with the next string fields in the body: sensor_id, model, and payload. The payload can be modified with 0 or more handlers in your system, and then the modified payload should be stored in 0 or more available outputs. Handlers are applied sequentially, the result is written to outputs independently.

Your service should be configured so that for each sensor model it would be possible to determine which handlers should be applied and in which outputs the result should be saved. Please note that the sensor model can have only one configuration.

Example message:

{

"sensor_id": "some uuid",

"model": "Sensor 1",

"payload": "some data"

}

1.)

Implement the service from the task description. Pass the message as the first command line argument.

Supported handlers:

trim — remove whitespace from both ends of the payload;

Payload: " asd "

Output payload: "asd"

padToMultiple — pad the payload on the right with a configured character to a length that is a multiple of some configured N;

Char = #, N = 5

Payload: "asdasd"

Output payload: "asdasd####"

addTimestamp — add a current timestamp in seconds to the payload.

Payload: "asd"

Output payload: "asd_1630932706"

Supported outputs:

File — write the result to the configured file;

Console — output the result to the console.

Python JSON API

ID projekta: #31599919

Več o projektu

3 predlogov Oddaljen projekt Aktiven pred 2 letoma/leti

Dodeljeno:

hassanhashmi003

Hello, I've complete BS Software Engineering. I'Good experience in Java development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaFX. I have Več

$30 USD v 2 dneh
(0 mnenj)
0.0

3 freelancerjev ponuja v povprečju za $53 na tem delu

letsstartcoding

Yes, i can make a system for processing data from multiple sensors. message me i am ready to start work from right now.

$100 USD v 2 dneh
(27 ocen)
5.7
ivanlysundev

Hello. I can also keep reading this page to learn more about why we’re adding this project. I had reviewed your project. I can complete it perfectly in short time. I am a new freelancer. But I am confident in my skill Več

$30 USD v 1 dnevu
(0 ocen)
0.0