Table of Contents
- Implements alert triggers for capacity group updates and material demand changes.
- Allows creation of alerts with custom absolute and relative values.
- AlertEntity
- AlertsController
- AlertsRepository
- AlertsService
- AlertsServiceImplementation
- Enables CRUD operations for material demands.
- Triggers alerts based on changes in demand values and manages alert notifications.
- MaterialDemandEntity
- DemandController
- MaterialDemandRepository
- DemandService
- DemandServiceImplementation
- Supports CRUD operations for capacity groups.
- Facilitates linking material demands to capacity groups.
- CapacityGroupEntity
- CapacityGroupsController
- CapacityGroupRepository
- CapacityGroupService
- CapacityGroupServiceImplementation
- Enables management of company-related operations.
- CompanyEntity
- CompanyController
- CompanyRepository
- CompanyService
- CompanyServiceImplementation
- Facilitates management of contacts and address book entries.
- AddressBookRecordEntity
- AddressBookController
- AddressBookRepository
- AddressBookService
- AddressBookServiceImplementation
- Logs user activities and movements.
- Allows archiving and viewing of logged activities.
- LoggingHistoryEntity
- LoggingHistoryController
- LoggingHistoryRepository
- LoggingHistoryService
- LoggingHistoryServiceImplementation
- ArchivedLogEntity
- ArchivedLogsRepository
- Enables users to create and manage favorites for various entities.
- Supports filtering of favorites based on entity types.
- FavoriteEntity
- FavoriteController
- FavoriteRepository
- FavoriteService
- FavoriteServiceImpl
- Manages status updates for demand items.
- Facilitates retrieval and management of statuses.
- StatusesEntity
- StatusesController
- StatusesRepository
- StatusesService
- StatusesServiceImplementation
- Interfaces with external services for managing assets, policies, contracts, transfers, and data.
- EDCService
- EDCServiceImplementation
- Handles exceptions and error responses in the application.
- RestExceptionHandler
- CustomException
- ExceptionResponse
- ExceptionResponseImpl
- BadRequestException
- InternalServerErrorException
- NotFoundException
The Components folder holds reusable building blocks of the application's user interface, such as components for managing address books, alerts, capacity groups, and more. Within each component folder, you'll find specific components related to that feature, like forms, tables, and modals.
The Contexts folder contains context providers, which help manage application-wide data and state.
Interfaces define the structure of data used in the application.
The Common directory integrates, most of the commonly used components used throught each pages, such as Search bars and so on.
Finally, the Util folder contains utility functions and helpers that assist in various tasks throughout the application. This organized structure is a very simple approach to modularity and coponents, making it easier to navigate and maintain the codebase.
The DCM, folder integrates key components that are the base of the application. Such as the AppLayout.tsx, that contains the routing system that reidirects between pages,and their contexts that integrates them with their needed dependencies, the Layout.tsx that contains the base foundation of the whole web structure, with permanent items like the QuickAcessItems and the Menu, and finally the ToastContainerComponent.tsx that containes the Toast container, keeping toasts consistent across pages.
A component can be found on the relative folder to wich feature it integrates, consider the following structure:
├───components
│ ├───addessBook
│ │ AddressBookDetailsView.tsx
│ │ BoardView.tsx
│ │ CompaniesList.tsx
│ │ CompanyEditModal.tsx
│ │ ContactCardModal.tsx
│ │ ContactEditModal.tsx
│ │ ContactsList.tsx
│ │
│ ├───alerts
│ │ AlertsTable.tsx
│ │ ConfigureAlertModal.tsx
│ │ ConfiguredAlertsTable.tsx
│ │ RulesModal.tsx
│ │
│ ├───capacitygroup
│ │ BottleNeckModalComponent.tsx
│ │ CapacityGroupAddToExisting.tsx
│ │ CapacityGroupBottlenecks.tsx
│ │ CapacityGroupChronogram.tsx
│ │ CapacityGroupDemandsList.tsx
│ │ CapacityGroupsList.tsx
│ │ CapacityGroupsTableHeaders.tsx
│ │ CapacityGroupSumView.tsx
│ │ CapacityGroupWizardModal.tsx
│ │
│ ├───common
│ │ AlertMonitoredObjectsOptions.tsx
│ │ AlertThresholdTypeOptions.tsx
│ │ CompanyDetailsInteractionModal.tsx
│ │ CompanyOptions.tsx
│ │ DangerConfirmationModal.tsx
│ │ LoadingMessages.tsx
│ │ Pagination.tsx
│ │ QuickAcessItems.tsx
│ │ Search.tsx
│ │ StepsBreadCrumbs.tsx
│ │ TopMenu.tsx
│ │ UnitsofMeasureOptions.tsx
│ │
│ ├───dcm
│ │ AppComponent.tsx
│ │ Layout.tsx
│ │ ToastContainerComponent.tsx
│ │
│ ├───demands
│ │ DemandAddForm.tsx
│ │ DemandCategoryOptions.tsx
│ │ DemandDetailsModal.tsx
│ │ DemandEditForm.tsx
│ │ DemandList.tsx
│ │ DemandListTableHeaders.tsx
│ │ DemandManagement.tsx
│ │ DemandManagementTableHeaders.tsx
│ │ DemandsOverview.tsx
│ │
│ ├───events
│ │ EventsTable.tsx
│ │
│ ├───favorites
│ │ FavoritesTableAddressBook.tsx
│ │ FavoritesTableCapacityGroup.tsx
│ │ FavoritesTableCompanies.tsx
│ │ FavoritesTableEvents.tsx
│ │ FavoritesTableMaterialDemands.tsx
│ │
│ ├───menu
│ │ InfoMenu.tsx
│ │
│ └───pages
│ AdminPage.tsx
│ AdressBookPage.tsx
│ AlertsPage.tsx
│ AuthenticationPage.tsx
│ CapacityGroupDetailsPage.tsx
│ CapacityGroupPage.tsx
│ DownStatusPage.tsx
│ ErrorPage.tsx
│ EventsPage.tsx
│ FavoritesPage.tsx
│ ThresholdPage.tsx
│ TodoListPage.tsx
│ UpStatusPage.tsx
│
├───contexts
│ AdressBookContextProvider.tsx
│ AlertsContextProvider.tsx
│ BottlenecksContextProvider.tsx
│ CapacityGroupsContextProvider.tsx
│ CompanyContextProvider.tsx
│ DemandCategoryProvider.tsx
│ DemandContextProvider.tsx
│ EventsContextProvider.tsx
│ FavoritesContextProvider.tsx
│ InfoMenuContextProvider.tsx
│ ThresholdsContextProvider.tsx
│ UnitsOfMeasureContextProvider.tsx
│ UserContext.tsx
│ YearlyReportContextProvider.tsx
│
├───interfaces
│ addressbook_interfaces.tsx
│ alert_interface.tsx
│ capacitygroup_interfaces.tsx
│ company_interfaces.tsx
│ customer_interfaces.tsx
│ customoption_interface.tsx
│ demand_interfaces.tsx
│ event_interfaces.tsx
│ favorite_interfaces.tsx
│ infomenu_interfaces.tsx
│ supplier_interfaces.tsx
│ threshold_interfaces.tsx
│ user_interfaces.tsx
│
└───util
Api.tsx
Auth.tsx
AuthApi.tsx
AuthenticatedRoute.tsx
Defaults.tsx
ErrorMessagesHandler.tsx
RefreshToken.tsx
TypeGuards.tsx
WeeksUtils.tsx
This work is licensed under the Apache-2.0.
- SPDX-License-Identifier: Apache-2.0
- SPDX-FileCopyrightText: 2022,2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
- SPDX-FileCopyrightText: 2022,2024 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/demand-capacity-mgmt/