Skip to content

Commit

Permalink
Merge pull request 5644 from hotfix/v4.3.2 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Project Collection Build Service (51degrees) authored and Project Collection Build Service (51degrees) committed Aug 13, 2021
2 parents 9950ef8 + 0718e00 commit 915301e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/common-ci
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class OnPremiseMissingPropertyService(MissingPropertyService):

def check(self, key, flow_element):

raise Exception("Property " + key + " not found in data for element " + flow_element.datakey + ". This is because your resource key does not include access to this property. Properties that are included for this key under device are " + ', '.join(list(flow_element.get_properties().keys())) + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resourcekeys.html")
raise Exception("Property " + key + " not found in data for element " + flow_element.datakey + ". This is because your resource key does not include access to this property. Properties that are included for this key under device are " + ', '.join(list(flow_element.get_properties().keys())) + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html")

class CloudData(AspectDataDictionary):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def on_registration(self, pipeline):
# Add properties from the CloudRequestEngine which should already have them

if not self.datakey in pipeline.flow_elements_list["cloud"].flow_element_properties:
raise Exception("Your resource key does not include access to any properties under the engine with key" + self.datakey + " that was added to the pipeline. For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resourcekeys.html " + "Available engine data keys are: " + str([e for e in pipeline.flow_elements_list["cloud"].flow_element_properties]))
raise Exception("Your resource key does not include access to any properties under the engine with key " + self.datakey + " that was added to the pipeline. For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html " + "Available engine data keys are: " + str([e for e in pipeline.flow_elements_list["cloud"].flow_element_properties]))

self.properties = pipeline.flow_elements_list["cloud"].flow_element_properties[self.datakey]

Expand All @@ -92,7 +92,7 @@ def pipeline_element_not_found(self, element, flowdata):
"""

raise Exception("Your resource key does not include access to any properties under " + element + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resourcekeys.html " + "Available element data keys are: " + str([e for e in flowdata.pipeline.flow_elements_display_list]))
raise Exception("Your resource key does not include access to any properties under " + element + ". For more details on resource keys, see our explainer: https://51degrees.com/documentation/_info__resource_keys.html " + "Available element data keys are: " + str([e for e in flowdata.pipeline.flow_elements_display_list]))


def process_internal(self, flowdata):
Expand Down

0 comments on commit 915301e

Please sign in to comment.