@@ -180,7 +180,7 @@ func generateYaml(swagger *openapi3.Swagger) (WorkflowApp, []string, error) {
|
|||||||
api.Name = swagger.Info.Title
|
api.Name = swagger.Info.Title
|
||||||
api.Description = swagger.Info.Description
|
api.Description = swagger.Info.Description
|
||||||
api.IsValid = true
|
api.IsValid = true
|
||||||
api.Link = swagger.Servers[0].URL // host doesnt exist lol
|
api.Link = swagger.Servers[0].URL // host does not exist lol
|
||||||
api.AppVersion = "1.0.0"
|
api.AppVersion = "1.0.0"
|
||||||
api.Environment = "cloud"
|
api.Environment = "cloud"
|
||||||
api.ID = ""
|
api.ID = ""
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ func generateYaml(swagger *openapi3.Swagger) (WorkflowApp, []string, error) {
|
|||||||
api.Name = swagger.Info.Title
|
api.Name = swagger.Info.Title
|
||||||
api.Description = swagger.Info.Description
|
api.Description = swagger.Info.Description
|
||||||
api.IsValid = true
|
api.IsValid = true
|
||||||
api.Link = swagger.Servers[0].URL // host doesnt exist lol
|
api.Link = swagger.Servers[0].URL // host does not exist lol
|
||||||
api.AppVersion = "1.0.0"
|
api.AppVersion = "1.0.0"
|
||||||
api.Environment = "cloud"
|
api.Environment = "cloud"
|
||||||
api.ID = ""
|
api.ID = ""
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ def loop_modules(modules, data):
|
|||||||
param["position"] = cnt
|
param["position"] = cnt
|
||||||
|
|
||||||
if not found:
|
if not found:
|
||||||
# FIXME - waht here?
|
# FIXME - what here?
|
||||||
pass
|
pass
|
||||||
#print("HANDLE NOT FOUND")
|
#print("HANDLE NOT FOUND")
|
||||||
#print(param)
|
#print(param)
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ class AppBase:
|
|||||||
|
|
||||||
self.logger.info("AFTER FULLEXEC stream result")
|
self.logger.info("AFTER FULLEXEC stream result")
|
||||||
|
|
||||||
# Gets the value at the paranthesis level you want
|
# Gets the value at the parenthesis level you want
|
||||||
def parse_nested_param(string, level):
|
def parse_nested_param(string, level):
|
||||||
"""
|
"""
|
||||||
Generate strings contained in nested (), indexing i = level
|
Generate strings contained in nested (), indexing i = level
|
||||||
@@ -173,7 +173,7 @@ class AppBase:
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
return [string[LeftRightIndex[level+1][0]:LeftRightIndex[level+1][1]]]
|
return [string[LeftRightIndex[level+1][0]:LeftRightIndex[level+1][1]]]
|
||||||
|
|
||||||
# Finds the deepest level paranthesis in a string
|
# Finds the deepest level parenthesis in a string
|
||||||
def maxDepth(S):
|
def maxDepth(S):
|
||||||
current_max = 0
|
current_max = 0
|
||||||
max = 0
|
max = 0
|
||||||
|
|||||||
@@ -434,7 +434,7 @@ func generateYaml(swagger *openapi3.Swagger, newmd5 string) (*openapi3.Swagger,
|
|||||||
//uuid.NewV4().String()
|
//uuid.NewV4().String()
|
||||||
|
|
||||||
api.IsValid = true
|
api.IsValid = true
|
||||||
api.Link = swagger.Servers[0].URL // host doesnt exist lol
|
api.Link = swagger.Servers[0].URL // host does not exist lol
|
||||||
if strings.HasSuffix(api.Link, "/") {
|
if strings.HasSuffix(api.Link, "/") {
|
||||||
api.Link = api.Link[:len(api.Link)-1]
|
api.Link = api.Link[:len(api.Link)-1]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -336,7 +336,7 @@ const EditWebhook = (props) => {
|
|||||||
</div>
|
</div>
|
||||||
: null
|
: null
|
||||||
|
|
||||||
// FIXME - needs refresh everytime you add a new workflow
|
// FIXME - needs refresh every time you add a new workflow
|
||||||
const workflowdata = Object.getOwnPropertyNames(webhookData).length > 0 && selectedWorkflows.length > 0 ?
|
const workflowdata = Object.getOwnPropertyNames(webhookData).length > 0 && selectedWorkflows.length > 0 ?
|
||||||
<EditWorkflow globalUrl={globalUrl} inputworkflows={selectedWorkflows} inputname={webhookData.info.name} inputtype={webhookData.type} /> : null
|
<EditWorkflow globalUrl={globalUrl} inputworkflows={selectedWorkflows} inputname={webhookData.info.name} inputtype={webhookData.type} /> : null
|
||||||
|
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ func initializeImages() {
|
|||||||
log.Printf("[WARNING] SHUFFLE_WORKER_VERSION not defined. Defaulting to %s", workerVersion)
|
log.Printf("[WARNING] SHUFFLE_WORKER_VERSION not defined. Defaulting to %s", workerVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check whether theyre the same first
|
// check whether they are the same first
|
||||||
images := []string{
|
images := []string{
|
||||||
fmt.Sprintf("docker.io/%s:app_sdk", baseimagename),
|
fmt.Sprintf("docker.io/%s:app_sdk", baseimagename),
|
||||||
fmt.Sprintf("docker.io/%s:worker", baseimagename),
|
fmt.Sprintf("docker.io/%s:worker", baseimagename),
|
||||||
|
|||||||
Reference in New Issue
Block a user