# # Copyright © 2014–2015 Red Hat Inc. # # This software is licensed to you under the GNU General Public License, # version 3 (GPLv3). There is NO WARRANTY for this software, express or # implied, including the implied warranties of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv3 # along with this software; if not, see www.gnu.org/licenses/gpl.txt #
require 'smart_proxy_openscap/openscap_api' require 'smart_proxy_openscap/openscap_import_api'
map '/compliance' do
run Proxy::OpenSCAP::Api
end
map '/compliance-importer' do
run Proxy::OpenSCAP::ImportApi
end