Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeiss/service-lens
Manage workloads from solution to runtime.
https://github.com/zeiss/service-lens
Last synced: 4 days ago
JSON representation
Manage workloads from solution to runtime.
- Host: GitHub
- URL: https://github.com/zeiss/service-lens
- Owner: ZEISS
- License: apache-2.0
- Created: 2024-01-07T19:36:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T14:06:35.000Z (15 days ago)
- Last Synced: 2024-10-29T16:02:09.578Z (15 days ago)
- Language: Go
- Homepage: https://zeiss.github.io/service-lens/
- Size: 39.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Service Lens :eyeglasses:
[![Test & Build](https://github.com/zeiss/service-lens/actions/workflows/main.yml/badge.svg)](https://github.com/zeiss/service-lens/actions/workflows/main.yml)
[![Taylor Swift](https://img.shields.io/badge/secured%20by-taylor%20swift-brightgreen.svg)](https://twitter.com/SwiftOnSecurity)
[![Volkswagen](https://auchenberg.github.io/volkswagen/volkswargen_ci.svg?v=1)](https://github.com/auchenberg/volkswagen)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)> :warning: This project is in early development. It is not ready for production use.
## About
Service Lens is an enterprise service management tool. It allows you to manage your services, identify risks, review the solutions that created them and the business context of every service. It follows the Well-Architected methodology established by AWS and Microsoft.
![preview](assets/screenshot_1.png)
It is build on [fiber-htmx](https://github.com/ZEISS/fiber-htmx) and uses a 3-tier architecture.
## Lens Format
### Overview
This JSON schema defines the structure for evaluating a system against best practices. It includes various pillars, each containing questions, choices, risks, and resources.
### Schema Structure
#### Root Object
- **version**: (integer) The version of the schema.
- **name**: (string) The name of the lens.
- **description**: (string) A description of the lens.
- **pillars**: (array) A list of pillars.#### Pillar Object
- **ref**: (string) A reference identifier for the pillar.
- **name**: (string) The name of the pillar.
- **description**: (string) A description of the pillar.
- **questions**: (array) A list of questions related to the pillar.
- **resources**: (array) A list of resources related to the pillar.#### Question Object
- **ref**: (string) A reference identifier for the question.
- **title**: (string) The title of the question.
- **description**: (string) A description of the question.
- **resources**: (array) A list of resources related to the question.
- **choices**: (array) A list of choices for the question.
- **risks**: (array) A list of risks associated with the question.#### Resource Object
- **url**: (string) The URL of the resource.
- **description**: (string) A description of the resource.#### Choice Object
- **ref**: (string) A reference identifier for the choice.
- **title**: (string) The title of the choice.
- **description**: (string) A description of the choice.#### Risk Object
- **risk**: (string) The risk level.
- **condition**: (string) The condition under which the risk applies.#### Example
```json
{
"version": 1,
"name": "SAP Lens",
"description": "This evaluates an SAP against best practices.",
"pillars": [
{
"ref": "operational_excellence",
"name": "Operational Excellence",
"description": "Operational Excellence",
"questions": [
{
"ref": "question_1",
"title": "Question 1 - A longer title for the lens.",
"description": "Question 1 asks about operational exelence",
"resources": [
{
"url": "https://de.wikipedia.org/wiki/Operational_Excellence",
"description": "Operational excellence is a mindset that embraces certain principles and tools to create a culture of excellence within an organization. Operational excellence means every employee can see, deliver, and improve the flow of value to a customer."
}
],
"choices": [
{
"ref": "choice_1",
"title": "Choice 1",
"description": "Choice 1 is provding a good choice."
},
{
"ref": "choice_2",
"title": "Choice 2",
"description": "Choice 2 is provding a good choice."
},
{
"ref": "choice_3",
"title": "Choice 3",
"description": "Choice 3 is provding a good choice."
},
{
"ref": "none_of_these",
"title": "None of these",
"description": "None of these"
}
],
"risks": [
{
"risk": "NO_RISK",
"condition": "choice_1 && choice_2 && choice_3"
},
{
"risk": "MEDIUM_RISK",
"condition": "(choice_1 || choice_2) && choice_3"
},
{
"risk": "HIGH_RISK",
"condition": "default"
}
]
}
],
"resources": [
{
"url": "https://de.wikipedia.org/wiki/Operational_Excellence",
"description": "Operational excellence is a mindset that embraces certain principles and tools to create a culture of excellence within an organization. Operational excellence means every employee can see, deliver, and improve the flow of value to a customer."
}
]
}
]
}
```This schema provides a structured way to evaluate the design, operations and risks of a system.
## Development
Please, set all environment variables in `.env`. `docker compose up db` will launch a local development database.
```
air
```This launches a development instance of the application.
# License
[LICENSE](./LICENSE)