Giter Club home page Giter Club logo

component-commons-library's People

Contributors

a3a3e1 avatar bennmcgregor avatar denyshld avatar dvd-z avatar emptyinfinity avatar hannah-bulmer avatar if0s avatar jhorbulyk avatar juhrmacher avatar olegosh avatar shkarupanick avatar shulkaolka avatar uaarsen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

component-commons-library's Issues

Extend AttachmentProcessor so that it can read Maester Attachments

Migration to Use New API Features

Description

Currently, the AttachmentProcessor works with reading from and writing to our steward service. In the longer term, there is a desire to migrate from Steward to Maester. Currently, when storing data in Maester, in general, client side encryption is used. As a result, if we simply swap out Steward URLs with Maester URLs (and the existing Maester encryption logic) then existing components which work with attachments would not be functional. We should add logic such that if the provided URL is a Maester URL, then attachment processor should read it seamlessly.

Due Date

None, but:

  • It would be nice to deprecate Steward
  • It would nice to be able to have all these changes implemented prior to doing rework on components that handle attachments
  • In the future, we may start billing for Maester usage

Also makes sense to work in parallel on #41

Have AttachmentProcessor create Maester Attachments by default

Migration to Use New API Features

Description

Follow up to #42

The rollout strategy is as follows:

  1. Apply #42 so that Maester attachments can be read along side Stewart attachments.
  2. Migrate all components that use attachments to this version of the component commons
  3. Apply this change so that Maester attachments are used by default.
  4. Deprecate Stewart

After this change, only Maester attachments should be created with AttachmentProcessor.

Migrate Away From Request npm package

The request package used by this library has been deprecated since Feb 2020. This library should be updated to use a fully maintained package for http request functionality.

Fix time variables processing for PollingTrigger

Current implementations of getEndTime and getStartTime methods returns
cfg[END_TIME] || new Date(MAX_DATE)
which should new wrapped into new Date() one more time to be sure in Date object processing.
Also, need to add validation for possible Invalid Date value in case of incorrect input

Upgrade JSONata library to support the latest version 1.8.6

Feature Request

Description

On our platform, we use version 1.7

In case the user tries to use the code that works for version 1.8.6 then our component(version 1.7) will return empty objects.

Intercome case

Definition of Done

Checklist after completion
  • Breaking change introduced
  • User behavior changed (e.g. menu item is moved to another place)
  • Environment variable is added/removed (PR to westeros-cluster
    and stage-clusters if clusters must be updated)
  • Migration added (gendry)
  • Cron job added (wiper, per-service)
  • API endpoint is added/changed (PR to api-docs)
  • New permission is introduced
  • The issue requires special release process (e.g. OPS need to backup a storage before)

fix attachment body size limits

Component Bug Report

Description

Method uploadAttachment in class AttachmentProcessor use maxContentLength to define max file size, but it limits only response, instead of it need to use maxBodyLength:

maxContentLength defines the max size of the http response content in bytes allowed in node.js
maxBodyLength (Node only option) defines the max size of the http request content in bytes allowed

Axios docs

Fix dev dependencies

Internal Issue/Enhancement

Description

Fix dev dependencies: move typescript and @types/node to devDependencies

Definition of Done

typescript and @types/node in devDependencies instead of main dependencies

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.