* 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>
* 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
* 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.
* 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