ADD: added container class and adapted test

This commit is contained in:
Henry Winkel
2024-03-14 09:46:37 +01:00
parent 37627a16ca
commit b645005aeb
11 changed files with 219 additions and 70 deletions

View File

@@ -12,7 +12,7 @@
#include <crossguid/guid.hpp>
SCENARIO("Testing the SimCore Sensor")
SCENARIO("Testing podcontroler ")
{
@@ -20,10 +20,9 @@ kubecontrol::PodController podc("docs/config");
std::string name = "test1";
std::string uuid = name;
std::string owner = "controller";
std::string type = "ship";
std::string image = "ship:latest";
kubecontrol::KubePod ShipPod1(owner,uuid,type,image,"simulator");
kubecontrol::KubePod ShipPod1("controller",uuid,type,image,"simulator");
nlohmann::json vars;
vars["ENTITY_ID"] = uuid;