elasticio / maester-client Goto Github PK
View Code? Open in Web Editor NEWThe official object-storage client library for sailor-nodejs.
License: Apache License 2.0
The official object-storage client library for sailor-nodejs.
License: Apache License 2.0
It should expose re-usable CRUD format
Skip any use of get-stream if getting a stream
Call getStream from get-stream if getting a string
Call getStream.bugger() from get-stream if getting a buffer
Method lookupObjectByQueryParameter
returns string instead of Object or array. Parsing the response is on user now. Makes sense to add this logic to the method itself
Platform team requirements:
Now related to how our services are using the lib (I didn't check you PR in details and not sure you saved these features, most likely you did):
Looks like it is a duplicate for one functionality:
https://github.com/elasticio/maester-client/blob/master/src/object.ts#L170
if (params?.objectFields) {
Object.entries(params.objectFields).forEach(e => {
if (e[1].Query) headers[`X-Query-${e[0]}`] = e[1].Query;
if (e[1].Meta) headers[`X-Meta-${e[0]}`] = e[1].Meta;
})
}
and
https://github.com/elasticio/maester-client/blob/master/src/object.ts#L24
export function metaToHeaders(meta: ObjectMetadata): Record<string, string> {
const headers: Record<string, string> = {};
for (const [key, value] of Object.entries(meta)) {
headers[`${USER_META_HEADER_PREFIX}${key}`] = String(value);
}
return headers;
}
due to Maester service Bucket
mark as deprecated
Update to whatever new version there will be after the fix elasticio/component-commons-library#87
Functionality was implemented here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.