Issue 9313: Application Stereotype Incomplete (swradio-rtf) Source: PrismTech (Mr. Gerald Lee Bickle, jerry.bickle@prismtechusa.com) Nature: Uncategorized Issue Severity: Summary: Application component definition is lacking details, some of them being as follows: 1. Missing Constraints Need to realize the Resource interface Need at least one componentinstantiation part that is a ResourceComponent and is an assembly controller. 2. Add ComponentInstantiation stereotype definition, an extension of Part. Resolution: Revised Text: 7.1.7 Application Components, Table 7.5 - Applications Stereotypes From Stereotype Base Class Parent Tags Constraints Description Application component N/A Represents an assembly ofApplicationResources andComponents. To Stereotype Base Class Parent Tags Constraints Description Application component N/A Seeconstraints insection below Represents an assembly ofComponents. 7.1.7 Application Components, Table 7.5 - Applications Stereotypes, Add ComponentInstantiation after ApplicationResourceComponent. Stereotype Base Class Parent Tags Constraints Description ComponentInstantiation Property N/A assemblerController,hostCollocation,namingService,processCollocationresourcefactory, Seeconstraints insection below Represents an Application part. 7.1.7 Application Components, Table 7.5 - Applications Stereotypes, Add ServiceConnector after PhysicalLayerResource. Stereotype Base Class Parent Tags Constraints Description ServiceConnector Connector N/A deviceThatLoadedComponentInstantiation,domainfinder,namingService,serviceComponentUsedByComponentInstantiation Seeconstraints insection below Represents a connector to a service, interface or ServiceComponent. ServiceComponentInstantiation Property N/A Seeconstraints insection below Represents a service component within an Application. 7.1.7.1 Application, add constraints section after M1 Associations section and its text. "Constraints The Application needs one ComponentInstantiation to be noted as an assembly controller. The Application shall only be composed of ComponentInstantiations and ServiceComponentInstantiations. The Application shall have at least one ComponentInstantiation and its type is other than a ResourceFactoryComponent type. A ComponentInstantiation's resourceFactory resourceFactoryCreateOptions attribute shall have an instance value that agrees with the attributes for the referenced ResourceFactoryComponent ComponentInstantiation's type. A ComponentInstantiation's resourceFactory resourceFactoryInstantiationRef shall be to a valid ResourceFactoryComponent ComponentInstantiation reference within the Application. A ServiceConnector is not depicted between ComponentInstantiations' connections." Insert 7.1.7.3 ComponentInstantiation before 7.1.7.3 WaveFormLayerResource "7.1.7.3 ComponentInstantiation Description The ComponentInstantiation, an extension of Property, defines a specific component type for an Application's part. Attributes § assemblyController: Boolean = False The assemblyController indicates whether or not the ComponentInstantiation is acting as the assembly controller for the assembly composition. A value of True means the ComponentInstantiation is an assembly controller. § hostCollocation: String [0..1] The hostCollocation attribute identifies the requirement for a ComponentInstantiation on being deployed on the same device with other ComponentInstantiations that have the same hostCollocation attribute value. § processCollocation: String [0..1] The processCollocation attribute identifies the requirement for a ComponentInstantiation on being deployed within the same process space with other componentInstantiations that have the same processCollocation attribute value. § namingService: String [0..1] The namingService attribute specifies the simple name used by the deployment machinery such as ApplicationFactoryComponent in forming the naming context for where the ComponentInstantiation reference is placed in a naming service. § resourceFactory: ResourceFactoryType [0..1] The resourceFactory attributes indicates to the deployment manchinery such as ApplicationFactoryComponent that the ComponentInstantiation is obtained by a ResourceFactoryComponent. Constraints The ComponentInstantiation's assemblyController attribute value shall only be True when the ComponentInstantiation type is a ResourceComponent or Component type. The ComponentInstantiation's type shall be a ResourceFactoryComponent, ResourceComponent, Component, or Application. The ComponentInstantiation shall have a value for either namingService or resourceFactory attribute. The ComponentInstantiation's value shall be an instance value that agrees with the attributes for the ComponentInstantiation's type." Insert new 7.1.7.4 and 7.1.7.5 before 7.1.7.4 PhysicalLayerResource "7.1.7.4 ServiceComponentInstantiation Description The ServiceComponentInstantiation, an extension of property, defines a ServiceComponent type for an Application's part so one can show ComponentInstantiations connections to ServiceComponents. These components are not physical part of the Application but are platform ServiceComponents used by ComponentInstantiations. Constraints The ServiceComponentInstantiation's type shall be a ServiceComponent stereotype. 7.1.7.5 ServiceConnector Description The serviceconnector specifies to the deployment machinery such as ApplicationFactoryComponent on how to obtain the ServiceComponent reference that is participating in the connections. ServiceConnector is used for connection to platform ServiceComponents and their interfaces that an Application's ComponentInstantiation is connected to. Attributes § deviceThatLoadedComponentInstantiation: String [0..1] § DomainFinder: DomainFinderType [0..1] § namingService: String [0..1] The namingService attribute specifies a full naming context that identifies the location of the ServiceComponent reference in a naming service. § serviceUsedByComponentInstantiation: ServiceComponent [0..1] Constraints A ServiceConnector needs to have a value specified for one of its attributes." 7.1.7 Application Components From "The Application Components sections define the set of components used to define applications and waveforms. The Application Components stereotypes are depicted in Table 7.5, which are extensions of the UML Component (UML2.0::Components::BasicComponents). The following subsections describe the details of these elements." To "7.1.7.1 Application Components Types The Application Component Types define the types used by some of the Application stereotypes definitions. Types and Exceptions § DomainFinderType(name: String, type: String) The DomainFinderType is used to specify information about a ServiceComponent that a component such as DomainManagerComponent is aware of. The name attribute indicates the name of the ServiceComponent and type attribute indicates the type of ServiceComponent (e.g., log service, event service, etc.). § ResourceFactoryType(resourceFactoryInstantiationRef: String, resourceFactoryCreateOptions: ResourceFactoryComponent) The ResourceFactoryType, a dataType, specifies the ResourceFactoryComponent instantiation element to use to obtain a ComponentInstantiation reference by the resourceFactoryInstantiationRef. The resourceFactoryCreateOptions are the options parameter values to be used for the ResourceFactoryComponent create operation. 7.1.7.2 Application Components Stereotypes The Application Components Stereotypes section defines the set of components used to define applications and waveforms. The Application Components stereotypes are depicted in Table 7.5, which are extensions of the UML Component (UML2.0::Components::BasicComponents). The following subsections describe the details of these elements." Actions taken: January 26, 2006: received issue April 19, 2007: closed issue Discussion: Resolution: Add constraints to Application. Add componentinstantiation stereotype an extension of Property. Add serviceconnector stereotype an entension of connector. Add servicecomponentinstantiation stereotype an extension of Property. Add two subsections for 7.1.7, Application Components Types and Application Components Stereotypes End of Annotations:===== erver-Uuid: C8FB4D43-1108-484A-A898-3CBCC7906230 Subject: PIM and PSM SWRadio - Application Issue Date: Thu, 26 Jan 2006 10:02:57 -0500 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: PIM and PSM SWRadio - Application Issue thread-index: AcYiiZdlCCsl3uPGTlq2VWo4s0+CjA== From: "Jerry Bickle" To: issues@omg.org cc: swradio-rtf@omg.org X-OriginalArrivalTime: 26 Jan 2006 15:03:00.0516 (UTC) FILETIME=[9957A640:01C62289] X-WSS-ID: 6FC63B2B12G22342955-02-01 Issue Application Stereotype Incomplete. Application component definition is lacking details, some of them being as follows: 1. Missing Constraints Need to realize the Resource interface Need at least one componentinstantiation part that is a ResourceComponent and is an assembly controller. 2. Add ComponentInstantiation stereotype definition, an extension of Part. ------------------------------------------ Jerry Bickle Chief Scientist, SDR Products 6511 Constitution Drive Fort Wayne, IN 46804 1 260-436-7168 (Work) 1 260-436-6708 (Fax) 1 260-249-8162 (Mobile) www.prismtech.com