

def read_datasource(jboss_config, name, profile=None):
    '\n    Read datasource properties in the running jboss instance.\n\n    jboss_config\n        Configuration dictionary with properties specified above.\n    name\n        Datasource name\n    profile\n        Profile name (JBoss domain mode only)\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt \'*\' jboss7.read_datasource \'{"cli_path": "integration.modules.sysmod.SysModuleTest.test_valid_docs", "controller": "10.11.12.13:9999", "cli_user": "jbossadm", "cli_password": "jbossadm"}\'\n       '
    log.debug('======================== MODULE FUNCTION: jboss7.read_datasource, name=%s', name)
    return __read_datasource(jboss_config, name, profile)

dataset/ETHPy150Open saltstack/salt/salt/modules/jboss7.py read_datasource/original