The Issue Creator retrieves logs from the Kafka Queue described in and instantiated with the Error-Response Monitor. Based on the services that have been registered and thus saved in a service database with the Monitoring Service Selection View in the Monitoring Frontend, the Issue Creator will either accept the retrieved log, convert it into an issue and dispatch it to Sandro's API if it pertains to a registered service or ignore the log otherwise. The log with the corresponding issue id received from Sandro's API will then be saved in a log database.
Nest framework TypeScript starter repository.
$ docker-compose build$ docker-compose up$ docker run -d -p 27017:27017 mongo$ npm run startThe issue creator sits at localhost:3500.
If installed with docker the database is available at localhost:27017.
Post Request to localhost:3500 to add logs.
Get Request to localhost:3500/issue/:issueID with a valid issueID to get the associated issue
Get Request to localhost:3500 to get all logs.
A valid component ID has to be specified in the .env file under 'BACKEND_COMPONENT_ID' in order to receive an Issue ID