Implement watcher datamodel list in watcher-decision-engine
1. Add datamodel list endpoint and rpc process. 2. Add datamodel list parased and return. 3. Add related unittest. Partially Implements:blueprint show-datamodel-api Change-Id: I758b7ca2bc3d8d596d3457277744336c6629bc4e
This commit is contained in:
@@ -44,6 +44,11 @@ class DecisionEngineAPI(service.Service):
|
||||
return self.conductor_client.call(
|
||||
context, 'get_strategy_info', strategy_name=strategy_name)
|
||||
|
||||
def get_data_model_info(self, context, data_model_type, audit):
|
||||
return self.conductor_client.call(
|
||||
context, 'get_data_model_info',
|
||||
data_model_type=data_model_type, audit=audit)
|
||||
|
||||
|
||||
class DecisionEngineAPIManager(service_manager.ServiceManager):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user