CenterScape is an Data Center Management software. It has an HTTP REST API.
This service is designed to
- Periodically get all entities from CS (getIdentityMap)
- Update entity's detected location from fixed and mobile readers (putUpdates)
- Created "EPC" asset attribute with Record Value Changes = true, Values Are Unique = true
- Created "INVENTORY_TAKE_ID" asset attribute with Record Value Changes = true.
- This is an unique ID of the inventory take.
- The ID is make up of READER_NAME + USER + TIMESTAMP
- Created "LAST_INVENTORY_TAKE_TIME" asset attribute with Record Value Changes = true.
- Created "FIXED_READER_ID" asset attribute with Record Value Changes = true.
- Created "INVENTORY_DETECTED_LOCATION" asset attribute with type "Custom Type Reference" and Custom Attribute Type "Location" and Record Value Changes = true.
- Add "EPC", "INVENTORY_TAKE_ID", "LAST_INVENTORY_TAKE_TIME", "INVENTORY_DETECTED_LOCATION", "FIXED_READER_ID" asset attributes to "Equipment" asset type.
- Add "EPC" asset attribute to "Summary - Location" asset type.
- Create "Reader" asset type to "Equipment\Peripheral" asset type.
- Create "READER_NAME" asset attribute with Record Value Changes = true.
- Create "LAST_HEART_BEAT" asset attribute with Record Value Changes = true.
- Create "ALARM_IP" asset attribute with Record Value Changes = true.
- Add "LAST_HEART_BEAT", "ALARM_IP", "READER asset attribute to "Reader" asset type.
- Create "Alert Fixed Reader" Alert Action.
- Add Name, Assigned Location, Description, Fixed Reader ID and EPC in Additional Attributes.
- Create "Non-schedule Move-out" Threshold.
- Add
mvn clean package
mvn compile vertx:debug -Dvertx.runArgs="-cluster -Djava.net.preferIPv4Stack=true -conf src\conf\config.json"
java -jar target\CenterScapeService-1.0-SNAPSHOT.original.jar --cluster -Djava.net.preferIPv4Stack=true -conf src\conf\config.json
java -Djava.util.logging.config.file=src\conf\logging.properties -jar target\CenterScapeService-1.0-SNAPSHOT.original.jar --cluster -Djava.net.preferIPv4Stack=true -conf src\conf\config.json