• Stars
    star
    1
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Check JSON data

usage: launcher.py [-h] [-u URL] [-k KEY] [-e EXIST] [-n NOTEXIST]

JSON Check

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     Full address to check
  -k KEY, --key KEY     Put the key to check a value. Can be used some keys:
                        "testkey1 testkey2"
  -e EXIST, --exist EXIST
                        Return true if exist, else - false
  -n NOTEXIST, --notexist NOTEXIST
                        Return true if not exist, else - false

Examples:

output of RESTfull service:

{ "test1": "disconnected", "test2": "connected", "test2": "connected" }

example 1:

$ ./launcher.py -u http://example.com/rest/getSystemIdConnectionStatus/all -k test2

output: connected

example 2:

$ ./launcher.py -u http://example.com/rest/getSystemIdConnectionStatus/all -k "test1 test2"

output: disconnected connected

example 3:

$ ./launcher.py -u http://example.com/rest/getSystemIdConnectionStatus/all -k test1 -e disconnected

output: true

example 4:

$ ./launcher.py -u http://example.com/rest/getSystemIdConnectionStatus/all -k "test1 test2" -n disconnected

output: false

More Repositories

1

goimports-reviser

Right imports sorting & code formatting tool (goimports alternative)
Go
459
star
2

proxy-chrome-extension

Chrome plugin to setting up a proxy settings via plugin's UI or by browser's address bar
JavaScript
20
star
3

asterisk-ami-api

Call, SMS, CDR APIs for Asterisk
Go
14
star
4

gostruct2graphql

Go structure to GraphQL object
Go
12
star
5

redis-mock-template

Redis Mock (Stateful) for Java based apps & tests
Java
6
star
6

meteor

Lite CI/CD tool with Slack notifications
Go
5
star
7

asterisk-dialer

JavaScript
5
star
8

liqueur-sensor

Firmware for water leakage sensor with low battery control based on Attiny13
C++
3
star
9

idrac

Shell
2
star
10

kafka-client

2
star
11

docker

Nginx
2
star
12

gdb

Data backup tool for MySQL databases, local files and directories to S3 or DigitalOcean Space
Go
2
star
13

pincode

Java
1
star
14

ansible-paybooks

1
star
15

BigData

Java
1
star
16

elk

ELK + logspout
Go
1
star
17

sensu-server

1
star
18

grpc-java-test

Java
1
star
19

joomla-extensions

PHP
1
star
20

cm_api_client

Java
1
star
21

flux-test

JavaScript
1
star
22

goutils

Go
1
star
23

vote-bot

telegram bot for voting based on AWS DynamoDB
Go
1
star
24

thrift-logger

Thrift log decorator library
Java
1
star
25

AMBARI

JavaScript
1
star
26

vue-dart-template

HTML
1
star
27

xml-creator

Go
1
star
28

logger

Go
1
star
29

fs-automation

Go
1
star
30

http-debug-server

Go
1
star
31

RabbitMQProducer

Go
1
star
32

nginx_modules

C
1
star
33

VIDEO_PROJECTS

Java
1
star
34

jwt-example

Go
1
star
35

homebrew-tap

Homebrew repository for different tools
Ruby
1
star
36

go-with-sonar

Dockerfile
1
star
37

cfengine-client

Java
1
star
38

ckafka

Go
1
star
39

graphQlGoTest

Go
1
star
40

openvox-sms-ui

JavaScript
1
star
41

spring-redis-tpl-example

Example of redis-mock-template usage for Medium article
Java
1
star
42

check-openvox-gsm

Tool to check GSM signal on OpenVox
Go
1
star
43

POLYCOM

Java
1
star