IT:AD:System Functional Requirements:Services:An EnvironmentService MUST be provided
- See also:
Requirement
<data requirement #SFREQ-cr23z-03>
Guid: cefd6720-2620-4442-b93b-09c4ad4a68c0 Id: SFREQ-cr23z-03 Title: An EnvironmentService MUST be provided. Tags: [Service], [Core Service], [EnvironmentService] Stakeholders: [Developers] Summary [wiki]: Provide a mockable service to return information about the Host Server environment, including the machineName, userName.\\ The service must *not* return information as to the domain (use a `DomainService` for that). Statement [wiki]: **Requirement:**\\ An `EnvironmentService` `MUST` be provided.\\ \\ **Context**:\\ \\ **Rational:**\\ For portability reasons, provide a centralized service protecting the app from a direct dependency on a vendor library.\\ Providing a mockable Service improves testability.\\ Provide a service to return network, domain, host information.\\ \\ **Impact:**\\ \\ **Comments:**\\ In order to not create a tight coupling between two different concepts, the `EnvironmentService` `MUST NOT` deliver Domain Attributes -- use a `DomainService` for that.\\ The Service should not return User information (consider using a User specific service).\\ \\
</data>