The Device Common Library is a shared component designed to provide reusable utilities, configurations, and functionalities for device-related projects. It simplifies the development of device management systems by offering pre-built modules and integrations for common tasks such as logging, configuration management, and data processing.
- Key Features
- Use Cases
- Getting Started
- How to contribute
- Code of Conduct
- Contributors
- Security Contact Information
- Support
- Troubleshooting
- License
- Announcements
- Reusable Components: Provides common utilities and helper classes for device-related projects.
- Spring Integration: Built with Spring Framework for seamless integration with Spring-based applications.
- Logging Support: Includes SLF4J and Logback for consistent and configurable logging.
- JSON Handling: Uses Jackson for efficient JSON serialization and deserialization.
- Database Support: Includes PostgreSQL JDBC driver for database connectivity.
- Testing Utilities: Integrated with JUnit and Mockito for unit testing.
The Device Common Library can be used in projects that require:
- Device Activation: Utilities for activating and reactivating devices such as Dongles, TCUs, and Dashcams.
- Data Processing: Common data processing utilities for device-related operations.
- Configuration Management: Centralized configuration for device management systems.
- Logging and Monitoring: Pre-configured logging for consistent application monitoring.
The list of tools required to build and run the project:
- Java 17
- Maven
checkstyle.xml is the coding standard to follow while writing new/updating existing code.
Checkstyle plugin maven-checkstyle-plugin:3.2.1 is
integrated in pom.xml which runs in the validate phase and check goal of the maven lifecycle and fails
the build if there are any checkstyle errors in the project.
To run checkstyle plugin explicitly, run the following command:
mvn checkstyle:check
To include the Device Common Library in your project, add the following dependency to your pom.xml:
<dependency>
<groupId>org.eclipse.ecsp</groupId>
<artifactId>device-common</artifactId>
<version>1.0.0</version>
</dependency>Please read CONTRIBUTING.md for details on our contribution guidelines, and the process for submitting pull requests to us.
Please read CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.
The list of contributors who participated in this project.
Please read SECURITY.md to raise any security related issues.
Contact the project developers via the project's "dev" list - ecsp-dev
Please read CONTRIBUTING.md for details on how to raise an issue and submit a pull request to us.
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.
All updates to this component are present in our releases page. For the versions available, see the tags on this repository.
