Exemplo n.º 1
0
 def _deployment_start(self):
     deployer.chatflow_pools_check()
     deployer.chatflow_network_check(self)
     self.solution_id = uuid.uuid4().hex
     self.user_form_data = {}
     self.user_form_data["chatflow"] = "minio"
     self.solution_metadata = {}
Exemplo n.º 2
0
 def _ubuntu_start(self):
     deployer.chatflow_pools_check()
     deployer.chatflow_network_check(self)
     self.solution_id = uuid.uuid4().hex
     self.user_form_data = dict()
     self.query = dict()
     self.user_form_data["chatflow"] = "ubuntu"
     self.solution_metadata = {}
Exemplo n.º 3
0
 def _deployment_start(self):
     deployer.chatflow_pools_check()
     deployer.chatflow_network_check(self)
     self.tools_names = ["Redis", "Prometheus", "Grafana"]
     self.flists = [
         "https://hub.grid.tf/tf-official-apps/redis_zinit.flist",
         "https://hub.grid.tf/tf-official-apps/prometheus:latest.flist",
         "https://hub.grid.tf/azmy.3bot/grafana-grafana-latest.flist",
     ]
     self.solution_id = uuid.uuid4().hex
     self.env_var_dict = dict()
     self.prometheus_query = dict()
     self.grafana_query = dict()
     self.redis_query = dict()
     self.query = {
         "Prometheus": self.prometheus_query,
         "Grafana": self.grafana_query,
         "Redis": self.redis_query
     }
     self.ip_addresses = {"Prometheus": "", "Grafana": "", "Redis": ""}
     self.solution_metadata = {}
Exemplo n.º 4
0
 def _deployment_start(self):
     deployer.chatflow_pools_check()
     deployer.chatflow_network_check(self)
     self.solution_id = uuid.uuid4().hex
     self.solution_metadata = {}
     self.identity_name = j.core.identity.me.instance_name
Exemplo n.º 5
0
 def _flist_start(self):
     deployer.chatflow_pools_check()
     deployer.chatflow_network_check(self)
     self.solution_id = uuid.uuid4().hex
     self.env = dict()
     self.solution_metadata = {}