diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2021-03-16 12:38:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 12:38:16 +0100 |
commit | e7e5d0c37242d8457e4b2610a95effe0db5ca1b1 (patch) | |
tree | 133ea3a9c7d4d5403cc0e4dd4b43717102efabe1 /web | |
parent | 2d2f249fd7cac711adc3b3ac204c83905ac631ad (diff) |
Adds ACLK-NG as fallback(#10315)
* adds a new implementation of ACLK written almost from scratch
* external dependencies only OpenSSL and JSON-C
* fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons)
* can be forced to build by giving "--aclk-ng" to the installer
Diffstat (limited to 'web')
-rw-r--r-- | web/api/web_api_v1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index 73ac15d30d..7c5f9fb9e8 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -961,6 +961,11 @@ inline int web_client_api_request_v1_info_fill_buffer(RRDHOST *host, BUFFER *wb) #ifdef ENABLE_ACLK buffer_strcat(wb, "\t\"cloud-available\": true,\n"); +#ifdef ACLK_NG + buffer_strcat(wb, "\t\"aclk-implementation\": \"Next Generation\",\n"); +#else + buffer_strcat(wb, "\t\"aclk-implementation\": \"legacy\",\n"); +#endif #else buffer_strcat(wb, "\t\"cloud-available\": false,\n"); #endif |