thewebhatesme / opm_server

Open Performance Monitor - Server
MIT License
13 stars 1 forks source link

REST: save models #14

Closed mikelohmann closed 10 years ago

mikelohmann commented 10 years ago

Currently in the ClientApiController::postClientMeasurementsAction the fun stuff happens.

Here we need to update / insert a client entity and onSave Event insert a new measurement.

mikelohmann commented 10 years ago

The client entity is now part of the measurement. So if it will be persist the client will be persist too and its fk column gets the id of the persisted measurement.