Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
[yast-devel] modelling a non trivial REST API
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Thu, 20 Aug 2009 14:40:20 +0200
  • Message-id: <20090820124020.GB18562@xxxxxxxxxxxxxxxx>
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.

--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >