Improvement: Check existence of a service before creating it

Bug #1292161 reported by Devdatta Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Won't Fix
Low
Devdatta Kulkarni

Bug Description

Currently service_handler's create does not check whether a service of given id/type exists or not. Will ORM do this? If not, we need to add a "check existence and if not create" code to service_handler's create. Note we should not consider adding it to language_pack handler's create as the logic would be needed in other types of services (such as database, loadbalancer, etc.) as well (whenever we start implementing controllers and handlers for them).

Tags: improvements
Julien Vey (vey-julien)
Changed in solum:
importance: Undecided → Low
Revision history for this message
Angus Salkeld (asalkeld) wrote :

I think this bug needs to be more concrete.

Changed in solum:
status: New → Incomplete
Revision history for this message
Adrian Otto (aotto) wrote :

Devdatta,

I am assigning this to you to get the following in the bug description:

Expected Result
Actual Result
Steps to Reproduce

Thanks!

Changed in solum:
assignee: nobody → Devdatta (devdatta-kulkarni)
milestone: none → 2014.1.2
Adrian Otto (aotto)
summary: - Check existence of a service before creating it
+ Improvement: Check existence of a service before creating it
Adrian Otto (aotto)
tags: added: improvements
Adrian Otto (aotto)
Changed in solum:
milestone: 2014.1.2 → none
Adrian Otto (aotto)
Changed in solum:
milestone: none → 2015.1.1
Revision history for this message
Adrian Otto (aotto) wrote :

Status is incomplete. Awaiting further input. Assigning to submitter until clarity is reached.

Changed in solum:
milestone: 2015.1.1 → none
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Currently the 'service' resource and abstraction is not really used, and going forward we don't plan to use it either.

Changed in solum:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.