From 2734ba2193ae8090731e1db432033deed06e2d56 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 23 May 2019 15:06:39 -0700 Subject: [PATCH] add buttons for each account Signed-off-by: Jeff Carr --- Makefile | 3 ++ resources/test.json | 80 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 resources/test.json diff --git a/Makefile b/Makefile index 54e4594..54caa4b 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,9 @@ json-readable: json-restore: cp resources/jcarr.json ~/.config/cloud-control-panel.json +json-test: + cp resources/test.json ~/.config/cloud-control-panel.json + json-delete: mv ~/.config/cloud-control-panel.json /tmp diff --git a/resources/test.json b/resources/test.json new file mode 100644 index 0000000..35502a3 --- /dev/null +++ b/resources/test.json @@ -0,0 +1,80 @@ +{ + "BUILDDEBUG": "", + "MAIL": "/var/mail/jcarr", + "USER": "jcarr", + "accounts": { + "bmath": { + "domainname": "testing.com.customers.wprod.wit.com", + "hostname": "v000185.testing.com.customers.wprod.wit.com", + "username": "bmath@wit.com", + "port": 9000, + "proto": "tcp" + }, + "jcarr": { + "domainname": "lab.wit.com", + "hostname": "fire.lab.wit.com", + "username": "jcarr@wit.com", + "port": 3333, + "proto": "tcp", + "rows": 18 + }, + "jcarr2": { + "domainname": "lab.wit.com", + "hostname": "fire.lab.wit.com", + "username": "jcarr@wit.com", + "password": "yowzayowza", + "port": 3333, + "proto": "tcp", + "rows": 18 + }, + "jcarr4": { + "domainname": "testing.com", + "hostname": "v000185.testing.com.customers.wprod.wit.com", + "password": "yowzayowza", + "username": "jcarr@wit.com" + }, + "jcarr6": { + "domainname": "testing.com.customers.wprod.wit.com", + "hostname": "v000185.testing.com.customers.wprod.wit.com", + "password": "testsinasfd", + "username": "jcarr@wit.com" + } + }, + "arr1": [ + "lo", + "wifi0", + "docker0" + ], + "baseKey": "value2", + "cloud": { + "jcarr": { + "hostname": "fire.lab.wit.com", + "port": 3333, + "proto": "tcp", + "rows": 18 + }, + "v000185": { + "hostname": "v000185.testing.com.customers.wprod.wit.com", + "port": 3333, + "proto": "tcp", + "rows": 567 + } + }, + "configfile": "/home/jcarr/.config/cloud-control-panel.json", + "debug": true, + "debugging": true, + "envKey1": "${NotExist|defValue}", + "height": 600, + "hostname": "localhost", + "map1": { + "key1": { + "jwc1": "jcarr1", + "jwc2": "jcarr2" + }, + "key2": "val20" + }, + "name": "app2", + "nogui": false, + "shell": "${SHELL}", + "width": 800 +}