Create new scenarios
from utils.rc.client.requests import Requests
from utils.rc.client.auth import AuthClient
from utils.rc.dtos.scenario import Scenario
import logging
from utils.utils.log_util import LogUtil
LogUtil.set_basic_config(format='%(levelname)s:%(message)s', level=logging.INFO)
Requests.setRootHost("https://staging.dev.rapidcanvas.net/api/")
AuthClient.setToken() #you can find your token in RapidCanvas UI under tools/token
Scenarios
A scenario is created with in a project and allows to run a pipeline when certain conditions are met.