// This config contains common flow manager configurations that are shared by both Local Flow Manager and
// Cloud Based Flow Manager.
{
    "type": "gpii.flowManager.config.base",
    "options": {
        "mainServerPort": 8081,
        "distributeOptions": {
            "flowManager.solutions": {
                "record": {
                    "type": "gpii.flowManager.solutionsRegistry.dataSource",
                    "options": {
                        "gradeNames": "gpii.flowManager.solutionsRegistry.dataSource.moduleTerms",
                        "path": "%gpii-universal/testData/solutions/"
                    }
                },
                "target": "{that flowManager solutionsRegistryDataSource}"
            }
        },
        "components": {
            "server": {
                "type": "kettle.server",
                "options": {
                    "gradeNames": ["kettle.server.ws"],
                    "port": "{kettle.config}.options.mainServerPort",
                    "components": {
                        "flowManager": {
                            "type": "gpii.flowManager"
                        },
                        "ontologyHandler": {
                            "type": "gpii.ontologyHandler"
                        }
                    }
                }
            }
        }
    },
    "require": [
        "flowManager"
    ]
}
