On 11-09-14 02:09 PM, Pawel Fic wrote:
> Greg, thank you for your answer.
> I think I removed everything from Matterhorn 1.1. I also tried that with new 
> PC - I installed new Linux- but since I did not wanted to rebuild entire 
> system again I copied the $felix/matterhorn/*.jar into it instead of 
> compiling [really I would not post this message without at least installing 
> Matterhorn on clean system].

Ok fair enough.  I'm used to dealing with newbie users here :)

> BUT: 
> 
> Looking at the source code, I discovered that there is a REST endpoint:
> /capture-admin/agents.xml
> that provides the list and current state of agents.
> 
> I checked the docs for capture-admin rest endpoints and it says that 
> /capture-admin/agents was removed - but it actually was changed to 
> /capture-admin/agents.xml.

That's effectively the same endpoint, it just had the .xml attached to
the end of it.  Replacing .xml with .json will get you a json version of
many of our endpoints.

> BTW:
> http://nway.ncast.com:8080/  -is the place where Capture Agents tab looks 
> fine. The difference I found between nway.ncast.com and my local server is 
> that when I go to :  /capture-admin/agents.xml -- agent from nway.ncast.com 
> it has empty capabilities ("<capabilities/>") - and mine has a lot of tags 
> inside.

The state and the capabilities are two different endpoints.  Use
agents/{name}/configuration to set the configuration.  The format the
endpoint is expecting is a standard Properties file as a form parameter
called configuration.

G

> To be honest, right now I do not find Admin Tools very useful, I rather read 
> content of endpoints. It looked like "/capture-agent/agents" was removed 
> (since it disappeared from the /docs.html?path=/capture-admin).
> 
> -Pawel
> 
> --- On Wed, 9/14/11, Greg Logan <[email protected]> wrote:
> 
>> From: Greg Logan <[email protected]>
>> Subject: Re: [Matterhorn-users] Clean installation of Matterhorn 1.2
>> To: [email protected]
>> Date: Wednesday, September 14, 2011, 5:57 PM
>> On 11-09-14 06:51 AM, Pawel Fic
>> wrote:
>>>> Re. the capture agent, please check that the
>> default core address (in $FELIX/conf/services
>>>>
>> /org.opencastproject.capture.impl.ConfigurationManager.properties)
>> is set to the exact same value as the server.url key (in
>> $FELIX/conf
>>>> /config.properties). The fact that not even the
>> table appears, 
>>>> I cannot think of a reason for that. Setting the
>> logs to "ALL" or 
>>>> "
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to