类 ara::diag::SovdServiceValidation
[SWS_DM_01822] Upstream: RS_Diag_04256
class SovdServiceValidation {...};
Class to implement manufacturer-/supplier-specific checks for SOVD in the application.
Header-Datei #include "ara/diag/sovd_service_validation.h" Forwarding-Header #include "ara/diag/diag_fwd.h" Scope namespace ara::diag
用户指南人工智能生成 在应用程序中验证针对传入 SOVD 服务请求的访问权限与前置条件。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 91ac3d210255
来源
未决问题(2)
摘要 详细
在应用程序中验证针对传入 SOVD 服务请求的访问权限与前置条件。
类 ara::diag::SovdServiceValidation 用于在传入 SOVD 服务请求时对访问权限和前置条件进行应用程序特定的检查([SWS_DM_01822] )。在端口实例化并通过 Offer() 显式激活后,Diagnostic Management 会针对每个请求的资源调用异步验证方法 Validate()([SWS_DM_01827] )。只要验证对哪怕单个子资源返回错误值,系统就会立即中止整个处理过程并拒绝客户端请求。尽管实例化是线程安全的,但诸如 Offer() 和 StopOffer() 等方法必须由调用方进行同步。
更多 ›
本指南完全基于针对 diag 模块的 AUTOSAR 规范 R25-11,并通过自动化方式创建。
分组依据 类别 历史
成员图 类图 Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
G
nara__diag__SovdServiceValidation102
SovdServiceValidation
+ ~SovdServiceValidation()
+ SovdServiceValidation()
+ Offer()
+ StopOffer()
+ Validate()
详细视图 此版本没有元素数据
构造函数和析构函数 Constructs the port for SovdServiceValidation interface.
Destructor of SovdServiceValidation.
方法 Enable the DM to forward request messages to this handler.
Disable the forwarding of request messages from DM.
void StopOffer () noexcept;
Called for every SOVD request message. Will be called multiple times if the request is for a resource collection: • once for the resource collection, • once for each resource in the resource collection.
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
方法文档
ara::core::Result < void > Offer () noexcept;
Enable the DM to forward request messages to this handler.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: af6929f93301
来源
未决问题(1)
该文本由 AI 生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/diag/sovd_service_validation.h" Scope class ara::diag::SovdServiceValidation Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Rückgabewert
Fehler
Fehlercode Beschreibung DiagOfferErrc ::kAlreadyOfferedrollback_semantics The service is already offered. DiagOfferErrc ::kConfigurationMismatchrollback_semantics monitor configuration does not match DEXT
Status: valid/unmigrated
Version: rel:R25-11#d1affa7c
Versionshistorie & Revisions (1 transition, 4 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_DM_01825@rel:R25-11#d1affa7c
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#8e8c1df32026-09-30 Inspect R23-11 rel:R23-11#9d51b0512026-10-14 Inspect R24-11 rel:R24-11#05dd235d2026-10-14 Inspect R25-11 rel:R25-11#d1affa7c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
explicit SovdServiceValidation (ara::core::InstanceSpecifier instance Specifier, ConcurrencyType concurrencyType) noexcept;
Constructs the port for SovdServiceValidation interface.
Header-Datei #include "ara/diag/sovd_service_validation.h" Scope class ara::diag::SovdServiceValidation Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype.
PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticSovdServiceValidationPortMapping needs to be typed by a DiagnosticSovdServiceValidationInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.
Parameter (in)
Parameter Beschreibung instanceSpecifier InstanceSpecifier to a PortPrototype of a DiagnosticSovdServiceValidationInterface service instance in the manifest concurrencyType Specifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).
Status: valid/unmigrated
Version: rel:R25-11#8b66cc5b
Versionshistorie & Revisions (1 transition, 4 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_DM_01823@rel:R25-11#8b66cc5b
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#6acbfc822026-09-30 Inspect R23-11 rel:R23-11#e82e8d482026-10-14 Inspect R24-11 rel:R24-11#76e3ab032026-10-14 Inspect R25-11 rel:R25-11#8b66cc5b2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
void StopOffer () noexcept;
Disable the forwarding of request messages from DM.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f898528d6191
来源
未决问题(1)
本使用说明基于 AUTOSAR 规范 R25-11 自动生成。
实现者指南即将推出(复杂度 I2)
Header-Datei #include "ara/diag/sovd_service_validation.h" Scope class ara::diag::SovdServiceValidation Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Rückgabewert
Status: valid/unmigrated
Version: rel:R25-11#86e867c3
Versionshistorie & Revisions (1 transition, 4 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_DM_01826@rel:R25-11#86e867c3
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#27731bd22026-09-30 Inspect R23-11 rel:R23-11#2f946d222026-10-14 Inspect R24-11 rel:R24-11#3542c6992026-10-14 Inspect R25-11 rel:R25-11#86e867c32026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Future < void > Validate (SovdRequestMethod request Method, const MetaInfo &metaInfo) noexcept;
Called for every SOVD request message. Will be called multiple times if the request is for a resource collection: • once for the resource collection, • once for each resource in the resource collection.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 9e29b9fe90cc
来源
未决问题(1)
本提示由 AI 基于 AUTOSAR 规范 R25-11 生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/diag/sovd_service_validation.h" Scope class ara::diag::SovdServiceValidation Exception-Sicherheit exception safe Thread-Sicherheit conditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor
Parameter (in)
Parameter Beschreibung requestMethod The HTTP method used in the SOVD request message. metaInfo MetaInfo of the request (includes the path of the requested resource or resource collection).
Rückgabewert
Typ Beschreibung ara::core::Future < void >Value if the request is allowed, or an error.
Fehler
Fehlercode Beschreibung DiagSovdErrc ::kSovdServerMisconfiguredrollback_semantics The SOVD server is not configured correctly, e.g. required configuration files or other data is missing. DiagSovdErrc ::kPreconditionNotFulfilledrollback_semantics The preconditions to execute the method are not fulfilled. DiagSovdErrc ::kTemporarilyNotAvailablerollback_semantics The request currently can’t be served, e.g. in case the access token currently can’t be verified (e.g. because online verification is needed and the authentication server can’t be reached). DiagSovdErrc ::kInsufficientAccessRightsrollback_semantics The SOVD client does not have the right to access the resource.
Hinweise: Or any other DiagSovdErrc for an SOVD-specific error message.
Status: valid/unmigrated
Version: rel:R25-11#50e04e48
Versionshistorie & Revisions (1 transition, 4 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_DM_01827@rel:R25-11#50e04e48
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#c71bec3d2026-09-30 Inspect R23-11 rel:R23-11#5053aa042026-10-14 Inspect R24-11 rel:R24-11#51fa3be32026-10-14 Inspect R25-11 rel:R25-11#50e04e482026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ~SovdServiceValidation () noexcept;
Destructor of SovdServiceValidation.
Header-Datei #include "ara/diag/sovd_service_validation.h" Scope class ara::diag::SovdServiceValidation Exception-Sicherheit exception safe Thread-Sicherheit not thread-safe
Status: valid/unmigrated
Version: rel:R25-11#1ba0bac6
Versionshistorie & Revisions (1 transition, 4 revision)
Current State valid/unmigrated
Reason mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign 2026-08-13-status-backfill
Active Version AUTOSAR/AP/record/SWS_DM_01824@rel:R25-11#1ba0bac6
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#b0aca7212026-09-30 Inspect R23-11 rel:R23-11#de0994492026-10-14 Inspect R24-11 rel:R24-11#229651762026-10-14 Inspect R25-11 rel:R25-11#1ba0bac62026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
gemini-3.8-flash-low· 2026-10-13 · 德文原文