Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
Re: [yast-devel] modelling a non trivial REST API
  • From: "Duncan Mac-Vicar Prett" <dmacvicar@xxxxxxx>
  • Date: Fri, 21 Aug 2009 12:19:59 +0200
  • Message-id: <200908211219.59807.dmacvicar@xxxxxxx>
On Thursday 20 August 2009 14:40:20 Martin Vidner wrote:
Hi,

I have noticed that ALL existing plugins have a single REST path, a
single model, a single controller.

How to code the network model? It will have
/interfaces/
/routes/
/dns
/hostname

In particular:
- what about routes
- how to connect to it in the client, using YaST::ServiceResource

Should I create multiple configs in config/resources?
I would like them all to share the same YaPI module.

Right now the resource definition does not support nested resources on the
server side. What resources do you have nested right now?

Duncan
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References