Metadata-Version: 1.1
Name: exosite
Version: 0.13
Summary: Command line interface for Exosite Murano.
Home-page: http://exosite.com
Author: Ivan Lan
Author-email: ivanlan@exosite.com
License: UNKNOWN
Description: 
        # Exosite Murano Command Line Tool (exosite cli)
        
        The tool will upload all resources described in the Solutionfile.json to a solution in your business account. This includes static assets, endpoint definitons, event handlers and modules.
        
        ## Requirements
        
        - python 2.7 or later
        - packages:
        
         ```
         sudo pip install requests urllib3 certifi six
         ```
        
        ## Usage:
        This command will prompt you to input credential data and save it to file '.Solutionfile.secret' for latter use.
        ```
        exosite --init
        ```
        
        This command will perform upload, the target script/file will be read from config file 'Solutionfile.json'
        ```
        exosite --deploy
         ```
        
        #### Usage:
        
        usage: exosite [-h] [--host [HOST]] [-k] [-p] [-s] [-a] [-e] [-m] [--deploy] [--init] [-v]
        
        #### Arguments:
        ```
          -h, --help            show this help message and exit
          --host [HOST]
          -k, --insecrue        Ignore SSL
          -p, --upload_productid
                                Upload static file
          -s, --upload_static   Upload static file
          -a, --upload_api      Upload api
          -e, --upload_eventhandler
                                Upload event handler
          -m, --upload_modules  Upload modules
          --deploy              Upload all solution configurations
          --init                Configure for credential parameters
          -v, --version         Show Version number
        ```
        #### Solutionfile.json format:
        ```
        {
          "version": "0.2",
          "default_page": "index.html",
          "file_dir": "public",
          "custom_api": "sample_api.lua",
          "custom_api_hook": "_init",
          "product_spec": {
            "lightbulb": "lightbulb.yaml"
          },
          "modules": {
            "auth": "modules/util.lua",
            "debug": "modules/debug.lua"
          },
          "event_handler": {
            "device": {
              "datapoint": "event_handler/product.lua"
            },
            "timer": {
              "timer": "event_handler/timer.lua"
            }
          }
        }
        ```
        
        #### Custom API file format:
        
        ```
        --#ENDPOINT <METHOD> <PATH>
        SCRIPT_CODE
         ```
        
        where `--#ENDPOINT <METHOD> <PATH>` is also separator between endpoint definitions, for example:
        
        ```
        --#ENDPOINT GET /keystore/{value}
        return Keystore.get({key = request.parameters.value})
        --#ENDPOINT POST /user/{email}/lightbulbs
        return User.listUserRoleParamValues({
          id = request.user_id,
          role_id = "lightbulb_owner",
          parameter_name = "serialnumber"
        })
        ```
        
Keywords: exosite,m2m,iot,cli,murano
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Build Tools
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
