Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Feature/Design HWSC CLI App #25

Open
3 of 4 tasks
faraonc opened this issue May 11, 2019 · 4 comments
Open
3 of 4 tasks

Feature/Design HWSC CLI App #25

faraonc opened this issue May 11, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@faraonc
Copy link
Member

faraonc commented May 11, 2019

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

  • A help command to show a summary of commands and options that are available.

manage ElasticSearch

Updating field mappings
In general, the mapping for existing fields cannot be updated. There are some exceptions to this rule. For instance:

- new properties can be added to Object datatype fields.
- new multi-fields can be added to existing fields.
- the ignore_above parameter can be updated.
  • checking the status of elastic search e.g. disk space, nodes, shards, CPU, RAM

Story Points

8

Definition of Done

  • command to check ES cluster health (keep it in my mind that this CLI is not just strictly for ES... maybe a command like hwsc es health)
  • a helpful guide e.g. hwsc help? or hwsc help es health or hwsc es help health (this depends on the CLI library https://github.com/spf13/cobra we are using)
  • good CLI messages
  • unit test separate task
@faraonc faraonc added the enhancement New feature or request label May 11, 2019
@faraonc
Copy link
Member Author

faraonc commented May 23, 2019

@faraonc
Copy link
Member Author

faraonc commented May 24, 2019

@faraonc
Copy link
Member Author

faraonc commented May 24, 2019

@faraonc
Copy link
Member Author

faraonc commented May 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants