diff --git a/core/amber/computing-unit.dockerfile b/core/amber/computing-unit.dockerfile index 96529b22d4f..a5b21f04d48 100644 --- a/core/amber/computing-unit.dockerfile +++ b/core/amber/computing-unit.dockerfile @@ -13,6 +13,8 @@ RUN apt-get update && apt-get install -y \ netcat \ unzip \ python3-pip \ + libpq-dev \ + python3-dev \ && apt-get clean # Install Python dependencies diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/ResultResource.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/ResultResource.scala index 206546e8d56..ffe83824395 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/ResultResource.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/resource/ResultResource.scala @@ -5,7 +5,7 @@ import edu.uci.ics.amber.core.virtualidentity.WorkflowIdentity import edu.uci.ics.texera.web.auth.SessionUser import edu.uci.ics.texera.web.model.websocket.request.ResultExportRequest import edu.uci.ics.texera.web.model.websocket.response.ResultExportResponse -import edu.uci.ics.texera.web.service.{ResultExportService, WorkflowService} +import edu.uci.ics.texera.web.service.ResultExportService import io.dropwizard.auth.Auth import javax.ws.rs._ diff --git a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala index 7d0f6b86e83..5596f236f41 100644 --- a/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala +++ b/core/amber/src/main/scala/edu/uci/ics/texera/web/service/ExecutionResultService.scala @@ -4,7 +4,7 @@ import akka.actor.Cancellable import com.fasterxml.jackson.annotation.{JsonTypeInfo, JsonTypeName} import com.fasterxml.jackson.databind.node.ObjectNode import com.typesafe.scalalogging.LazyLogging -import edu.uci.ics.amber.core.storage.DocumentFactory.{ICEBERG, MONGODB} +import edu.uci.ics.amber.core.storage.DocumentFactory.ICEBERG import edu.uci.ics.amber.core.storage.VFSResourceType.MATERIALIZED_RESULT import edu.uci.ics.amber.core.storage.model.VirtualDocument import edu.uci.ics.amber.core.storage.{DocumentFactory, StorageConfig, VFSURIFactory} diff --git a/core/amber/webserver.dockerfile b/core/amber/webserver.dockerfile index 76b3ce9f9c2..e0c0d035ff3 100644 --- a/core/amber/webserver.dockerfile +++ b/core/amber/webserver.dockerfile @@ -26,7 +26,7 @@ COPY core/ . RUN rm -rf amber/user-resources/* RUN apt-get update -RUN apt-get install -y netcat unzip python3-pip +RUN apt-get install -y netcat unzip python3-pip libpq-dev python3-dev RUN pip3 install python-lsp-server python-lsp-server[websockets] RUN pip3 install -r amber/requirements.txt diff --git a/core/gui/proxy.config.json b/core/gui/proxy.config.json index c3fadc17c04..979a0f9d5dd 100755 --- a/core/gui/proxy.config.json +++ b/core/gui/proxy.config.json @@ -4,7 +4,6 @@ "secure": false, "changeOrigin": true }, - "/api": { "target": "http://texera.example.com:30080", "secure": false, diff --git a/core/gui/src/app/app.module.ts b/core/gui/src/app/app.module.ts index f62768cf00b..164d9c926f5 100644 --- a/core/gui/src/app/app.module.ts +++ b/core/gui/src/app/app.module.ts @@ -144,6 +144,7 @@ import { SocialLoginModule, SocialAuthServiceConfig, GoogleSigninButtonModule } import { GoogleLoginProvider } from "@abacritt/angularx-social-login"; import { lastValueFrom } from "rxjs"; import { HubSearchResultComponent } from "./hub/component/hub-search-result/hub-search-result.component"; +import { NzProgressModule } from "ng-zorro-antd/progress"; registerLocaleData(en); @@ -295,6 +296,7 @@ registerLocaleData(en); NzDividerModule, SocialLoginModule, GoogleSigninButtonModule, + NzProgressModule, ], providers: [ provideNzI18n(en_US), diff --git a/core/gui/src/app/dashboard/component/dashboard.component.html b/core/gui/src/app/dashboard/component/dashboard.component.html index 5473ef1f408..4dff29a12a9 100644 --- a/core/gui/src/app/dashboard/component/dashboard.component.html +++ b/core/gui/src/app/dashboard/component/dashboard.component.html @@ -152,7 +152,7 @@ *ngIf="!isLogin && googleLogin" type="standard" size="large" - width="200"> + [width]="200"> diff --git a/core/gui/src/app/workspace/component/power-button/computing-unit-selection.component.html b/core/gui/src/app/workspace/component/power-button/computing-unit-selection.component.html index c15d7b95d40..3be76bcc176 100644 --- a/core/gui/src/app/workspace/component/power-button/computing-unit-selection.component.html +++ b/core/gui/src/app/workspace/component/power-button/computing-unit-selection.component.html @@ -1,52 +1,181 @@ - - -
- - - - +
+
+
+ CPU + +
- - - {{ unit.computingUnit.name }} +
+ Memory + +
+
+ + + + +
    +
  • +
    + + + {{ getComputingUnitName(unit.uri) }} + +
    - -
- - + [nzTooltipTitle]="'Terminate ' + getComputingUnitName(unit.uri)" + (click)="terminateComputingUnit(unit.computingUnit.cuid); $event.stopPropagation()">
+ +
  • +
  • +
    + + Computing Unit +
    +
  • + + + - - -