Skip to content

Conversation

@dwickelhaus
Copy link
Collaborator

Changes to be committed:
modified: ../../../src/mtconnect/sink/rest_sink/rest_service.cpp
modified: ../../../src/mtconnect/sink/rest_sink/websocket_session.hpp

added asset, assets and assetsById commands to the RestRervice::createAssetRoutings method
modifed the WebsocketSession::parseRequest to

  • replace the asset and assets command with assetsById when the assetIds parameter has values
  • set the count parameter to 100 if the request is sample and the count parameter is empty.

Fixes -

  • websocket response to the asset and assets websocket requests.
  • websocket response to the assetsIds parameter.
  • websocket response to the sample command without the count parameter being specified.

 Changes to be committed:
	modified:   ../../../src/mtconnect/sink/rest_sink/rest_service.cpp
	modified:   ../../../src/mtconnect/sink/rest_sink/websocket_session.hpp

 added asset, assets and assetsById commands to the RestRervice::createAssetRoutings method
 modifed the WebsocketSession::parseRequest to
  - replace the asset and assets command with assetsById when the assetIds parameter has values
  - set the count parameter to 100 if the request is sample and the count parameter is empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants