Skip to content

Commit

Permalink
Issue #5 rm unused routing_decision_matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneider-vertical-relevance committed May 4, 2022
1 parent 21b869f commit b2df5d9
Showing 1 changed file with 0 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,53 +231,6 @@ def get_invoking_sfn_next_state(self,*,input_type,pac_framework):

return f'Evaluate{input_type}By{pac_framework}'


# def get_invoking_sfn_next_state(self,*,RoutingConfig):

# return f'Evaluate{RoutingConfig["InputType"]}By{RoutingConfig["PaCFramework"]}'

# def format_routing_decision(self,routing_config):

# routing_decision = {
# "InvokingSfnNextState" : self.get_invoking_sfn_next_state(
# routing_config = routing_config
# ),
# "PaC": self.get_pac_bucket(
# pac_framework = routing_config['PaCFramework']
# ),
# "ModifiedInput": self.get_modified_input_s3_path(
# input_conversion_object = routing_config['InputConversionObject']
# )
# }

# return routing_decision

# def get_routing_decision(self):

# control_broker_consumer_inputs = self.event['ControlBrokerConsumerInputs']

# control_broker_consumer_input_key = self.event['ControlBrokerConsumerInputKey']

# input_type = control_broker_consumer_inputs['InputType']

# routing_decision_matrix = {
# "CloudFormationTemplate": {
# "InputType": "CloudFormationTemplate",
# "PaCFramework": "OPA",
# "InputConversionObject":None
# },
# "ConfigEvent": {
# "InputType": "ConfigEvent",
# "PaCFramework": "OPA",
# "InputConversionObject":self.convert_config_event_to_cfn
# }
# }

# routing_decision = self.format_routing_decision(routing_decision_matrix[input_type])

# return routing_decision


def get_routing_decision(self):

control_broker_consumer_inputs = self.event['ControlBrokerConsumerInputs']
Expand Down

0 comments on commit b2df5d9

Please sign in to comment.