Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add Application layer on backend #1256

Closed
hocinehacherouf opened this issue Sep 16, 2022 · 1 comment
Closed

Feature: Add Application layer on backend #1256

hocinehacherouf opened this issue Sep 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request refactoring Restructure the source code so as to improve operation with
Milestone

Comments

@hocinehacherouf
Copy link
Contributor

hocinehacherouf commented Sep 16, 2022

Describe the solution you'd like

  • The Application layer should reference only Domain/Shared layers
  • The Application layer defines interfaces that are implemented by outside layers: For example the interface IDeviceService should be on Application layer and its implementation must be on Infrastructure layer
  • The Application layer defines mapping between entities and dtos
@kbeaugrand
Copy link
Member

Need to define multiple tasks:

  • Add application Layer to the solution
  • Migrate all mapper profiles to application layer
  • Migrate services to application and infrastructure layer
    • ConfigService should be split (by devices and edgeDevices services) + use External device service instead of RegistryManager
    • Devices/DeviceModels/DeviceTags/DeviceModelProperties/DeviceProperties/ConfigService => all in one service (DeviceManagementService), keep in mind that there is a baseService to manage devices
    • EdgeDevices/EdgeModels/ConfigService => all in one service (EdgeDeviceManagementService)
    • LoRaWANCommand/LoRaWanConcentrator/LoRaWanDevices -> all in one service LoRaWanManagementService
    • IdeaService
    • ExternalDeviceService -> Should be renamed to AzureDeviceRegistryProvider in providers namespaces
  • Migrate Wrappers (and integrate to the existing services)
  • Migrate all managers
    • DeviceModelImageManager
    • DeviceProvisioningServiceManager -> Merged to AzureDeviceRegistryProvider
    • RouterConfigManager/LoRaWanDeviceMethodManager -> Migrate to LoRaWanManagementService
    • ExportDeviceManager -> Migrate to ExportDeviceService
  • Migrate Resources & RouterConfigFiles
  • Migrate Jobs to infrastructure
  • Migrate Helpers to Application Layer
  • Migrate Service HeathCheck to Infrastructure Layer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring Restructure the source code so as to improve operation with
Projects
Status: 🚀 Ready
Development

No branches or pull requests

2 participants