def _generate_static_configs_from_dir(self, component, config_params):
        config_dir = config_params[defs.PARAM_CONFIG_FILES_CONFIGS_DIR]
        files_dir = config_params[defs.PARAM_CONFIG_FILES_CONFIGS_PATH]
        self.mkdir(os.path.join(
            component[defs.PARAM_SOURCES_PATH], config_dir))
        # copy the static files to the destination config dir.
        # yep, simple as that...
        # import glob
        # print 'xxxxxxxxxxx', glob.glob(os.path.join(files_dir, '*'))
        # self.cp(glob.glob(os.path.join(files_dir, '*')),
        #         os.path.join(component[defs.PARAM_SOURCES_PATH], config_dir))
        for obj in os.listdir(files_dir):
            self.cp(os.path.join(files_dir, obj),
                    os.path.join(component[defs.PARAM_SOURCES_PATH],
                    config_dir))
Wrapper around Requests for GET requests
dataset/ETHPy150Open cloudify-cosmo/packman/packman/templater.py/Handler._generate_static_configs_from_dir--crossover with--dataset/ETHPy150Open pycontribs/python-crowd/crowd.py/CrowdServer._get