GithubHelp home page GithubHelp logo

app-rfid-llrp-inventory's People

Contributors

ajcasagrande avatar cloudxxx8 avatar dependabot[bot] avatar ejlee3 avatar ernestojeda avatar farshidtz avatar jackchenjc avatar jim-wang-intel avatar jpwhitemn avatar marcpfuller avatar mightynerderic avatar monicaisher avatar neethues-intel avatar sicoyle avatar soda480 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-rfid-llrp-inventory's Issues

[App LLRP] Subscribe topic for ReaderEventNotification incorrect

๐Ÿž Bug Report

Affected Services [REQUIRED]

The issue is located in: Subscribe Topics Configuration

Is this a regression? Yes

Yes, the previous version in which this bug was not present was: Levski

Description and Minimal Reproduction [REQUIRED]

Run EdgeX non-secure stack
Start App LLRP
Start LLRP simulator
Start Device LLRP
Click List Reader in App Service web page
Response will show empty list of readers

This is because the service is never seeing the event for ReaderEventNotification

Anything else relevant?

[LLRP] Discovery command on RRFID gateway gives error with status code 202

๐Ÿž Bug Report

Affected Services [REQUIRED]

The issue is located in: RFID device service

Is this a regression?

Not sure

Description and Minimal Reproduction [REQUIRED]

Discovery command on RFID gateway UI gives below error:
'Request failed. Status code of 202'

Repro steps:

  1. Setup RFID gateway hardware as per documentation

  2. Deploy the RFID device and app-inventory service with latest V3 code.

  3. Go to http://127.0.0.1:59711/ RFID gateway UI
    a) Right click on webpage, click on 'inspect' to open browser console
    b) If CORS is not enabled on consul (by default CORS is disabled), notice that it gives CORS related errors on console but no
    errors on UI.
    c) Enable CORS on consul and set corsallowed origin on consul. Find attached consul screesnhtos.
    d) Restart rfid-device service
    e) Refresh RFID gateway UI
    f) Open browser console
    g) Click on 'Discovery'

    Actual behavior: It gives request failed error with status code of 202 on UI and also on browser console.
    Expected behavior: The UI should not complain about the 202 status code
    In the debug logs it shows 'Discover triggered' message correctly,

    Find attached debug logs, UI screenshots before and after enabling CORS.
    UI_before_enabling_CORS'
    UI_after_enabling_CORS
    CORS_allowed_origin
    Screenshot from 2023-05-30 16-35-17
    _edgex-device-rfid-llrp_logs (2).txt

๐Ÿ”ฅ Exception or Error





๐ŸŒ Your Environment

Deployment Environment:

EdgeX Version [REQUIRED]:

Anything else relevant?

[LLRP] Add LLRP Inventory specific service metrics

๐Ÿš€ Feature Request

Relevant Package [REQUIRED]

LLRP Inventory

Description [REQUIRED]

Add service metrics relevant to LLRP Inventory. Possibilities:

  • Number of inventory moves
  • Number of inventory arrivals
  • Number of inventory departures

Describe the solution you'd like

Use new Metrics framework to collect these LLRP Inventory service metrics

[LLRP] CustomConfig setup bug

I was looking at this code as an example for how to load the custom config, and noticed that this just doesn't seem right. It needs to be checked further.

Mostly around why it is loading the aliasesConfigKey

if err = app.service.LoadCustomConfig(&app.config, aliasesConfigKey); err != nil {
return errors.Wrap(err, "failed to load custom configuration")
}
if err = app.config.AppCustom.AppSettings.Validate(); err != nil {
return errors.Wrap(err, "failed to validate custom config")
}
if err = app.service.ListenForCustomConfigChanges(&app.config.AppCustom, "AppCustom", app.processConfigUpdates); err != nil {
return errors.Wrap(err, "failed to listen for custom config changes")
}

[LLRP] Remove Mock CommandClient (Kamakura)

Mock CommandClient is missing from go-mod-core-contracts for Jakarta and was added to this service for unit testing. It have now be add for Kamakura. The one added to this service needs to be removed this service has been released for Jakarta.

[LLRP] Remove ZMQ

Update Makefile and Dockerfile to remove ZMQ dependencies and remove use of CGO

[App LLRP] Replace use of Gorilla/Mux with Echo

๐Ÿš€ Feature Request

Relevant Package [REQUIRED]

This feature request is for custom endpoint

Description [REQUIRED]

All other services have been switched to Echo, this service was missed

Describe the solution you'd like

Eliminate use of Gorilla/Mux by replacing it with use of Echo

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Device connection restored - HTTP 423 error

Could be an issue due to timing.

Scenario: A device is DISABLED in core-metadata due to a lost connection and then that connection is restored

Action: The rfid-llrp-inventory-service sniffs a ReaderEventNotification to know that the device has connected, however a failure in querying the device causes it to not be added to the default reader group.

rfid-llrp-inventory-service logs

level=INFO ts=2021-06-29T23:03:59.609388766Z app=rfid-llrp-inventory source=controller.go:123 msg="Adding device to default group: SpeedwayR-11-25-D6"
level=ERROR ts=2021-06-29T23:03:59.609880492Z app=rfid-llrp-inventory source=controller.go:83 error="device info request failed with status 423" device=SpeedwayR-11-25-D6 msg="Failed to handle ReaderEventNotification."

device-rfid-llrp-go logs

level=INFO ts=2021-06-29T23:03:59.593299178Z app=edgex-device-rfid-llrp source=device.go:470 device=SpeedwayR-11-25-D6 msg="Device connection restored."
level=INFO ts=2021-06-29T23:03:59.593358051Z app=edgex-device-rfid-llrp source=logging.go:25 type=MsgGetSupportedVersion device=SpeedwayR-11-25-D6 msg="Sending LLRP message"
level=INFO ts=2021-06-29T23:03:59.593893146Z app=edgex-device-rfid-llrp source=logging.go:34 type=MsgErrorMessage device=SpeedwayR-11-25-D6 msg="Incoming LLRP message"
level=WARN ts=2021-06-29T23:03:59.593946153Z app=edgex-device-rfid-llrp source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch"
level=INFO ts=2021-06-29T23:03:59.607062967Z app=edgex-device-rfid-llrp source=logging.go:25 type=MsgSetReaderConfig device=SpeedwayR-11-25-D6 msg="Sending LLRP message"
level=INFO ts=2021-06-29T23:03:59.607314102Z app=edgex-device-rfid-llrp source=logging.go:34 type=MsgSetReaderConfigResponse device=SpeedwayR-11-25-D6 msg="Incoming LLRP message"
level=ERROR ts=2021-06-29T23:03:59.609737045Z app=edgex-device-rfid-llrp source=command.go:64 msg="SpeedwayR-11-25-D6 is disabled; GET"
level=INFO ts=2021-06-29T23:03:59.614819052Z app=edgex-device-rfid-llrp source=device.go:119 msg="Updated device: SpeedwayR-11-25-D6"

[WIP BUG] HTML Pages still using V2 endpoints.

๐Ÿž Bug Report

Affected Services [REQUIRED]

The issue is located in `static/html` folder

Is this a regression? Yes, but in current WIP

Description and Minimal Reproduction [REQUIRED]

All endpoints in the static HTML need to be changed to v3 appropriately. Some may need migrating for breaking changes.

Also search repo for any other v2 references that need to be removed or changed.

[LLRP] Enable Metrics collection

๐Ÿš€ Feature Request

Relevant Package [REQUIRED]
configuration and go.mod

Description [REQUIRED]
Consume latest SDK with Metrics support

Describe the solution you'd like
Update all configuration to include new Telemetry section

[LLRP] Enable Delayed Start Services

๐Ÿš€ Feature Request

Relevant Package [REQUIRED]

๐Ÿš€ Feature Request
Relevant Package [REQUIRED]
go.mod and configuration

Description [REQUIRED]
Consume latest SDK with Delayed Start support.

Describe the solution you'd like
Update configuration to include new Delayed Start config.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.