Commit 077f8911 authored by Marco Descher's avatar Marco Descher 🏔

[16515] Add OSGI services to MANIFEST.MF

parent 701b5837
Pipeline #11460 passed with stages
in 4 minutes and 19 seconds
......@@ -23,50 +23,5 @@ Import-Package: bsh,
org.apache.commons.lang3;version="3.7.0",
org.json,
org.slf4j
Service-Component: OSGI-INF/ch.elexis.core.services.holder.CoreModelServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.OrderService.xml,
OSGI-INF/ch.elexis.core.services.ConfigService.xml,
OSGI-INF/ch.elexis.core.services.holder.OrderServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.StoreToStringServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.StoreToStringService.xml,
OSGI-INF/ch.elexis.core.services.holder.StockCommissioningServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.StockServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.ContextServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.StockService.xml,
OSGI-INF/ch.elexis.core.services.holder.LocalLockServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.UserService.xml,
OSGI-INF/ch.elexis.core.services.CodeElementService.xml,
OSGI-INF/ch.elexis.core.services.BillingService.xml,
OSGI-INF/ch.elexis.core.services.LabService.xml,
OSGI-INF/ch.elexis.core.services.EncounterService.xml,
OSGI-INF/ch.elexis.core.services.holder.CodeElementServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.AccessControlService.xml,
OSGI-INF/ch.elexis.core.services.holder.EncounterServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.ConfigServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.StickerService.xml,
OSGI-INF/ch.elexis.core.services.holder.StickerServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.MedicationServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.MedicationService.xml,
OSGI-INF/ch.elexis.core.services.InvoiceService.xml,
OSGI-INF/ch.elexis.core.services.CoverageService.xml,
OSGI-INF/ch.elexis.core.services.holder.CoverageServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.InvoiceServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.BillingSystemService.xml,
OSGI-INF/ch.elexis.core.services.holder.BillingSystemServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.ReferenceDataImporterServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.ReferenceDataImporterService.xml,
OSGI-INF/ch.elexis.core.services.AppointmentService.xml,
OSGI-INF/ch.elexis.core.services.holder.AppointmentServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.BillingServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.internal.DefaultArticleStoreToStringContribution.xml,
OSGI-INF/ch.elexis.core.services.VirtualFilesystemService.xml,
OSGI-INF/ch.elexis.core.services.holder.VirtualFilesystemServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.holder.LabServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.XidService.xml,
OSGI-INF/ch.elexis.core.services.holder.XidServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.AccountService.xml,
OSGI-INF/ch.elexis.core.services.holder.AccountServiceHolder.xml,
OSGI-INF/ch.elexis.core.services.eenv.ElexisEnvironmentServiceActivator.xml,
OSGI-INF/ch.elexis.core.services.MessageService.xml,
OSGI-INF/ch.elexis.core.services.eenv.RocketchatMessageTransporter.xml
Service-Component: OSGI-INF/*.xml
Export-Package: ch.elexis.core.services.holder
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="ch.elexis.core.services.InternalDatabaseMessageTransporter">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="ch.elexis.core.services.internal.InternalDatabaseMessageTransporter">
<service>
<provide interface="ch.elexis.core.services.IMessageTransporter"/>
</service>
<implementation class="ch.elexis.core.services.InternalDatabaseMessageTransporter"/>
<implementation class="ch.elexis.core.services.internal.InternalDatabaseMessageTransporter"/>
</scr:component>
\ No newline at end of file
......@@ -68,7 +68,7 @@ public class MessageService implements IMessageService {
if (messageTransporter == null) {
return new ObjectStatus(Status.ERROR, Bundle.ID,
"No transporter found for uri scheme found [" + uriScheme + "]", null);
"No transporter found for uri scheme [" + uriScheme + "]", null);
}
return new ObjectStatus(messageTransporter.send(message),
......
package ch.elexis.core.services;
package ch.elexis.core.services.internal;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
......@@ -6,6 +6,7 @@ import org.osgi.service.component.annotations.Component;
import ch.elexis.core.model.IMessage;
import ch.elexis.core.model.message.TransientMessage;
import ch.elexis.core.services.IMessageTransporter;
import ch.elexis.core.services.holder.CoreModelServiceHolder;
import ch.elexis.core.status.ObjectStatus;
......@@ -40,8 +41,8 @@ public class InternalDatabaseMessageTransporter implements IMessageTransporter {
}
@Override
public boolean isExternal(){
return false;
}
public boolean isExternal(){
return false;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment