Categorygithub.com/ozoncp/ocp-certificate-api
module
0.0.0-20210830213235-4da925fb27db
Repository: https://github.com/ozoncp/ocp-certificate-api.git
Documentation: pkg.go.dev

# README

Ozon Code Platform Certificate API

build-and-test codecov

OCP Certificate Api - service for work and management of the certificate platform.

The service supports management methods:

FieldTypeDescription
IdNumberUnique id certificate
UserIdNumberId user to whom the certificate belongs
CreatedTimestampCertificate creation time
LinkStringLink to certificate

To start and build the service, you need to do the following

1 Step [Clone]

2 Step [Dependence]

    make deps

3 Step [Build]

    make build

4 Step [Run]

    make start

5 Step [Migrate]

    make migrate
  • or run in container cli interface
    ./ocp-certificate-api -migrate up
    ./ocp-certificate-api -migrate down

OR

All steps [Build+Deploy+Run+Migrate]

    make deploy

Stop container

    make stop

Remove containers and images

    docker rm -vf $(docker ps -a -q)
    docker rmi -f $(docker images -a -q)

Load testing with Pandora:

run:

 test/load/load pandora.yaml

set config:

 pandora.yaml

Services:

Swagger UI

REST

gRPC

Prometheus

Grafana

Metrics

Jaeger UI

Graylog

Kafka

Kafka UI

Zookeeper

# Packages

No description provided by the author