From cc573cc8e380c2f77f163cb7722cd9b4d32a62a6 Mon Sep 17 00:00:00 2001 From: fmckenna Date: Wed, 7 Aug 2024 09:18:03 -0700 Subject: [PATCH] fmk - updating main to utilize tapisV3 --- main.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/main.cpp b/main.cpp index 6690667..5930de2 100644 --- a/main.cpp +++ b/main.cpp @@ -7,18 +7,18 @@ #include #include #include - -#include -#include - #include #include -#include #include #include #include #include +#include +#include +#include + + // customMessgaeOutput code from web: // https://stackoverflow.com/questions/4954140/how-to-redirect-qdebug-qwarning-qcritical-etc-output @@ -111,15 +111,17 @@ int main(int argc, char *argv[]) // QString tenant("designsafe"); - QString storage("agave://designsafe.storage.default/"); + //QString storage("agave://designsafe.storage.default/"); + QString storage("designsafe.storage.default/"); QString dirName("PBE"); - AgaveCurl *theRemoteService = new AgaveCurl(tenant, storage, &dirName); - + //AgaveCurl *theRemoteService = new AgaveCurl(tenant, storage, &dirName); + TapisV3 *theRemoteService = new TapisV3(tenant, storage, &dirName); // // create the main window // + //WorkflowAppWidget *theInputApp = new WorkflowAppPBE(theRemoteService); WorkflowAppWidget *theInputApp = WorkflowAppPBE::getInstance(theRemoteService); MainWindowWorkflowApp mainWindow(