diff --git a/frontend/src/components/DetectionFramework.jsx b/frontend/src/components/DetectionFramework.jsx
index 031dc01c..e66d09b7 100644
--- a/frontend/src/components/DetectionFramework.jsx
+++ b/frontend/src/components/DetectionFramework.jsx
@@ -1348,7 +1348,7 @@ const Framework = (props) => {
})}
}
- {
+ {/*
Object.getOwnPropertyNames(discoveryData).length > 0 ?
@@ -1362,7 +1362,7 @@ const Framework = (props) => {
)
})}
- : null}
+ : null*/}
{
Object.getOwnPropertyNames(discoveryData).length > 0 ?
@@ -1457,15 +1457,15 @@ const Framework = (props) => {
{discoveryData.description}
- {isCloud && defaultSearch !== undefined && defaultSearch.length > 0 ?
- 0 ?
+ {
+ />}
:
null
- }
+ */}
:
selectionOpen
diff --git a/frontend/src/views/AppCreator.jsx b/frontend/src/views/AppCreator.jsx
index 7afaad07..bdece0f2 100644
--- a/frontend/src/views/AppCreator.jsx
+++ b/frontend/src/views/AppCreator.jsx
@@ -641,6 +641,12 @@ const AppCreator = (defaultprops) => {
example_response: "",
};
+ if (newaction.url !== undefined && newaction.url !== null && newaction.url.includes("_shuffle_replace_")) {
+ const regex = /_shuffle_replace_\d/i;
+ //console.log("NEW: ",
+ newaction.url = newaction.url.replace(regex, "")
+ }
+
// Finding category
if (path.includes("/")) {
const pathsplit = path.split("/");
@@ -665,9 +671,10 @@ const AppCreator = (defaultprops) => {
}
if (path === "/files/{file_id}/content") {
- console.log("Method: ", path, method, methodvalue)
+ console.log("FILE DOWNLOAD Method: ", path, method, methodvalue)
}
+
// Typescript? I think not ;)
if (methodvalue["requestBody"] !== undefined) {
//console.log("Handle requestbody: ", methodvalue["requestBody"], method, path)
@@ -1354,6 +1361,8 @@ const AppCreator = (defaultprops) => {
}
}
+
+
newActions.push(newaction);
}
}
diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go
index 70d2f473..baa2b94b 100644
--- a/functions/onprem/worker/worker.go
+++ b/functions/onprem/worker/worker.go
@@ -1294,7 +1294,7 @@ func handleExecutionResult(workflowExecution shuffle.WorkflowExecution) {
return
}
- log.Printf("[DEBUG][%s] Failed deploy. Downloading image %s", workflowExecution.ExecutionId, image)
+ log.Printf("[DEBUG][%s] Failed deploy. Downloading image %s: %s", workflowExecution.ExecutionId, image, err)
err := downloadDockerImageBackend(topClient, image)
executed := false
if err == nil {
@@ -1322,7 +1322,7 @@ func handleExecutionResult(workflowExecution shuffle.WorkflowExecution) {
return
}
- log.Printf("[WARNING] Failed deploying image THREE TIMES. Attempting to download %s as last resort from backend and dockerhub.", image)
+ log.Printf("[WARNING] Failed deploying image THREE TIMES. Attempting to download %s as last resort from backend and dockerhub: %s", image, err)
reader, err := dockercli.ImagePull(context.Background(), image, pullOptions)
if err != nil && !strings.Contains(err.Error(), "Conflict. The container name") {