Pod, Service and ReplicationController have data and definition_url attribute,
but it's name is needlessly long.
This fixes it to more appropriate attribute name.
Did the following fix/modification to make the tests pass:
* Raise an exception on deleting non-existent pod or service.
* Rename the following methods:
get_service_by_bay_uuid -> get_services_by_bay_uuid (db)
get_by_bay_uuid -> list_by_bay_uuid (objects)
This is the backend change for patch Iaae8486
The k8s service create only has one parameter as filename, this
patch is updating magnum backend api can use filename as parameter
when creating service.
Versioned objects are a nice way to pass objects around via RPC
which is necessary in our decided architecture. Trying to implement
this again is pointless, as this code will soon enter oslo incubation
and likely become standard across projects.
These code is based on Solum.
Implements: blueprint db-object-definitions