metadatacenter / cedar-microservice-libraries Goto Github PK
View Code? Open in Web Editor NEWCollection of utils shared by server components
License: Other
Collection of utils shared by server components
License: Other
Refactor code to handle resources (artifacts, users, groups, and folders) in a uniform way.
Currently, application logging is configured in the cedar-main.yml file as follows:
cache:
persistent:
connection:
host: "${CEDAR_REDIS_PERSISTENT_HOST}"
port: "${CEDAR_REDIS_PERSISTENT_PORT}"
timeout: 2000
queueNames:
searchPermission: "CEDAR-QUEUE-search-permission"
ncbiSubmission: "CEDAR-QUEUE-ncbi-submission"
appLog: "CEDAR-QUEUE-app-log"
valuerecommender: "CEDAR-QUEUE-valuerecommender"
There are four types of requests logged on the appLog queue: requestFilter, requestHandler, responseException, cypherQuery.
We would like to be able to selectively enable/disable these four types of app logging in the config file. Current suggestion is:
cache:
persistent:
connection:
host: "${CEDAR_REDIS_PERSISTENT_HOST}"
port: "${CEDAR_REDIS_PERSISTENT_PORT}"
timeout: 2000
queues:
searchPermission:
queueName: "CEDAR-QUEUE-search-permission"
ncbiSubmission:
queueName: "CEDAR-QUEUE-ncbi-submission"
appLog:
queueName: "CEDAR-QUEUE-app-log"
disabledAppLogTypes:
- "cypherQuery"
valuerecommender:
queueName: "CEDAR-QUEUE-valuerecommender"
The above would disable Cypher query logging on the application log queue.
Define the property header constants and extend the CedarResponseBuilder.
Many current queries are generating Cartesian product-type intermediate results and can run very slowly, particularly as content increases. Atti discovered that these queries (80ish of them) can be rewritten to avoid this, dramatically improving performance.
Put the current model version in a configuration setting.
Currently the core CEDAR MongoDB database is specified directly in cedar-main.yml
. Provide an environment variable to allow this to be specified from the application environment.
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.