Package ai.astraform.remote.domain.sdk
Class PolicyWindTunnelMetadataBuilder
java.lang.Object
ai.astraform.remote.domain.sdk.PolicyWindTunnelMetadataBuilder
Helpers for the language-neutral remote Policy Wind Tunnel metadata contract.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondomainOutcomeScorecard(String scorecardId, String label, String version, List<Map<String, Object>> metrics, List<Map<String, Object>> gates, List<Map<String, Object>> recommendationRules) outcomeRecommendationRule(String recommendation, String expression, String evidenceRef, String reason) outcomeScoreGate(String gateId, String label, String expression, String evidenceRef) outcomeScoreMetric(String metricId, String label, String valueExpression, String evidenceRef) packMetadata(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions) packMetadata(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, String summarySchemaVersion) packMetadata(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, String summarySchemaVersion, Map<String, Object> domainLabels, Map<String, Object> reportLabels) packMetadata(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, Map<String, Object> domainLabels, Map<String, Object> reportLabels) packMetadataWithOutcomeScorecard(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, Map<String, Object> outcomeScorecard, Map<String, Object> domainLabels, Map<String, Object> reportLabels) packMetadataWithOutcomeScorecards(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, List<Map<String, Object>> outcomeScorecards, Map<String, Object> domainLabels, Map<String, Object> reportLabels) policyExpression(String expressionId, String expression) policyExpression(String expressionId, String expression, String language, String resultType, String stage, String contextSchemaVersion, String executionTarget, String description)
-
Field Details
-
DEFAULT_CONTEXT_SCHEMA_VERSION
- See Also:
-
DEFAULT_SUMMARY_SCHEMA_VERSION
- See Also:
-
DOMAIN_OUTCOME_SCORECARD_SCHEMA_VERSION
- See Also:
-
-
Method Details
-
policyExpression
-
policyExpression
-
packMetadata
-
packMetadata
-
packMetadata
-
packMetadataWithOutcomeScorecard
public static Map<String,Object> packMetadataWithOutcomeScorecard(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, Map<String, Object> outcomeScorecard, Map<String, Object> domainLabels, Map<String, Object> reportLabels) -
packMetadataWithOutcomeScorecards
public static Map<String,Object> packMetadataWithOutcomeScorecards(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, List<Map<String, Object>> outcomeScorecards, Map<String, Object> domainLabels, Map<String, Object> reportLabels) -
packMetadata
public static Map<String,Object> packMetadata(Map<String, Object> capabilities, Map<String, Object> controlSchema, Map<String, Object> uiSchema, Map<String, Object> outcomeSchema, List<Map<String, Object>> policyExpressions, String summarySchemaVersion, Map<String, Object> domainLabels, Map<String, Object> reportLabels) -
domainOutcomeScorecard
-
outcomeScoreMetric
-
outcomeScoreGate
-
outcomeRecommendationRule
-