Go to file
ttt161 51702c69a0
TD-644: implementation list api keys (#7)
* TD-643: getApiKey implementation

* Update apps/akm/src/akm_apikeys_processing.erl

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>

* Update apps/akm/src/akm_apikeys_processing.erl

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>

* TD-643: add basic test

* TD-643: fix style

* TD-643: change compose

* TD-643: bump erlang

* TD-643: revert erlang

* TD-643: bump epgsql

* TD-643: fix tests

* Update Makefile

* Update Makefile

* TD-643: update Makefile

* Update Makefile

* Update Makefile

* TD-643: add migrations into tests

* Update Makefile

* TD-643: add debug

* TD-643: debug

* TD-643: debug

* Update Makefile

* TD-643: cleanup

* TD-643: fix tests

* TD-643: fix style

* TD-643: fix dialyzer warnings

* TD-643: fix style

* TD-644: implementation listApiKeys

* TD-644: fix typo

* TD-644: fix style

* TD-644: fix issue

* TD-644: fix issue

* TD-644: fix dialyzer checks

---------

Co-authored-by: anatoliy.losev <losto@nix>
Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2023-07-06 19:08:08 +03:00
.github/workflows TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
apps/akm TD-644: implementation list api keys (#7) 2023-07-06 19:08:08 +03:00
config TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
migrations TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
psql-migration@c84b06fc7e TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
test TD-644: implementation list api keys (#7) 2023-07-06 19:08:08 +03:00
.dockerignore TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
.env TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
.gitignore TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
.gitmodules TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
compose.yaml TD-643: getApiKey implementation (#5) 2023-07-03 10:14:41 +03:00
Dockerfile Fix service start up (#9) 2023-07-06 20:58:50 +05:00
Dockerfile.dev TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
elvis.config TD-644: implementation list api keys (#7) 2023-07-06 19:08:08 +03:00
LICENSE TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
Makefile TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
README.md TD-635: Add Api Key Management implementation (#1) 2023-06-20 12:10:38 +05:00
rebar.config TD-643: getApiKey implementation (#5) 2023-07-03 10:14:41 +03:00
rebar.lock TD-643: getApiKey implementation (#5) 2023-07-03 10:14:41 +03:00
renovate.json Add renovate.json (#4) 2023-06-20 18:39:54 +05:00

api-key-mgmt-v2

Migration

First compile migration script with

make wc-make_psql_migration

Then you can use script with

bin/psql_migration -e .env
Usage: psql_migration [-h] [-d [<dir>]] [-e [<env>]] <command>

  -h, --help  Print this help text
  -d, --dir   Migration folder [default: migrations]
  -e, --env   Environment file to search for DATABASE_URL [default: .env]
  new <name>  Create a new migration
  list        List migrations indicating which have been applied
  run         Run all migrations
  revert      Revert the last migration
  reset       Resets your database by dropping the database in your
              DATABASE_URL and then runs `setup`
  setup       Creates the database specified in your DATABASE_URL, and
              runs any existing migrations.