diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-24 13:19:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-11-25 07:43:59 +0100 |
commit | 264722947aba6e167e4cdb3c31b38b865f5d2231 (patch) | |
tree | 461727c7eec8589e45148562d97aca4dae505ca0 | |
parent | validation: Support optional perf measurements (diff) | |
download | rtems-central-264722947aba6e167e4cdb3c31b38b865f5d2231.tar.bz2 |
spec: Add usage constraints
-rw-r--r-- | spec/constraint/api-only.yml | 13 | ||||
-rw-r--r-- | spec/constraint/no-underscore-interfaces.yml | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/spec/constraint/api-only.yml b/spec/constraint/api-only.yml new file mode 100644 index 00000000..f62c5919 --- /dev/null +++ b/spec/constraint/api-only.yml @@ -0,0 +1,13 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: requirement-refinement + uid: /req/usage-constraints +rationale: null +text: | + The user of the software product shall only directly use interfaces of + exactly the ${/acfg/if/domain:/name}, ${/c/if/domain:/name}, and + ${/if/domain:/name} interface domains. +type: constraint diff --git a/spec/constraint/no-underscore-interfaces.yml b/spec/constraint/no-underscore-interfaces.yml new file mode 100644 index 00000000..e1d3a1c3 --- /dev/null +++ b/spec/constraint/no-underscore-interfaces.yml @@ -0,0 +1,12 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: requirement-refinement + uid: /req/usage-constraints +rationale: null +text: | + The user of the software product shall not use interfaces provided by the + software product those name starts with an underscore (``_``). +type: constraint |