{
    "dirs_config": {
        "op_ccm": {
            "input_dir": "rel/op_ccm",
            "target_dir": "rel/test_cluster"
        },
        "op_worker": {
            "input_dir": "rel/op_worker",
            "target_dir": "rel/test_cluster"
        },
        "globalregistry": {
            "input_dir": "rel/globalregistry",
            "target_dir": "rel/test_cluster"
        },
        "appmock": {
            "input_dir": "rel/appmock",
            "target_dir": "rel/test_cluster"
        },
        "onepanel": {
            "input_dir": "rel_oneprovider/op_panel",
            "target_dir": "rel/test_cluster"
        }
    },
    "provider_domains": {
        "p1": {
            "db_driver": "couchbase",
            "op_ccm": {
                "ccm1": {
                    "vm.args": {
                        "setcookie": "cookie1"
                    },
                    "sys.config": {
                        "ccm_nodes": [
                            "ccm1"
                        ],
                        "worker_num": 1
                    }
                }
            },
            "op_worker": {
                "worker1": {
                    "vm.args": {
                        "setcookie": "cookie1"
                    },
                    "sys.config": {
                        "ccm_nodes": [
                            "ccm1"
                        ],
                        "db_nodes": [
                            "dbnode1",
                            "dbnode2"
                        ],
                        "global_registry_domain": "gr"
                    }
                }
            }
        },
        "p2.gr": {
            "db_driver": "riak",
            "op_ccm": {
                "ccm1": {
                    "vm.args": {
                        "setcookie": "cookie2"
                    },
                    "sys.config": {
                        "ccm_nodes": [
                            "ccm1"
                        ],
                        "worker_num": 2
                    }
                }
            },
            "op_worker": {
                "worker1": {
                    "vm.args": {
                        "setcookie": "cookie2"
                    },
                    "sys.config": {
                        "ccm_nodes": [
                            "ccm1"
                        ],
                        "db_nodes": [
                            "riaknode1"
                        ],
                        "global_registry_domain": "gr"
                    }
                },
                "worker2": {
                    "vm.args": {
                        "setcookie": "cookie2"
                    },
                    "sys.config": {
                        "ccm_nodes": [
                            "ccm1"
                        ],
                        "db_nodes": [
                            "riaknode1"
                        ],
                        "global_registry_domain": "gr"
                    }
                }
            }
        }
    },
    "globalregistry_domains": {
        "gr": {
            "globalregistry": {
                "node1": {
                    "vm.args": {
                        "setcookie": "cookie3"
                    },
                    "sys.config": {
                        "db_nodes": [
                            "db"
                        ],
                        "http_domain": {
                            "string": "127.0.0.1"
                        },
                        "dev_mode": true
                    }
                }
            }
        }
    },
    "global_setup": {
        "users": {
            "u1": {
                "default_space": "s1"
            },
            "u2": {
                "default_space": "s2"
            },
            "u3": {
                "default_space": "s1"
            }
        },
        "groups": {
            "g1": {
                "users": [
                    "u1",
                    "u3"
                ]
            },
            "g2": {
                "users": [
                    "u2"
                ]
            }
        },
        "spaces": {
            "s1": {
                "users": [
                    "u1",
                    "u2",
                    "u3"
                ],
                "groups": [
                    "g1"
                ],
                "providers": [
                    {
                        "provider": "p1",
                        "supported_size": 1000000000
                    }
                ]
            },
            "s2": {
                "users": [
                    "u2"
                ],
                "groups": [
                    "g2"
                ],
                "providers": [
                    {
                        "provider": "p2.gr",
                        "supported_size": 1000000000
                    }
                ]
            }
        }
    },
    "appmock_domains": {
        "p3": {
            "appmock": {
                "appmock1": {
                    "mocked_app": "op_worker",
                    "vm.args": {
                        "setcookie": "cookie5"
                    },
                    "sys.config": {
                        "app_description_file": "./example_app_description.erl"
                    }
                }
            }
        }
    },
    "oneclient": {
        "client1": {
            "name": "client1",
            "op_domain": "p1",
            "gr_domain": "gr",
            "user_cert": "./cert.pem",
            "user_key": "./cert.pem"
        },
        "client2": {
            "name": "client2",
            "op_domain": "p1",
            "gr_domain": "gr",
            "user_cert": "./cert.pem",
            "user_key": "./cert.pem"
        }
    },
    "onepanel": {
        "onepanel1": {
            "vm.args": {
                "name": "onepanel@onepanel1",
                "setcookie": "cookie7"
            },
            "sys.config": {
                "multicast_address": {
                    "string": "239.255.0.1"
                }
            }
        },
        "onepanel2": {
            "vm.args": {
                "name": "onepanel@onepanel2",
                "setcookie": "cookie7"
            },
            "sys.config": {
                "multicast_address": {
                    "string": "239.255.0.1"
                }
            }
        }
    }
}
