The get() API was not used by the following objects, just remove it.
1) node
2) pod
3) replication controller
4) service
5) container
Change-Id: I2f578f8d072d772bf34e676b115eccf6c08bac8a
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.
Change-Id: I64e8922ef8f6fc0dc4a7fda02aa0913ca15177e4
Only service manifest knows about service name, so this patch retrieve service
name from service manifest.
Change-Id: I1eb0f7dd7227875e1d10e5bd1d22f7e989e15f86
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)
Change-Id: I7cbeb119550acecdbf0697df19172a8285eabca8
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.
Change-Id: I67f0cea72b00f1ce35bf3e8c49153daf1d2fff68
Object.service is used for reading/writing the sql database. They
are remoteable, so they can be called over RPC.
Change-Id: Ief4decc4aa2b4410df333a2aae4bf88709b28684
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.
Change-Id: Ic8b43606a5e37f1fe7e83b47225a2a50773468c9
Objects are
- objects/bay
- objects/pod
- objects/service
- objects/container
These code is based on Solum.
Change-Id: Id1f64417a86807964ebb4226547517587d8565eb
Implements: blueprint db-object-definitions