This commit is contained in:
Biedermann Steve 2024-05-08 14:20:57 +02:00
parent 5936cdbcad
commit 9948b07f76
1 changed files with 24 additions and 24 deletions

48
req.yml
View File

@ -62,33 +62,33 @@ topics:
REQ-1: REQ-1:
name: Cloud Activation name: Cloud Activation
description: |- description: |-
The remote journal logging **_SHALL_** be startable through a function call from the cloud. The remote journal logging shall be startable through a function call from the cloud.
The api call has the duration and max interval as arguments. The api call has the duration and max interval as arguments.
REQ-2: REQ-2:
name: Duration name: Duration
description: The remote journal logging **_SHOULD_** stay active, until it reaches the specified duration. description: The remote journal logging should stay active, until it reaches the specified duration.
REQ-3: REQ-3:
name: Max Interval name: Max Interval
description: |- description: |-
If no upload was done after the amount of time specified in max interval, If no upload was done after the amount of time specified in max interval,
a log rotation **_SHALL_** be triggered, which will in turn get picked up by the file monitoring. a log rotation shall be triggered, which will in turn get picked up by the file monitoring.
REQ-4: REQ-4:
name: Analytics Not Accepted name: Analytics Not Accepted
description: |- description: |-
If the user has not accepted the usage of their data, the cloud call **_MUST_** If the user has not accepted the usage of their data, the cloud call must
result in an error. result in an error.
SUB-2: SUB-2:
name: File Monitoring name: File Monitoring
requirements: requirements:
REQ-1: REQ-1:
name: Continuous Monitoring name: Continuous Monitoring
description: The tool **_SHOULD_** continuously monitor a designated directory. description: The tool should continuously monitor a designated directory.
SUB-3: SUB-3:
name: File Detection name: File Detection
requirements: requirements:
REQ-1: REQ-1:
name: Detection of New Files name: Detection of New Files
description: The tool **_MUST_** detect the addition of new files in the monitored directory. description: The tool must detect the addition of new files in the monitored directory.
REQ-2: REQ-2:
name: Avoid Re-processing name: Avoid Re-processing
description: The tool must not process files that have already been processed. description: The tool must not process files that have already been processed.
@ -97,72 +97,72 @@ topics:
requirements: requirements:
REQ-1: REQ-1:
name: File Upload name: File Upload
description: When a file gets detected, it **_SHOULD_** get uploaded to the cloud. description: When a file gets detected, it should get uploaded to the cloud.
REQ-2: REQ-2:
name: No Duplicate Files name: No Duplicate Files
description: Already processed files **_MUST NOT_** get uploaded again. description: Already processed files must not get uploaded again.
REQ-3: REQ-3:
name: Revoking Analytics name: Revoking Analytics
description: |- description: |-
If the user revokes the usage of their data, the service **_MAY_** continue running If the user revokes the usage of their data, the service may continue running
but **_MUST NOT_** upload any data until the user allows the usage of their data again. but must not upload any data until the user allows the usage of their data again.
REQ-4: REQ-4:
name: Duration Expired name: Duration Expired
description: After the specified duration is expired, the service **_SHOULD_** stop uploading files. description: After the specified duration is expired, the service should stop uploading files.
FEAT-3: FEAT-3:
name: Configuration name: Configuration
requirements: requirements:
REQ-1: REQ-1:
name: Journal Directory name: Journal Directory
description: Users **_SHOULD_** be able to specify the directory to be monitored for journal files. description: Users should be able to specify the directory to be monitored for journal files.
REQ-2: REQ-2:
name: Output Directory name: Output Directory
description: Users **_SHOULD_** be able to specify the directory into which the final files will be written. description: Users should be able to specify the directory into which the final files will be written.
REQ-3: REQ-3:
name: Trigger Priority name: Trigger Priority
description: Users **_SHOULD_** be able to specify which priority triggers the filtering. description: Users should be able to specify which priority triggers the filtering.
REQ-4: REQ-4:
name: Journal Context name: Journal Context
description: Users **_SHOULD_** be able to specify how many seconds of context will be added description: Users should be able to specify how many seconds of context will be added
to traced logs when encountering a trigger priority. to traced logs when encountering a trigger priority.
REQ-5: REQ-5:
name: Max File Size name: Max File Size
description: Users **_SHOULD_** be able to specify the max file size, at which a file gets rotated. description: Users should be able to specify the max file size, at which a file gets rotated.
REQ-6: REQ-6:
name: Max Directory Size name: Max Directory Size
description: Users **_SHOULD_** be able to specify the max directory size, at which a directory gets rotated. description: Users should be able to specify the max directory size, at which a directory gets rotated.
REQ-7: REQ-7:
name: File Monitoring Interval name: File Monitoring Interval
description: |- description: |-
Users **_SHOULD_** be able to specify an interval, which **_SHOULD_** change Users should be able to specify an interval, which should change
how long the tool waits before checking if new files are available. how long the tool waits before checking if new files are available.
FEAT-4: FEAT-4:
name: Performance Requirements name: Performance Requirements
requirements: requirements:
REQ-1: REQ-1:
name: Efficiency name: Efficiency
description: The tool **_SHOULD_** efficiently monitor and process files without excessive resource consumption. description: The tool should efficiently monitor and process files without excessive resource consumption.
REQ-2: REQ-2:
name: Interval Delay name: Interval Delay
description: The tool **_SHOULD_** do its work with no more than 10 seconds delay after its interval. description: The tool should do its work with no more than 10 seconds delay after its interval.
FEAT-5: FEAT-5:
name: Data Protection name: Data Protection
requirements: requirements:
REQ-1: REQ-1:
name: No Insecure Connection name: No Insecure Connection
description: The tool **_MUST_** send data only through a secure connection. description: The tool must send data only through a secure connection.
REQ-2: REQ-2:
name: GDPR compliance name: GDPR compliance
description: The tool **_MUST NOT_** upload data if the user has not agreed to share this information. description: The tool must not upload data if the user has not agreed to share this information.
FEAT-6: FEAT-6:
name: Testing name: Testing
requirements: requirements:
REQ-1: REQ-1:
name: Unit Tests name: Unit Tests
description: Comprehensive unit tests **_SHOULD_** be written to cover major functionalities. description: Comprehensive unit tests should be written to cover major functionalities.
REQ-2: REQ-2:
name: Integration Tests name: Integration Tests
description: Integration tests **_SHOULD_** be conducted to ensure all parts of the tool work together seamlessly. description: Integration tests should be conducted to ensure all parts of the tool work together seamlessly.
definitions: definitions:
- name: Default Journal Directory - name: Default Journal Directory