[arvados-workbench2] updated: 2.4.0-351-ga4b74b32
git repository hosting
git at public.arvados.org
Tue Nov 15 15:08:39 UTC 2022
Summary of changes:
src/models/container-request.ts | 38 +++++++++++++++++++++
.../all-processes-panel-middleware-service.ts | 39 +---------------------
src/store/breadcrumbs/breadcrumbs-actions.ts | 3 +-
3 files changed, 40 insertions(+), 40 deletions(-)
via a4b74b32b506a32566ca2967148a88ece76e973b (commit)
from 0ba78ca92c70bf7196ed400a655aa2d625fe8475 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a4b74b32b506a32566ca2967148a88ece76e973b
Author: Stephen Smith <stephen at curii.com>
Date: Tue Nov 15 10:08:11 2022 -0500
19504: Avoid importing from middleware to fix unit tests
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/src/models/container-request.ts b/src/models/container-request.ts
index dc6bd84f..b3f28134 100644
--- a/src/models/container-request.ts
+++ b/src/models/container-request.ts
@@ -40,3 +40,41 @@ export interface ContainerRequestResource extends Resource, ResourceWithProperti
filters: string;
containerCount: number;
}
+
+// Until the api supports unselecting fields, we need a list of all other fields to omit mounts
+export const containerRequestFieldsNoMounts = [
+ "command",
+ "container_count_max",
+ "container_count",
+ "container_image",
+ "container_uuid",
+ "created_at",
+ "cwd",
+ "description",
+ "environment",
+ "etag",
+ "expires_at",
+ "filters",
+ "href",
+ "kind",
+ "log_uuid",
+ "modified_at",
+ "modified_by_client_uuid",
+ "modified_by_user_uuid",
+ "name",
+ "output_name",
+ "output_path",
+ "output_properties",
+ "output_storage_classes",
+ "output_ttl",
+ "output_uuid",
+ "owner_uuid",
+ "priority",
+ "properties",
+ "requesting_container_uuid",
+ "runtime_constraints",
+ "scheduling_parameters",
+ "state",
+ "use_existing",
+ "uuid",
+];
diff --git a/src/store/all-processes-panel/all-processes-panel-middleware-service.ts b/src/store/all-processes-panel/all-processes-panel-middleware-service.ts
index 5d5e77d6..f50c99e7 100644
--- a/src/store/all-processes-panel/all-processes-panel-middleware-service.ts
+++ b/src/store/all-processes-panel/all-processes-panel-middleware-service.ts
@@ -23,6 +23,7 @@ import { AllProcessesPanelColumnNames } from "views/all-processes-panel/all-proc
import { OrderBuilder, OrderDirection } from "services/api/order-builder";
import { ProcessResource } from "models/process";
import { SortDirection } from "components/data-table/data-column";
+import { containerRequestFieldsNoMounts } from "models/container-request";
export class AllProcessesPanelMiddlewareService extends DataExplorerMiddlewareService {
constructor(private services: ServiceRepository, id: string) {
@@ -66,44 +67,6 @@ export class AllProcessesPanelMiddlewareService extends DataExplorerMiddlewareSe
}
}
-// Until the api supports unselecting fields, we need a list of all other fields to omit mounts
-export const containerRequestFieldsNoMounts = [
- "command",
- "container_count_max",
- "container_count",
- "container_image",
- "container_uuid",
- "created_at",
- "cwd",
- "description",
- "environment",
- "etag",
- "expires_at",
- "filters",
- "href",
- "kind",
- "log_uuid",
- "modified_at",
- "modified_by_client_uuid",
- "modified_by_user_uuid",
- "name",
- "output_name",
- "output_path",
- "output_properties",
- "output_storage_classes",
- "output_ttl",
- "output_uuid",
- "owner_uuid",
- "priority",
- "properties",
- "requesting_container_uuid",
- "runtime_constraints",
- "scheduling_parameters",
- "state",
- "use_existing",
- "uuid",
-];
-
const getParams = ( dataExplorer: DataExplorer ) => ({
...dataExplorerToListParams(dataExplorer),
order: getOrder(dataExplorer),
diff --git a/src/store/breadcrumbs/breadcrumbs-actions.ts b/src/store/breadcrumbs/breadcrumbs-actions.ts
index 65b2870b..d3ea7d23 100644
--- a/src/store/breadcrumbs/breadcrumbs-actions.ts
+++ b/src/store/breadcrumbs/breadcrumbs-actions.ts
@@ -17,12 +17,11 @@ import { ResourceKind } from 'models/resource';
import { GroupResource } from 'models/group';
import { extractUuidKind } from 'models/resource';
import { UserResource } from 'models/user';
-import { containerRequestFieldsNoMounts } from 'store/all-processes-panel/all-processes-panel-middleware-service';
import { FilterBuilder } from 'services/api/filter-builder';
import { ProcessResource } from 'models/process';
import { OrderBuilder } from 'services/api/order-builder';
import { Breadcrumb } from 'components/breadcrumbs/breadcrumbs';
-import { ContainerRequestResource } from 'models/container-request';
+import { ContainerRequestResource, containerRequestFieldsNoMounts } from 'models/container-request';
import { CollectionIcon, IconType, ProcessBreadcrumbIcon, ProjectIcon } from 'components/icon/icon';
import { CollectionResource } from 'models/collection';
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list