Compare commits

...

2 commits

Author SHA1 Message Date
Laureηt a913961060
🎨 (cesium) dry-ify a little bit the nginx n7 sites
Could be even more dry if got rid of the fetchgit precompiled pages
2024-10-06 18:55:25 +02:00
Laureηt 3e566faca6
🚚 (cesium) move gatus endpoints in their associated services 2024-10-06 18:15:10 +02:00
20 changed files with 356 additions and 249 deletions

View file

@ -14,4 +14,19 @@
}; };
}; };
}; };
services.gatus.settings.endpoints = [
{
name = "atuin.fainsin.bzh";
group = "services";
url = "https://atuin.fainsin.bzh";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[CERTIFICATE_EXPIRATION] > 240h"
"[BODY].homage == pat(*Sir Terry Pratchett*)"
];
}
];
} }

View file

@ -5,7 +5,7 @@
./atuin.nix ./atuin.nix
./fail2ban.nix ./fail2ban.nix
./gatus.nix ./gatus.nix
./gitea.nix ./forgejo.nix
./ssh.nix ./ssh.nix
]; ];
} }

View file

@ -37,4 +37,19 @@
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };
services.gatus.settings.endpoints = [
{
name = "git.fainsin.bzh";
group = "services";
url = "https://git.fainsin.bzh";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[CERTIFICATE_EXPIRATION] > 240h"
"[BODY] == pat(*<title>Explore - Forgejo: Beyond coding. We Forge.</title>*)"
];
}
];
} }

View file

@ -6,61 +6,6 @@
web.port = 2020; web.port = 2020;
endpoints = [ endpoints = [
{
name = "fainsin.bzh";
url = "https://fainsin.bzh";
interval = "6h";
conditions = [
"[DOMAIN_EXPIRATION] > 720h"
];
}
{
name = "laurent.fainsin.bzh";
group = "web";
url = "https://laurent.fainsin.bzh";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*<title>Laurent Fainsin</title>*)"
"[CERTIFICATE_EXPIRATION] > 240h"
];
}
{
name = "resume.laurent.fainsin.bzh";
group = "web";
url = "https://resume.laurent.fainsin.bzh";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[CERTIFICATE_EXPIRATION] > 240h"
];
}
{
name = "git.fainsin.bzh";
group = "services";
url = "https://git.fainsin.bzh";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[CERTIFICATE_EXPIRATION] > 240h"
"[BODY] == pat(*<title>Explore - Forgejo: Beyond coding. We Forge.</title>*)"
];
}
{
name = "atuin.fainsin.bzh";
group = "services";
url = "https://atuin.fainsin.bzh";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[CERTIFICATE_EXPIRATION] > 240h"
"[BODY].homage == pat(*Sir Terry Pratchett*)"
];
}
{ {
name = "status.fainsin.bzh"; name = "status.fainsin.bzh";
group = "services"; group = "services";
@ -73,150 +18,6 @@
"[BODY] == pat(*<title>Health Dashboard | Gatus</title>*)" "[BODY] == pat(*<title>Health Dashboard | Gatus</title>*)"
]; ];
} }
{
name = "n7.laurent.fainsin.bzh";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh";
interval = "15m";
conditions = [
"[CERTIFICATE_EXPIRATION] > 240h"
];
}
{
name = "projet-audionumerique";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-audionumerique/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*Whisper</h1>*)"
];
}
{
name = "projet-systemes-algorithmes-repartis";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-systemes-algorithmes-repartis/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*The RAFT Consensus Algorithm*)"
];
}
{
name = "projet-intelligence-artificielle-multimedia";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-intelligence-artificielle-multimedia/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*Projet IAM*)"
];
}
{
name = "projet-probleme-inverse-3D";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-probleme-inverse-3D/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*slidevjs/slidev*)"
"[BODY] == pat(*/projet-probleme-inverse-3D/assets/index*)"
];
}
{
name = "projet-modelisation-geometrique";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-modelisation-geometrique/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*Projet de Modélisation Géométrique*)"
];
}
{
name = "projet-long";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-long/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*slidevjs/slidev*)"
"[BODY] == pat(*/projet-long/assets/index*)"
];
}
{
name = "projet-oral-japonais";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-oral-japonais/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(**)"
];
}
{
name = "projet-oral-anglais";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-oral-anglais/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*<title>CAPTCHA</title>*)"
];
}
{
name = "projet-fin-etude";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/projet-fin-etude/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*slidevjs/slidev*)"
"[BODY] == pat(*/projet-fin-etude/assets/index*)"
];
}
{
name = "TP-calcul-parallele";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/TP-calcul-parallele/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*<title>Benchmarking Distributed GEMM Algorithms</title>*)"
];
}
{
name = "TP-reinforcement-learning";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/TP-reinforcement-learning/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*pluto_notebook*)"
];
}
{
name = "TP-traitement-audio-visuel";
group = "n7.laurent.fainsin.bzh";
url = "https://n7.laurent.fainsin.bzh/TP-traitement-audio-visuel/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*pluto_notebook*)"
];
}
]; ];
}; };
}; };

View file

@ -6,9 +6,6 @@
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedProxySettings = true; recommendedProxySettings = true;
# disable max body size
# clientMaxBodySize = "0";
}; };
imports = [ imports = [

View file

@ -7,6 +7,7 @@
"resume.laurent.fainsin.bzh" = { "resume.laurent.fainsin.bzh" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations = { locations = {
"/" = { "/" = {
root = inputs.resume.packages.${system}.default; root = inputs.resume.packages.${system}.default;
@ -15,4 +16,18 @@
}; };
}; };
}; };
services.gatus.settings.endpoints = [
{
name = "resume.laurent.fainsin.bzh";
group = "web";
url = "https://resume.laurent.fainsin.bzh";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[CERTIFICATE_EXPIRATION] > 240h"
];
}
];
} }

View file

@ -7,20 +7,47 @@
"laurent.fainsin.bzh" = { "laurent.fainsin.bzh" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations = { locations = {
"/" = { "/" = {
root = inputs.website.packages.${system}.default; root = inputs.website.packages.${system}.default;
}; };
}; };
}; };
"fainsin.bzh" = { "fainsin.bzh" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/".return = ''301 "$scheme://laurent.fainsin.bzh$request_uri"''; locations."/".return = ''301 "$scheme://laurent.fainsin.bzh$request_uri"'';
}; };
default = { default = {
default = true; default = true;
locations."/".return = ''301 "$scheme://laurent.fainsin.bzh" ''; locations."/".return = ''301 "$scheme://laurent.fainsin.bzh" '';
}; };
}; };
services.gatus.settings.endpoints = [
{
name = "fainsin.bzh";
url = "https://fainsin.bzh";
interval = "6h";
conditions = [
"[DOMAIN_EXPIRATION] > 720h"
];
}
{
name = "laurent.fainsin.bzh";
group = "web";
url = "https://laurent.fainsin.bzh";
interval = "5m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*<title>Laurent Fainsin</title>*)"
"[CERTIFICATE_EXPIRATION] > 240h"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.TP-calcul-parallele.packages.${system}.report + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.TP-calcul-parallele.packages.${system}.report + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*<title>Benchmarking Distributed GEMM Algorithms</title>*)"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.TP-reinforcement-learning.packages.${system}.notebooks + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.TP-reinforcement-learning.packages.${system}.notebooks + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*pluto_notebook*)"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.TP-traitement-audio-visuel.packages.${system}.notebooks + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.TP-traitement-audio-visuel.packages.${system}.notebooks + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*pluto_notebook*)"
];
}
];
} }

View file

@ -1,34 +1,45 @@
{ {
pkgs,
inputs, inputs,
system, system,
pkgs,
... ...
}: { }: let
vhost = "n7.laurent.fainsin.bzh";
withLocation = location: {inherit inputs pkgs system vhost location;};
in {
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"n7.laurent.fainsin.bzh" = { ${vhost} = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations = locations."/".return = "301 $scheme://git.fainsin.bzh/ENSEEIHT";
{
"/".return = "301 $scheme://git.fainsin.bzh/ENSEEIHT";
}
// {
"/projet-audionumerique/" = import ./projet-audionumerique.nix {inherit inputs system;};
"/projet-systemes-algorithmes-repartis/" = import ./projet-systemes-algorithmes-repartis.nix {inherit inputs system;};
"/projet-intelligence-artificielle-multimedia/" = import ./projet-intelligence-artificielle-multimedia.nix {inherit inputs system;};
"/projet-probleme-inverse-3D/" = import ./projet-probleme-inverse-3D.nix pkgs;
"/projet-modelisation-geometrique/" = import ./projet-modelisation-geometrique.nix {inherit inputs system;};
"/projet-long/" = import ./projet-long.nix pkgs;
"/projet-oral-japonais/" = import ./projet-oral-japonais.nix {inherit inputs system;};
"/projet-oral-anglais/" = import ./projet-oral-anglais.nix {inherit inputs system;};
"/projet-fin-etude/" = import ./projet-fin-etude.nix pkgs;
}
// {
"/TP-calcul-parallele/" = import ./TP-calcul-parallele.nix {inherit inputs system;};
"/TP-reinforcement-learning/" = import ./TP-reinforcement-learning.nix {inherit inputs system;};
"/TP-traitement-audio-visuel/" = import ./TP-traitement-audio-visuel.nix {inherit inputs system;};
};
}; };
}; };
imports = [
(import ./projet-audionumerique.nix (withLocation "projet-audionumerique"))
(import ./projet-fin-etude.nix (withLocation "projet-fin-etude"))
(import ./projet-intelligence-artificielle-multimedia.nix (withLocation "projet-intelligence-artificielle-multimedia"))
(import ./projet-long.nix (withLocation "projet-long"))
(import ./projet-modelisation-geometrique.nix (withLocation "projet-modelisation-geometrique"))
(import ./projet-oral-anglais.nix (withLocation "projet-oral-anglais"))
(import ./projet-oral-japonais.nix (withLocation "projet-oral-japonais"))
(import ./projet-probleme-inverse-3D.nix (withLocation "projet-probleme-inverse-3D"))
(import ./projet-systemes-algorithmes-repartis.nix (withLocation "projet-systemes-algorithmes-repartis"))
(import ./TP-calcul-parallele.nix (withLocation "TP-calcul-parallele"))
(import ./TP-reinforcement-learning.nix (withLocation "TP-reinforcement-learning"))
(import ./TP-traitement-audio-visuel.nix (withLocation "TP-traitement-audio-visuel"))
];
services.gatus.settings.endpoints = [
{
name = vhost;
group = vhost;
url = "https://${vhost}";
interval = "15m";
conditions = [
"[CERTIFICATE_EXPIRATION] > 240h"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
vhost,
location,
... ...
}: { }: {
alias = inputs.projet-audionumerique.packages.${system}.slides + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.projet-audionumerique.packages.${system}.slides + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*Whisper</h1>*)"
];
}
];
} }

View file

@ -1,11 +1,33 @@
{pkgs, ...}: let {
pkgs,
vhost,
location,
...
}: let
pages = pkgs.fetchgit { pages = pkgs.fetchgit {
url = "https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport"; url = "https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport";
rev = "32fe5c7ec6d67241951fdaf001e3da1c41b29dcf"; # pages rev = "32fe5c7ec6d67241951fdaf001e3da1c41b29dcf"; # pages
sha256 = "sha256-pOu0lohJ1Yqg/a5hqnNTePTrU8t5By5AbhUAJfL5MBg="; sha256 = "sha256-pOu0lohJ1Yqg/a5hqnNTePTrU8t5By5AbhUAJfL5MBg=";
}; };
in { in {
alias = "${pages}/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
index = "index.html"; alias = "${pages}/";
tryFiles = "$uri $uri/ /projet-fin-etude/index.html"; index = "index.html";
tryFiles = "$uri $uri/ /${location}/index.html";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*slidevjs/slidev*)"
"[BODY] == pat(*/${location}/assets/index*)"
];
}
];
} }

View file

@ -1,9 +1,25 @@
{ {
inputs, inputs,
system, system,
vhost,
location,
... ...
}: { }: {
alias = services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
inputs.projet-intelligence-artificielle-multimedia.packages.${system}.slides alias = inputs.projet-intelligence-artificielle-multimedia.packages.${system}.slides + "/";
+ "/"; };
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*Projet IAM*)"
];
}
];
} }

View file

@ -1,11 +1,33 @@
{pkgs, ...}: let {
pkgs,
location,
vhost,
...
}: let
pages = pkgs.fetchgit { pages = pkgs.fetchgit {
url = "https://git.fainsin.bzh/ENSEEIHT/projet-long"; url = "https://git.fainsin.bzh/ENSEEIHT/projet-long";
rev = "8290710fa7461c486dc727966c8eaa2234ae2e7d"; # pages rev = "8290710fa7461c486dc727966c8eaa2234ae2e7d"; # pages
sha256 = "1xwc0hfdn77183vvm6gadibdd0bh379192qkzf2xvidfhb8yzgqr"; sha256 = "1xwc0hfdn77183vvm6gadibdd0bh379192qkzf2xvidfhb8yzgqr";
}; };
in { in {
alias = "${pages}/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
index = "index.html"; alias = "${pages}/";
tryFiles = "$uri $uri/ /projet-long/index.html"; index = "index.html";
tryFiles = "$uri $uri/ /projet-long/index.html";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*slidevjs/slidev*)"
"[BODY] == pat(*/projet-long/assets/index*)"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.projet-modelisation-geometrique.packages.${system}.report + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.projet-modelisation-geometrique.packages.${system}.report + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*Projet de Modélisation Géométrique*)"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.projet-oral-anglais.packages.${system}.slides + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.projet-oral-anglais.packages.${system}.slides + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*<title>CAPTCHA</title>*)"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.projet-oral-japonais.packages.${system}.slides + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.projet-oral-japonais.packages.${system}.slides + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(**)"
];
}
];
} }

View file

@ -1,11 +1,33 @@
{pkgs, ...}: let {
pkgs,
location,
vhost,
...
}: let
pages = pkgs.fetchgit { pages = pkgs.fetchgit {
url = "https://git.fainsin.bzh/ENSEEIHT/projet-probleme-inverse-3D"; url = "https://git.fainsin.bzh/ENSEEIHT/projet-probleme-inverse-3D";
rev = "9c75aadaf1b779e4f88fd42de163dedd8d5e918a"; # pages rev = "9c75aadaf1b779e4f88fd42de163dedd8d5e918a"; # pages
sha256 = "19s8ccvarlps70aqc8njn92sbmmjbpc1d7q08hdb5apghmkplj9f"; sha256 = "19s8ccvarlps70aqc8njn92sbmmjbpc1d7q08hdb5apghmkplj9f";
}; };
in { in {
alias = "${pages}/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
index = "index.html"; alias = "${pages}/";
tryFiles = "$uri $uri/ /projet-probleme-inverse-3D/index.html"; index = "index.html";
tryFiles = "$uri $uri/ /projet-probleme-inverse-3D/index.html";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*slidevjs/slidev*)"
"[BODY] == pat(*/projet-probleme-inverse-3D/assets/index*)"
];
}
];
} }

View file

@ -1,7 +1,25 @@
{ {
inputs, inputs,
system, system,
location,
vhost,
... ...
}: { }: {
alias = inputs.projet-systemes-algorithmes-repartis.packages.${system}.slides + "/"; services.nginx.virtualHosts.${vhost}.locations."/${location}/" = {
alias = inputs.projet-systemes-algorithmes-repartis.packages.${system}.slides + "/";
};
services.gatus.settings.endpoints = [
{
name = location;
group = vhost;
url = "https://${vhost}/${location}/";
interval = "15m";
conditions = [
"[STATUS] == 200"
"[RESPONSE_TIME] < 300"
"[BODY] == pat(*The RAFT Consensus Algorithm*)"
];
}
];
} }