For local assembly you need to perform
$ make deps # Installation of dependencies
$ make build # Build project
$ docker-compose up -d
The Swagger UI is an open source project to visually render documentation for an API defined with the OpenAPI (Swagger) Specification
- http://localhost:3000
-
- login
admin
- login
-
- password
MYPASSWORT
- password
[I] ➜ grpc_cli call localhost:8082 DescribeVerificationV1 "id: 1"
connecting to localhost:8082
Rpc failed with status code 5, error message: verification not found
It reads protobuf service definitions and generates a reverse-proxy server which translates a RESTful HTTP API into gRPC
[I] ➜ curl -s -X 'POST' \
'http://localhost:8080/api/v1/verifications'' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"id": "1"
}' | jq .
{
"code": 5,
"message": "verification not found",
"details": []
}
Metrics GRPC Server
Service condition and its information
- http://localhost:8000
-
/live
- Layed whether the server is running
-
/ready
- Is it ready to accept requests
-
/version
- Version and assembly information
Prometheus is an open-source systems monitoring and alerting toolkit
Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.
UI for Apache Kafka is a simple tool that makes your data flows observable, helps find and troubleshoot issues faster and deliver optimal performance. Its lightweight dashboard makes it easy to track key metrics of your Kafka clusters - Brokers, Topics, Partitions, Production, and Consumption.
Monitor and troubleshoot transactions in complex distributed systems.
Graylog is a leading centralized log management solution for capturing, storing, and enabling real-time analysis of terabytes of machine data.
- http://localhost:9000
-
- login
admin
- login
-
- password
admin
- password
For the convenience of working with the database, you can use the pgcli utility. Migrations are rolled out when the service starts. migrations are located in the ./migrations directory and are created using the goose tool.
$ pgcli "postgresql://docker:docker@localhost:5432/srv_verification_api"
$ python -m venv .venv
$ . .venv/bin/activate
$ make deps
$ make generate
$ cd pypkg/srv-verification-api
$ python setup.py install
$ cd ../..
$ docker-compose up -d
$ python scripts/grpc_client.py