diff --git a/src/extensions/score_metamodel/metamodel.yaml b/src/extensions/score_metamodel/metamodel.yaml index cb23cb5f4..a2e3b2f2c 100644 --- a/src/extensions/score_metamodel/metamodel.yaml +++ b/src/extensions/score_metamodel/metamodel.yaml @@ -1062,6 +1062,11 @@ needs_extra_links: incoming: realized by outgoing: realizes + # Decision Record + affects: + incoming: affected by + outgoing: affects + ############################################################## # S-CORE Metamodel ############################################################## diff --git a/src/extensions/score_metamodel/tests/rst/options/test_dec_rec.rst b/src/extensions/score_metamodel/tests/rst/options/test_dec_rec.rst new file mode 100644 index 000000000..f5e5f3146 --- /dev/null +++ b/src/extensions/score_metamodel/tests/rst/options/test_dec_rec.rst @@ -0,0 +1,28 @@ +.. + # ******************************************************************************* + # Copyright (c) 2026 Contributors to the Eclipse Foundation + # + # See the NOTICE file(s) distributed with this work for additional + # information regarding copyright ownership. + # + # This program and the accompanying materials are made available under the + # terms of the Apache License Version 2.0 which is available at + # https://www.apache.org/licenses/LICENSE-2.0 + # + # SPDX-License-Identifier: Apache-2.0 + # ******************************************************************************* + + +.. dec_rec:: Test Decision Record 1 + :id: dec_rec__test__decision_record_1 + :status: accepted + :context: A decision record is needed for the test. + :decision: Use a dedicated decision record need type. + :affects: dec_rec__test__decision_record_2 + + +.. dec_rec:: Test Decision Record 2 + :id: dec_rec__test__decision_record_2 + :status: proposed + :context: This decision record is affected by another decision. + :decision: Keep the relationship explicit.