hwsc-org / hwsc-dev-ops

Resources for managing our services
0 stars 1 forks source link

Feature/Design HWSC CLI App #25

Open faraonc opened 5 years ago

faraonc commented 5 years ago

Description

As a software engineer, I need to be able to manage services and resources.

I suggest you read all the brief tutorials starting from https://www.elastic.co/guide/en/elasticsearch/reference/7.0/getting-started.html

I am referring about the guide in the picture I posted. The image does not include all of the tutorials. You MIGHT have to read some of them. Screen Shot 2019-05-15 at 1 04 34 AM

Requirements

Scalability

Design HWSC CLI app in a way that it can be used as a library if it is not being using as a CLI app. An example would be https://github.com/golang-migrate/migrate#use-in-your-go-project. In this way, we can use it in with other services.

Features

hwsc CLI app should be able to perform the following:

help

manage ElasticSearch

Story Points

8

Definition of Done

faraonc commented 5 years ago

Sample GoLang

https://github.com/spf13/cobra https://github.com/urfave/cli

faraonc commented 5 years ago

https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html

faraonc commented 5 years ago

https://github.com/elastic/go-elasticsearch

faraonc commented 5 years ago

https://olivere.github.io/elastic/