Commit Graph

7 Commits

Author SHA1 Message Date
Humair Khan 6723d3d5a9
feat(frontend&backend): Add UI support for object store customization and prefixes (#10787)
* feat: add store session info to artifact property

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* chore: fix tests for api, artifact load, & runlist

Note that for runlist, the mock error response only returns one valid
run list with error set, the other is undefined, so to support multiple
runIds the mock error response will need to be adjusted.

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* chore: support protocols in aws s3 endpoint config

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* feat(ui): allow ui server to parse provider info

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* feat(ui): parse artifact provider info in ui

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* chore: add tests for provider info

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* chore: update ec2 tests

..and clean up imports.

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

* chore: prettier fixes

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>

---------

Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
2024-06-25 00:41:12 +00:00
ryansteakley 9b9b3ace01
feat(frontend): Implement aws-js-sdk crendentials to support IRSA for s3 (#8651)
* use aws js sdk for credentials concerning aws

* format code

* catch exception if no credentials are found after using credentialchain

* revert changes and add section for specific aws changes

* revert deleting aws-helper mock

* add privatelink test for isS3endpiont

* fix try block
2023-01-25 19:32:05 +00:00
Alexey Volkov cc83e1089b
Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
Yuan (Bob) Gong e3992faf83
feat(frontend): UX change to support downloading directory artifacts. Fixes #3667 (#4696)
* feat(frontend): change artifact link to download without extracting. Fixes #3667

* update artifact preview UX

* Fix tests

* add frontend unit tests

* fix

* move artifact integration tests to its own file

* fixed flaky aws-helper test

* refactor and add ui server integration tests

* Update UX according to feedback

* update snapshots

* Update minio-helper.ts

* update
2020-11-03 05:36:15 -08:00
Dmitry B a5b3e7e3f0
Fix source for mlpipeline-ui-metadata in WorkflowParser (#3379)
* WorkflowParser->loadNodeOutputPaths
source: s3.endpoint === 's3.amazonaws.com' ? StorageService.S3 : StorageService.MINIO

* Use isS3Endpoint (server/aws-helper.ts) to identify artifact source

* npm run format

* created src/lib/AwsHelper.ts (for frontend code), because frontend client and frontend server do not share code for now.
2020-04-28 09:42:06 -07:00
Yuan (Bob) Gong b7706c0134
[UI Server] Enable strict type checking and fix errors (#3593)
* wip

* Fix typing

* Fix build error

* Add type checking to tests

* Fix server typing

* Clean up

* Fix server typing
2020-04-23 09:25:11 -07:00
Eterna2 2ec2fd23c5 [Frontend] unit tests for node server (#2745)
* Add unit tests for aws-helper and minio-helper.

* Break up server.ts into app.ts and handlers/*.ts so that unit test can be written more easily.

* update @types/node because of https://github.com/microsoft/TypeScript/issues/32333

* upgrade kubernete-client version to be compatible with new @types/node version

* fix bug: AWSInstanceProfileCredentials.profile() returns a promise not a string

* remove I prefix from interfaces. minor fixes on lint errors.

* fix format errors

* Added more unit tests, and minor fixes.

* Fix comment: GKS should be GKE

* use jest.resetAllMocks instead of reset each mock individually

* fix format for helper test
2020-01-05 20:43:40 -08:00