Skip to content

jobdataexchange/jdx-e2e-client-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a command line interface (CLI) that is an automated end-to-end client for the JDX API.

It is useful for doing automated testing.

How to install

  1. Install pipenv by following these instructions.

  2. Install the required libraries using pipenv,

    pipenv install --skip-lock

    If that fails try,

    sudo pipenv install

How to use

To run the program you will need to execute python through pipenv.

You can do this one of two ways,

  1. Open a pipenv shell and execute the program from within

    pipenv shell
    python client.py
  2. Execute pipenv from outside of a shell (Preferred method)

    pipenv run python client.py

This end-to-end client is a command line utility so you can provide optional arguments to change its behaviour.

Please use,

pipenv run python client.py -h

to learn more about the optional arguments.

Example usages

Run every file within the /files directory against production server,

pipenv run python client.py

Run all of the files but loop forever (please try not to use this, we are not rate limiting currently),

pipenv run python client.py -l

Submit a single file through the JDX workflow,

pipenv run python client.py -d replace-with-your-file.txt

Choose a different directory of files to submit,

pipenv run python client.py -d ~/path/to/your/directory/

Choose a specific competency framework for the workflow,

pipenv run python client.py -f c9ac8b62-b659-40d1-a191-0600e92c8b7d

Submit a specific file, choose a specific framework, and loop forever,

pipenv run python client.py -d ./files/replace-with-your-file.txt -f c9ac8b62-b659-40d1-a191-0600e92c8b7d -l

About

Automated end-to-end command line interface (CLI) client for the JDX API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages