Hi all

I'm currently trying to implement 'system.profile.getCustomOptions' (and
'system.profile.setCustomOptions' but I haven't started that one yet).
The problem I have is in the data I'm getting back.

My Perl test code is basically just:
---
my $retval = $client->call('system.profile.getCustomOptions', $session,
$ARGV[0]);
print Dumper $retval;
---

And the data I'm getting back is
---
$VAR1 = [
          {
            'value' =>
'[EMAIL PROTECTED],argume
nts=blah
]'
          },
          {
            'value' =>
'[EMAIL PROTECTED],argume
nts=blahblah
]'
       <<SystemProfileHandler.java>>    }
        ];
---
 
I think what I want is a array of hashes, something like:
---
$VAR1 = [
          {
            'id' => '139',
            'arguments' => 'blah'
]'
          },
          {
            'id' => '140',
            'arguments' => 'blahblah'
]'
          }
        ];
---

The .java file is attached.  

Could someone point me in the right direction?

Thanks

CC

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.

Attachment: SystemProfileHandler.java
Description: SystemProfileHandler.java

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to