Navigation: <Root level>

KOMPONENTES

 

 

 

APRAKSTS

 

Zemāk aprakstīti OWitech integrācijas platformas komponenti un tiem nepieciešamie parametri. Docker izsaukšanai ir jānodod parametri, kuri ir aprakstīti zemāk, viens no parametriem ir LicenseToken, kas tiek saņemts aktivizēšanas e-pasta vēstulē, kā arī to var iegūt šeit.

 

Pilnīgi visiem komponentiem ir jānodod papildus parametrs - LicenseToken= , kas veic licences pārbaudi visiem docker konteineriem, un izskatās līdzīgi kā dotajā piemērā:

 

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

 

KOMPONENTES

 

IdentityServer

 

Component available from docker image: registry.gitlab.com/owitech/auth_module/identity-server:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

Note: provide connection with database name(mongodb://host:port/auth). If you are connecting via username/password add ″authSource={db}″, where {db} the database name associated with the user′s credentials(mongodb://username:password@host:port/auth?authSource={db})

-      Production__DB__0__Database= Name of auth database

-      Production__DB__1__ConnectionString= Connection string to mongodb

-      Production__DB__1__Database= Name of config database

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

 

IdentityServer Web

 

Component available from docker image: registry.gitlab.com/owitech/auth_module/identity-server-web:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of auth database

-      Production__DB__1__ConnectionString= Connection string to mongodb

-      Production__DB__1__Database= Name of config database

-      Production__EmailOptions__Address - sender email (ex. sender@gmail.com)

-      Production__EmailOptions__Password - sender password

-      Production__EmailOptions__Host - smtp server address (ex. smtp.gmail.com)

-      Production__EmailOptions__Port - smtp server port (ex. 587)

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

 

Persons Api

 

Component available from docker image:

registry.gitlab.com/owitech/person_module/person-api:latest

Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of persons database

-      Production__DB__1__ConnectionString= Connection string to mongodb

-      Production__DB__1__Database= Name of config database

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

 

Persons Web

 

Component available from docker image:

registry.gitlab.com/owitech/person_module/person-web:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of persons database

-      Production__DB__1__ConnectionString= Connection string to mongodb

-      Production__DB__1__Database= Name of config database

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

 

Audit Web

 

Component available from docker image:

registry.gitlab.com/owitech/audit_module/audit-web:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of config database

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

 

Audit Workers

 

Audit included 2 workers: consumer and retriever.

Components available from docker images:

registry.gitlab.com/owitech/audit_module/audit-retriever:latest

registry.gitlab.com/owitech/audit_module/audit-consumer:latest

Workers is console applications and not available from web.

 

Required environment variables (for both workers will be the same):

-      Production__MongoDb__0__Host= address of mongodb

-      Production__MongoDb__0__Port= port of mongodb

-      Production__MongoDb__0__UserName= username of mongodb user

-      Production__MongoDb__0__Password=

-      Production__MQ__0__Host= rabbitmq address

-      Production__MQ__0__Username= username

-      Production__MQ__0__Password= password

-      Production__MQ__0__VirtualHost= rabbitmq virtual host

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

 

Notification Web

 

Component available from docker image:

registry.gitlab.com/owitech/notification_module/notification-web:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of config database

-      Production__API__0__Endpoint= url to notification api(http://notification-api.module.lv)

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)


 

 

Notification Api

 

Component available from docker image:

registry.gitlab.com/owitech/notification_module/notification-api:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of notifications database

 

-      Production__DB__1__ConnectionString= Connection string to mongodb

-      Production__DB__1__Database= Name of Config database

 

-      Production__DB__2__ConnectionString= Connection string to MS SQL database

 

-      Production__MessageQueue__0__Host = Host to RabbitMQ server

-      Production__MessageQueue__0__Username = RabbitMQ User

-      Production__MessageQueue__0__Password = RabbitMQ password

-      Production__MessageQueue__0__VirtualHost = RabbitMQ virtual host

-      Production__MessageQueue__0__Port = RabbitMQ port

 

 

-      Production__MessageQueue__1__Host = Host to RabbitMQ server

-      Production__MessageQueue__1__Username = RabbitMQ User

-      Production__MessageQueue__1__Password = RabbitMQ password

-      Production__MessageQueue__1__VirtualHost = RabbitMQ virtual host

-      Production__MessageQueue__1__Port = RabbitMQ port

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)
 

Database Storage Api

 

Component available from docker image:

registry.gitlab.com/owitech/notification_module/notification-db-api:latest
 Application running under 2 ports inside container: 5443 https and 5000 http.

Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to Notifications DB on MS SQL server

-      Production__API__0__Endpoint= url to notification api(http://notification-api.module.lv)

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)
 

DB worker

 

Component available from docker image:

registry.gitlab.com/owitech/notification_module/notification-db-worker:latest
 Required environment variables:

-      Production__API__0__Endpoint= url to notification database storage api(http://database-storage-api.module.lv)

-      Production__MessageQueue__0__Host = Host to RabbitMQ server

-      Production__MessageQueue__0__Username = RabbitMQ User

-      Production__MessageQueue__0__Password = RabbitMQ password

-      Production__MessageQueue__0__VirtualHost = RabbitMQ virtual host

-      Production__MessageQueue__0__Port = RabbitMQ port

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)

 

 

 

EMAIL Worker

 

Component available from docker image:

registry.gitlab.com/owitech/notification_module/notification-email-worker:latest
 Required environment variables:

-      Production__DB__0__ConnectionString= Connection string to mongodb

-      Production__DB__0__Database= Name of notifications database

 

-      Production__MessageQueue__0__Host = Host to RabbitMQ server

-      Production__MessageQueue__0__Username = RabbitMQ User

-      Production__MessageQueue__0__Password = RabbitMQ password

-      Production__MessageQueue__0__VirtualHost = RabbitMQ virtual host

-      Production__MessageQueue__0__Port = RabbitMQ port

 

-      Production__EmailOptions__Username - smtp server account

-      Production__EmailOptions__Password - smtp server password

-      Production__EmailOptions__Host - smtp server address (ex. smtp.gmail.com)

-      Production__EmailOptions__Port - smtp server port (ex. 587)

-      Production__EmailOptions__FromName - Name of sender

-      Production__EmailOptions__FromEmail - email of sender

-      LicenseToken= license validation token for this docker container(jwt token - looks like ″eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c″)