Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define a config file in JSON format to launch PADE runtime environment #54

Open
lucassm opened this issue Jul 8, 2020 · 0 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@lucassm
Copy link
Contributor

lucassm commented Jul 8, 2020

The idea here is to define a clear pattern to configure the PADE runtime environment by means of a config file using the JSON format.

An example of such a configuration file is the following json code:

{   
    "agent_files": [
        "agent_example_1.py",
        "agent_example_3.py"
    ],
    "port": 20000,
    "num": 2,
    "pade_ams": {
        "launch": true,
        "host": "localhost",
        "port": 8000
    },
    "pade_web": {
        "active": true,
        "host": "localhost",
        "port": 5000
    },
    "pade_sniffer": {
        "active": true,
        "host": "localhost",
        "port": 8001
    },
    "session": {
        "username": "pade_user",
        "email": "pade_user@pade.com",
        "password": "12345"    
    }
}
@lucassm lucassm added the enhancement New feature or request label Jul 8, 2020
@lucassm lucassm added this to the 3.0.0 milestone Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant