from Module import app, api
from Module.Control import global_controller
from Module_Config_Boundary.Config_Sample_Boundary \
    import Config_Sample_Boundary
from Module_Config_Boundary.Config_Logger_Boundary \
    import Config_Logger_Boundary
from Module_Config_Boundary.Config_Context_Boundary \
    import Config_Context_Boundary
#
# Get the version of the API
#
version = global_controller.get_value('version')

api.add_resource(Config_Sample_Boundary,
                 '/{0}/config/sample'.format(version))
#
# Place config boundaries here
#
# End config boundaries here
#
api.add_resource(Config_Logger_Boundary,
                 '/{0}/config/logger'.format(version))
api.add_resource(Config_Context_Boundary,
                 '/{0}/config/context'.format(version))
