Activiti-Rest-Client
view release on metacpan or search on metacpan
my @ids = map { $_->{id} } @{ $pdefs->{data} };
for my $id(@ids){
print Dumper($client->process_definition(processDefinitionId => $id)->parsed_content);
}
CONSTRUCTOR parameters
url
base url of the activiti rest api
activiti-rest uses basic http authentication, so username and password should be included in the url
e.g.
http://kermit:kermit@localhost:8080/activiti-rest/service
timeout
timeout in seconds when connecting to the activiti rest api
default value is 180
lib/Activiti/Rest/Client.pm view on Meta::CPAN
my @ids = map { $_->{id} } @{ $pdefs->{data} };
for my $id(@ids){
print Dumper($client->process_definition(processDefinitionId => $id)->parsed_content);
}
=head1 CONSTRUCTOR parameters
=head2 url
base url of the activiti rest api
activiti-rest uses basic http authentication, so username and password should be included in the url
e.g.
http://kermit:kermit@localhost:8080/activiti-rest/service
=cut
has url => (
is => 'ro',
isa => sub { $_[0] =~ /^https?:\/\//o or die("url must be a valid web url\n"); },
( run in 1.000 second using v1.01-cache-2.11-cpan-49f99fa48dc )