Coder Social home page Coder Social logo

lab-agile-planning's Introduction

lab-agile-planning

This repository contains the lab for agile planning

lab-agile-planning's People

Contributors

acngit avatar

Watchers

 avatar

lab-agile-planning's Issues

Need a service that has a counter

As a User
I need a service that has a counter
So that I can keep track of how many times something was done

Details and Assumptions

  • Need a way to increment a counter
  • Need a way to get the current value

Acceptance Criteria

Given I have incremented the counter to 2
When I make a call to get the current value
Then it should return 2 as the counter value

Must allow multiple counters

As a User
I need multiple counters
So that I can keep track of several counts at once

Details and Assumptions

  • [document what you know]

Acceptance Criteria

Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

Deploy service to the cloud

As a Service Provider
I need I need the counter service to be deployed to the cloud
So that I can scale capacity with user demand

Details and Assumptions

  • In future the demand for the counter service will increase with more customers signed up
  • Initial deployment will not be in the cloud
  • We will use the IBM Cloud
  • Deploy as a Cloud Foundry app (Containers and Kubernetes)

Acceptance Criteria

Given the current server performance slows and continually throws 502 errors
When the counter service is deployed to the cloud
Then server ceases to throw errors
Given I have deployed to the cloud
When a customer comes to our URL
Then our service will be available

Need the ability to update a counter to a new value

As a System Administrator
I need to be able to update the counter to a new value
So that I can always start the counter from any desired value

Details and Assumptions

  • Use the action POST /counters/{name}/update={new value}

Acceptance Criteria

Given the counter has advanced to 2
When I call update on a particular name with a new value of 5
Then I should see 5 returned for that name

Need the ability to remove a counter

As a User
I need the ability to remove a counter
So that I can terminate a counter I no longer need at any time

Details and Assumptions

  • [document what you know]

Acceptance Criteria

Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

Must persist counter across restarts

As a Service Provider
I need the counter service to persist the last known count
So that users don't lose track of their counts after the service is restarted

Details and Assumptions

  • We will use a Redis database
  • Counter will be stored as a name-value pair

Acceptance Criteria

Given I have incremented the counter to 2
When I restart the service
Then the counter should still return 2

Counters can be reset

As a System Administrator
I need the ability to reset the counter
So that I can start counting something new

Details and Assumptions

  • Use the action POST /counters/{name}/reset
  • Database will always allow a 0 in the value field and not "null"

Acceptance Criteria

Given the counter has advanced to 5
When I call reset on the service
And I request the current counter
Then I should see 0 returned from the service

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.