GithubHelp home page GithubHelp logo

jzlwang / cs-accept.node Goto Github PK

View Code? Open in Web Editor NEW

This project forked from menicosia/cs-accept.node

0.0 2.0 0.0 39 KB

Node app for accepting software from cf-mysql-release and cf-riakcs-release

Perl 12.69% JavaScript 80.69% HTML 3.22% CSS 3.41%

cs-accept.node's Introduction

Core Services Acceptance

When upgrading p-mysql we need to write test data and make sure that it is preserved across upgrades, etc. This small web utility makes that easy.

This app is very simple, it's basically one web page.

Install

cf create-service p-mysql 100mb acceptDB #(or whatever instance name you prefer)
cf push --no-start [--random-route] # use random route if someone has already claimed the default route
cf bind-service cs-accept acceptDB
cf restart cs-accept

Usage

Just visit the home page. For an un-initialized DB, you'll see a single entry field. As you enter keys, they'll be recorded using a timestmp as the value. From then on, every home page load will load the data set from the DB, showing that the data has been recorded in the database.

A common use-case is to deploy a version of cf-mysql or p-mysql, write a few records, then upgrade to a newer release. If the web page loads after upgrade, and the records are still there, then the data has been retained across upgrade.

API

Write a record

Retreive JSON of all the records

cs-accept.node's People

Contributors

menicosia avatar mfine30 avatar jzlwang avatar

Watchers

James Cloos avatar  avatar

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.