Code Monkey home page Code Monkey logo

bacman's People

Contributors

dependabot[bot] avatar ribose-jeffreylau avatar strogonoff avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bacman's Issues

BC plan example 1

plan:

  name: "Loss or damage of equipment: UPS battery"
  purpose_scope: "Recovery of UPS functionality on UPS battery failure"

  invocation_criteria:
    - "UPS battery is no longer functional."
  
  authority: 
    - "IT service manager"

  # objectives and measures of success in terms of prioritized activities;
  objectives:
    - type: recovery_time_objective
      value: 4 hours

  # how to invoke this plan
  procedure_invocation:
    - id: loss-of-ups-battery-invoke  

  # when to stop this plan
  standdown_criteria:
    - "UPS battery failure is fixed"

  # how to stop this plan
  procedure_standdown:
    - id: loss-of-ups-battery-standdown

  # procedures within the plan
  # "information flow and documentation processes" should
  # be documented within procedures
  procedures:
    - id: loss-of-ups-battery-move-electricity-usage-to-wall
    - id: loss-of-ups-battery-order-battery
    - id: loss-of-ups-battery-install-battery   
    - id: loss-of-ups-battery-move-electricity-wall-to-battery

  # contact information of relevant parties
  contact_information: 
    - name: "operations team"
      email: [email protected]
    - name: "BC manager"
      email: "[email protected]"

  # communication requirements and procedures
  communication:
    - "Escalate to IT service manager"
    - "Alert all operations team members"

  # does not apply in this case
  recovery_point_objective: nil
  
  dependencies:
    - "access to battery supplier"


procedures:
  - id: loss-of-ups-battery-invoke
    resource_needs:
      - "Management representative. IT service manager and IS manager available via phone or email"
    description:
      - Invocation procedure for loss of UPS battery functionality
    roles:
      - name: "management representative"
        responsibilities: "arrange person to execute recovery plan"

  - id: loss-of-ups-battery-move-electricity-usage-to-wall
    resource_needs: 
      - "1 operations team member"
    description:
      - CCTV devices and network equipment affected by failed UPS battery should be migrated to AC power supply.

  - id: loss-of-ups-battery-order-battery
    resource_needs: 
      - "1 operations team member"
      - "access to UPS battery suppliers"
      - "approval from purchasing department"
    description:
      - Contact battery supplier to obtain replacement battery
      - Receive replacement battery

  - id: loss-of-ups-battery-install-battery
    resource_needs: 
      - "1 operations team member"
      - "access to UPS battery suppliers"
    description:
      - Contact battery supplier to obtain replacement battery
      - Receive replacement battery

  - id: loss-of-ups-battery-move-electricity-wall-to-battery
    resource_needs: 
      - "1 operations team member"
    description:
      - CCTV devices and network equipment affected by failed UPS battery should be migrated back to UPS power supply.

  - id: loss-of-ups-battery-standdown
    resource_needs: 
      - "1 operations team member"
    description:
      - Ensure all CCTV devices and network equipment are switched back to resumed UPS power supply.

[BUG] Shows blank screen after entering repo details

Describe the issue

App gives a blank screen after entering details into the initial repo settings screen.

When does it happen?

  1. Open Bacman
  2. Fill in the repo URL, GitHub username, display name and email
  3. Click on the button in the bottom right corner to go to the next screen
  4. See blank window

Expected behavior

Instead of the blank window, it should display the Bacman interface.

Screenshots

Screenshot 2020-05-05 at 9 41 12 PM

Environment

  • OS: macOS 10.14.6
  • bacman version: 0.2.0

Additional context

Suspecting that the issue was due to incompatible settings from previous versions, I did rm -rf ~/Library/Application Support/bacman, which allowed me to get to the initial settings screen.
But after the steps above, the same symptom appears.

Lack settings screen

A setting screen is necessary to:

  • Change the Git repository location
  • Change name/email of person

Add `status` to drill plan

Drill plans may go obsolete.

There needs to be a way to mark them so, e.g. to set its status as { active, obsolete, etc. }.

Drill plans are active when they're created.

Add RTO and RPO fields to drill plans

The following fields are missing from drill plans:

  1. RTO (recovery time objective)
  2. RPO (recovery point objective)

Requirements:

  • Both fields are temporal durations, and the UI should allow inputs ranging from minutes to months.
  • Either one of them is mandatory, so if one of them is entered, the other becomes optional.

[BUG] Drill elapsed time for steps not saved

Describe the issue
0 sec. elapsed is shown for drill steps.

When does it happen?
Steps to reproduce the problem, for example:

  1. Click on 'Start drill'
  2. Click on 'Start' for one of the drill steps
  3. Click 'End' for the started drill step after 5 seconds.
  4. Click on 'End' at the top.
  5. Click on another plan on the left panel to switch focus away
  6. Click on the original plan on the left panel
  7. Click on the latest drill result
  8. See that "0 sec. elapsed" is shown for the drill step in 2.

Expected behavior
See "5 secs elapsed" for the drill step in 2.

Environment

  • OS: macOS Mojave 10.14.6

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.