An open API service indexing awesome lists of open source software.

https://github.com/dictybase/modware-stock

dictyBase grpc service to manage biological stocks
https://github.com/dictybase/modware-stock

golang grpc

Last synced: about 1 year ago
JSON representation

dictyBase grpc service to manage biological stocks

Awesome Lists containing this project

README

          

# modware-stock
[![License](https://img.shields.io/badge/License-BSD%202--Clause-blue.svg)](LICENSE)
![GitHub action](https://github.com/dictyBase/modware-stock/workflows/Continuous%20integration/badge.svg)
[![codecov](https://codecov.io/gh/dictyBase/modware-stock/branch/develop/graph/badge.svg)](https://codecov.io/gh/dictyBase/modware-stock)
[![Maintainability](https://api.codeclimate.com/v1/badges/e3681c2f3f207955c305/maintainability)](https://codeclimate.com/github/dictyBase/modware-stock/maintainability)
![Last commit](https://badgen.net/github/last-commit/dictyBase/modware-stock/develop)
[![Funding](https://badgen.net/badge/NIGMS/Rex%20L%20Chisholm,dictyBase,DCR/yellow?list=|)](https://reporter.nih.gov/project-details/10024726)

dictyBase API server to manage biological stocks. The API server supports gRPC protocol for data exchange.

## Usage

```bash
NAME:
modware-stock - cli for modware-stock microservice

USAGE:
modware-stock [global options] command [command options] [arguments...]

VERSION:
1.0.0

COMMANDS:
start-server starts the modware-stock microservice with grpc backends
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--log-format value format of the logging out, either of json or text. (default: "json")
--log-level value log level for the application (default: "error")
--help, -h show help
--version, -v print the version
```

## Subcommand

```bash
NAME:
modware-stock start-server - starts the modware-stock microservice with grpc backends

USAGE:
modware-stock start-server [command options] [arguments...]

OPTIONS:
--port value tcp port at which the server will be available (default: "9560")
--stock-collection value arangodb collection for storing biological stocks (default: "stock")
--stockprop-collection value arangodb collection for storing stock properties (default: "stockprop")
--stock-key-generator-collection value arangodb collection for generating unique IDs (default: "stock_key_generator")
--stock-type-edge value arangodb edge collection for connecting stocks to their types (strain or plasmid) (default: "stock_type")
--parent-strain-edge value arangodb edge collection for connecting strains to their parent (default: "parent_strain")
--stockproptype-graph value arangodb named graph for managing relations between stocks and their properties (default: "stockprop_type")
--strain2parent-graph value arangodb named graph for managing relations between strains and their parents (default: "strain2parent")
--reflection, --ref flag for enabling server reflection
--arangodb-pass value, --pass value arangodb database password [$ARANGODB_PASS]
--arangodb-database value, --db value arangodb database name [$ARANGODB_DATABASE]
--arangodb-user value, --user value arangodb database user [$ARANGODB_USER]
--arangodb-host value, --host value arangodb database host (default: "arangodb") [$ARANGODB_SERVICE_HOST]
--arangodb-port value arangodb database port (default: "8529") [$ARANGODB_SERVICE_PORT]
--is-secure flag for secured or unsecured arangodb endpoint
--nats-host value nats messaging server host [$NATS_SERVICE_HOST]
--nats-port value nats messaging server port [$NATS_SERVICE_PORT]
```

## Default Names

### Collections

- stock
- stockprop
- stock_key_generator

### Edge Collections

- parent_strain
- stock_type

### Graphs

- stockprop_type
- strain2parent

## API

### gRPC

The protocol buffer definitions and service apis are documented
[here](https://github.com/dictyBase/dictybaseapis/blob/master/dictybase/stock/stock.proto).

# Misc badges
![Issues](https://badgen.net/github/issues/dictyBase/modware-stock)
![Open Issues](https://badgen.net/github/open-issues/dictyBase/modware-stock)
![Closed Issues](https://badgen.net/github/closed-issues/dictyBase/modware-stock)
![Total PRS](https://badgen.net/github/prs/dictyBase/modware-stock)
![Open PRS](https://badgen.net/github/open-prs/dictyBase/modware-stock)
![Closed PRS](https://badgen.net/github/closed-prs/dictyBase/modware-stock)
![Merged PRS](https://badgen.net/github/merged-prs/dictyBase/modware-stock)
![Commits](https://badgen.net/github/commits/dictyBase/modware-stock/develop)
![Branches](https://badgen.net/github/branches/dictyBase/modware-stock)
![Tags](https://badgen.net/github/tags/dictyBase/modware-stock/?color=cyan)
![GitHub repo size](https://img.shields.io/github/repo-size/dictyBase/modware-stock?style=plastic)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/dictyBase/modware-stock?style=plastic)
[![Lines of Code](https://badgen.net/codeclimate/loc/dictyBase/modware-stock)](https://codeclimate.com/github/dictyBase/modware-stock/code)