Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 512327 - Chore: CloudFoundryServerBehaviour operations need to be run
Summary: Chore: CloudFoundryServerBehaviour operations need to be run
Status: CLOSED WONTFIX
Alias: None
Product: CFT
Classification: ECD
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal
Target Milestone: 1.1.0 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-16 15:04 EST by Nieraj Singh CLA
Modified: 2017-04-06 13:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nieraj Singh CLA 2017-02-16 15:04:35 EST
Currently, the CFSB has an operations method that returns a factory of operations but each operation still needs to be run. This is partial refactoring work that never got completed correctly.

CFSB should have API that actually perform operations (e.g. creating services, deleting services, etc..) rather than simply returning the operation without running them as callers may forget to call "run" on the operation and can be a source of bugs.
Comment 1 Nieraj Singh CLA 2017-04-06 13:11:07 EDT
Im actually going to close this. The reason is that we need an interface that provides information from CF to CFT that different client providers can contribute via extension point, and one possible candidate is to enhance CloudBehaviourOperations to define this set of API.

This work will now continue with this item instead:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=514512