Closed busma13 closed 7 months ago
Is assetSearch called once on job startup or once per worker?
Is assetSearch called once on job startup or once per worker?
assetsearch
is called whenever you hit the v1/assets
or the txt/assets
endpoints. The only other code I see using those endpoints are inisde the teraslice-client-js
Also the only thing I see that utilizes the teraslice-client-js
package is teraslice-cli
.
This PR makes the following changes:
S3Store
class to teraslice which will store a zipped asset external to ES. Asset metadata is still stored in ES.terafoundation
:asset_storage_connection_type
asset_storage_connection
asset_storage_bucket
asset_storage_connection_type
inAssetsStorage
class. If value isS3
create ans3Backend
to store assets externally.AssetsService
class:external_storage
column to the get/txt/assets
and get/assets
endpoints to show if the asset isavailable
ormissing
.simple-spec.ts
in e2e that ensure assets are stored in S3.s3_store-spec.ts
,assets_storage-spec.ts
, andassets-spec.ts
to teraslice test suite.test
workflow that runs e2e tests with external asset storage.Ref: #3561