21 Commits

Author SHA1 Message Date
Oleksandr Mazur
4a20121b4b Update readme
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-12-11 17:04:20 +02:00
Sviatoslav Boichuk
1522b13463 Update README.md file 2024-12-05 14:22:26 +02:00
Oleksandr Mazur
768c41dd90 Testing: introduce initial automated testing _core_ changes
Implement initial core for automated tests:
 * mostly resuses/extends existing simulator, kafka producer etc;
 * helper scripts added for manual testing
   (single infra/group add/del etc)
 * Tests compose either of simple steps premade into fixtures,
   or combine usage of both fixtures + custom code inside
   test's funcion

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-11-12 14:20:08 +02:00
Oleksandr Mazur
abb99f544c Add proper all-in-one make job
This change makes it possibly to fire make all / make run
without any additional prerequisites required.
It instructs Makefile to launch docker compose for thirdparty
services, as well as instructs CGW container to communicate
with newly created containers.
Also generates self-signed certs, in case if these are missing.

- Tweak docker-compose files for thirdparty services to resign
  in a cgw-dedicated network, and use hostnames where needed;
- Change CGW app default network to cgw-dedicated network;
- Tweak PGSQL scripts to create tables in CGW DB, as well
  as change ownership to them.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-10-02 14:37:13 +03:00
Sviatoslav Boichuk
aff78fb170 Added env variables to configure group devices capacity 2024-08-22 16:54:02 +03:00
Sviatoslav Boichuk
4b8232601b Add env. vars to configure groups capacity and threshold 2024-08-22 16:54:02 +03:00
Sviatoslav Boichuk
7bd2e0a5b3 Use JSON schema to validate configure commands 2024-08-14 13:03:58 +03:00
Sviatoslav Boichuk
d9efb9a1c4 Make TLS connection to Redis/PSQL optional 2024-08-12 17:48:28 +03:00
Sviatoslav Boichuk
1c458e7edc Utilize TLS connection for Redis & PostgeSQL 2024-07-18 10:35:00 +03:00
Sviatoslav Boichuk
b8f5747fb1 Use credentials to connect to Redis 2024-07-16 12:05:56 +03:00
Sviatoslav Boichuk
e301ae1577 Use host instead of IP Address for: GRPC, KAFKA, REDIS, POSTGRES DB 2024-06-14 14:52:02 +03:00
Sviatoslav Boichuk
9a1d27ad26 Add env variable for metrics port 2024-06-14 12:18:31 +03:00
Sviatoslav Boichuk
d6f6332ea7 Update README.md 2024-06-12 10:13:46 +03:00
Sviatoslav Boichuk
98391a29cb Update README.md file 2024-06-10 15:41:18 +03:00
Sviatoslav Boichuk
22823faddf Use proper crates version 2024-06-05 09:53:51 +03:00
Sviatoslav Boichuk
7be6fe502c Update README 2024-05-23 09:02:18 +03:00
Sviatoslav Boichuk
af7773a044 Added client certs verifier 2024-05-22 16:44:21 +03:00
Sviatoslav Boichuk
57ae9e0c9b Use rustls instead of native tls 2024-05-22 14:18:08 +03:00
Oleksandr Mazur
c3172eed34 Implement dockerized building and running of CGW
- Use special build-env docker image that uses local project
  directory (volume mount) to speedup build.
- Implement cgw-img (docker image) generation.
- Track cgw-img tag based on commit.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-04-04 11:24:34 +03:00
Oleksandr Mazur
eda553ccdb Update readme, add make to ease-out building
- Update readme;
- Add run script that helps running cgw;
  (utilizes enviroment variables for starting app);
- Add makefile that will be used for building app
  (build, deploy, run, run tests etc)

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Change-Id: I5b72e35a121afa95f3102efad8f1748995910a76
2024-03-28 18:28:11 +02:00
Paul White
6a0344aa87 cgw: initial commit
Signed-off-by: Paul White <paul@shasta.cloud>
2024-03-17 20:33:16 -07:00