How shreyxsdesxi/softwareassetmanagement works
This repository combines a Spring Cloud Config Server with a licensing REST service. A client calls the licensing endpoints to retrieve or mutate a license; the controller delegates license operations to the service, which builds license responses and localized messages. The config server is a separate product capability, with licensing configuration files present in the tree. Its connection to the licensing service cannot be verified from the available excerpts, so that relationship is not drawn.
Main entry points: LicenseService.java License Service · LicenseController.java License Controller · LicensingServiceApplication.java Licensing Application · License.java License Model
Components 9
Configuration
- Config Server
config-server/src/main/java/com/optimagrowth/configserver/ConfigServerApplication.java - Service Configurations
config-server/src/main/resources/config
Licensing API
- Licensing Application
licensing-service/src/main/java/com/optimagrowth/license/LicensingServiceApplication.java - License Controller
licensing-service/src/main/java/com/optimagrowth/license/controller/LicenseController.java - License Service
licensing-service/src/main/java/com/optimagrowth/license/service/LicenseService.java - License Model
licensing-service/src/main/java/com/optimagrowth/license/model/License.java
Response Support
- Message Source
- Message Bundles
licensing-service/src/main/resources
Other components
- API Client
Connections 5
- API Client → License Controller: calls endpoints
licensing-service/src/main/java/com/optimagrowth/license/controller/LicenseController.java - License Controller → License Service: delegates operations
licensing-service/src/main/java/com/optimagrowth/license/controller/LicenseController.java - License Service → License Model: builds license
licensing-service/src/main/java/com/optimagrowth/license/service/LicenseService.java - License Service → Message Source: gets messages
licensing-service/src/main/java/com/optimagrowth/license/service/LicenseService.java - Licensing Application → Message Bundles: sets basename
licensing-service/src/main/java/com/optimagrowth/license/LicensingServiceApplication.java