Removed references to analytics

This commit is contained in:
Jan M. Hochstein 2014-08-08 18:47:52 +02:00
parent 1d1cdaee03
commit 12206948fb
1 changed files with 6 additions and 10 deletions

View File

@ -36,8 +36,8 @@ require WSSecurity::SecuritySerializer;
require ONVIF::Device::Interfaces::Device::DevicePort; require ONVIF::Device::Interfaces::Device::DevicePort;
require ONVIF::Media::Interfaces::Media::MediaPort; require ONVIF::Media::Interfaces::Media::MediaPort;
require ONVIF::PTZ::Interfaces::PTZ::PTZPort; require ONVIF::PTZ::Interfaces::PTZ::PTZPort;
require ONVIF::Analytics::Interfaces::Analytics::AnalyticsEnginePort;
require ONVIF::Analytics::Interfaces::Analytics::RuleEnginePort; require WSNotification::Interfaces::WSBaseNotification::NotificationProducerPort;
use Data::Dump qw(dump); use Data::Dump qw(dump);
@ -54,6 +54,7 @@ my %namespace_map = (
'http://www.onvif.org/ver10/events/wsdl' => 'events', 'http://www.onvif.org/ver10/events/wsdl' => 'events',
'http://www.onvif.org/ver10/recording.wsdl' => 'recording', 'http://www.onvif.org/ver10/recording.wsdl' => 'recording',
'http://www.onvif.org/ver10/search.wsdl' => 'search', 'http://www.onvif.org/ver10/search.wsdl' => 'search',
'http://www.onvif.org/ver10/replay/wsdl' => 'replay',
); );
# ======================================================================== # ========================================================================
@ -222,14 +223,9 @@ sub create_services
# transport => $transport # transport => $transport
})); }));
} }
if(defined $self->service('analytics', 'url')) { if(defined $self->service('events', 'url')) {
$self->set_service('analytics', 'ep', ONVIF::Analytics::Interfaces::Analytics::AnalyticsEnginePort->new({ $self->set_service('events', 'ep', WSNotification::Interfaces::WSBaseNotification::NotificationProducerPort->new({
proxy => $self->service('analytics', 'url'), proxy => $self->service('events', 'url'),
serializer => $self->serializer(),
# transport => $transport
}));
$self->set_service('rules', 'ep', ONVIF::Analytics::Interfaces::Analytics::RuleEnginePort->new({
proxy => $self->service('analytics', 'url'),
serializer => $self->serializer(), serializer => $self->serializer(),
# transport => $transport # transport => $transport
})); }));