<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2016 Red Hat, Inc. and/or its affiliates.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~       http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:kie="http://drools.org/schema/kie-aries-blueprint/1.0.0"
           xsi:schemaLocation="
           http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0
           http://drools.org/schema/kie-aries-blueprint/1.0.0 http://drools.org/schema/kie-aries-blueprint/1.0.0">

  <kie:releaseId id="blueprint-scanner-releaseId" groupId="org.kie" artifactId="kie-karaf-itests-kjar" version="1.0.0"/>

  <kie:import releaseId-ref="blueprint-scanner-releaseId" enableScanner="false" scannerInterval="1000"/>

  <kie:import-session name="KSession1"/>

  <service id="kie-scanner-test-ksession-service" interface="org.kie.api.runtime.KieSession" ref="KSession1"/>

  <kie:import-base name="KBase1"/>

  <service id="kie-scanner-test-kbase-service" interface="org.kie.api.KieBase" ref="KBase1"/>

  <kie:import-scanner name="blueprint-scanner-releaseId-scanner"/>

  <service id="kie-scanner-test-kscanner-service" interface="org.kie.api.builder.KieScanner" ref="blueprint-scanner-releaseId-scanner"/>

</blueprint>
