From 5eba9f4e1b44fb0d4b4962c2241fe9391e202d7b Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 21 Aug 2024 20:19:23 +0200 Subject: rest: allow repository to have more than one IP address Repository can have more than one single IP address. * Add alias field to database to represent the extra IPs that are attached to the repository, update schema and add version 9. * Use og_dbi_get_repository_ip() to infer the repository IP address. * Add helper functions (src/repo.c) to build a list of repositories and update rest API to use it. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 2dc6fbb..944ebbb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,7 @@ ogserver_SOURCES= src/ogAdmServer.c \ src/schedule.c \ src/schema.c \ src/utils.c \ + src/repo.c \ src/rest.c \ src/client.c \ src/json.c \ -- cgit v1.2.3-18-g5258