Skip to content

Commit

Permalink
Change callsigns for some plugins from com.comcast to org.rdk
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-ky committed May 15, 2020
1 parent 224dc67 commit 684ba25
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion AVInput/AVInput.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set (autostart false)
set (preconditions Platform)
set (callsign com.comcast.AVInput)
set (callsign org.rdk.AVInput)
4 changes: 2 additions & 2 deletions AVInput/AVInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

const short WPEFramework::Plugin::AVInput::API_VERSION_NUMBER_MAJOR = 1;
const short WPEFramework::Plugin::AVInput::API_VERSION_NUMBER_MINOR = 0;
const string WPEFramework::Plugin::AVInput::SERVICE_NAME = "com.comcast.AVInput";
const string WPEFramework::Plugin::AVInput::SERVICE_NAME = "org.rdk.AVInput";
//methods
const string WPEFramework::Plugin::AVInput::METHOD_GET_API_VERSION_NUMBER = "getApiVersionNumber";
const string WPEFramework::Plugin::AVInput::AVINPUT_METHOD_NUMBER_OF_INPUTS = "numberOfInputs";
Expand All @@ -32,7 +32,7 @@ const string WPEFramework::Plugin::AVInput::AVINPUT_METHOD_CONTENT_PROTECTED = "
const string WPEFramework::Plugin::AVInput::AVINPUT_EVENT_ON_AV_INPUT_ACTIVE = "onAVInputActive";
const string WPEFramework::Plugin::AVInput::AVINPUT_EVENT_ON_AV_INPUT_INACTIVE = "onAVInputInactive";

#define SUBSCRIPTION_CALLSIGN "com.comcast.HdmiInput"
#define SUBSCRIPTION_CALLSIGN "org.rdk.HdmiInput"
#define SUBSCRIPTION_CALLSIGN_VER SUBSCRIPTION_CALLSIGN".1"
#define SUBSCRIPTION_EVENT "onDevicesChanged"
#define SERVER_DETAILS "127.0.0.1:9998"
Expand Down
10 changes: 5 additions & 5 deletions AVInput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# AVInput

## Versions
`com.comcast.AVInput.1`
`org.rdk.AVInput.1`

## Methods:
```
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "com.comcast.AVInput.1.getApiVersionNumber"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "com.comcast.AVInput.1.numberOfInputs"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "com.comcast.AVInput.1.currentVideoMode"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "com.comcast.AVInput.1.contentProtected"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "org.rdk.AVInput.1.getApiVersionNumber"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "org.rdk.AVInput.1.numberOfInputs"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "org.rdk.AVInput.1.currentVideoMode"}' http://127.0.0.1:9998/jsonrpc
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc":"2.0","id":"3","method": "org.rdk.AVInput.1.contentProtected"}' http://127.0.0.1:9998/jsonrpc
```
## Responses
```
Expand Down
2 changes: 1 addition & 1 deletion ContinueWatching/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set_target_properties(${MODULE_NAME} PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES)

target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Plugins::${NAMESPACE}Plugins crypto sec_api rfcapi trower-base64)
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Plugins::${NAMESPACE}Plugins crypto ${SECAPI_LIB} rfcapi trower-base64)
target_include_directories(${MODULE_NAME} PRIVATE ../helpers)

install(TARGETS ${MODULE_NAME}
Expand Down
2 changes: 1 addition & 1 deletion FrameRate/FrameRate.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set (autostart false)
set (preconditions Platform)
set (callsign "com.comcast.FrameRate")
set (callsign "org.rdk.FrameRate")

10 changes: 5 additions & 5 deletions FrameRate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ bitbake thunder-plugins
-----------------
Test:

curl -d '{"jsonrpc":"2.0","id":"3","params": {"frequency":1000},"method": "com.comcast.FrameRate.1.setCollectionFrequency"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"newFpsValue":60},"method": "com.comcast.FrameRate.1.updateFps"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"newFpsValue":30},"method": "com.comcast.FrameRate.1.updateFps"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","method": "com.comcast.FrameRate.1.startFpsCollection"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","method": "com.comcast.FrameRate.1.stopFpsCollection"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"frequency":1000},"method": "org.rdk.FrameRate.1.setCollectionFrequency"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"newFpsValue":60},"method": "org.rdk.FrameRate.1.updateFps"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"newFpsValue":30},"method": "org.rdk.FrameRate.1.updateFps"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","method": "org.rdk.FrameRate.1.startFpsCollection"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","method": "org.rdk.FrameRate.1.stopFpsCollection"}' http://127.0.0.1:9998/jsonrpc
2 changes: 1 addition & 1 deletion HdcpProfile/HdcpProfile.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set (autostart false)
set (preconditions Platform)
set (callsign "com.comcast.HdcpProfile")
set (callsign "org.rdk.HdcpProfile")
2 changes: 1 addition & 1 deletion HdmiCec/HdmiCec.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set (autostart false)
set (preconditions Platform)
set (callsign "com.comcast.HdmiCec")
set (callsign "org.rdk.HdmiCec")
2 changes: 1 addition & 1 deletion HdmiInput/HdmiInput.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set (autostart false)
set (preconditions Platform)
set (callsign "com.comcast.HdmiInput")
set (callsign "org.rdk.HdmiInput")
4 changes: 2 additions & 2 deletions ScreenCapture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ bitbake thunder-plugins
-----------------
Test:

curl -d '{"jsonrpc":"2.0","id":"3","params": {"url":"http://10.0.0.233/upload.php"},"method": "com.comcast.ScreenCapture.1.uploadScreenCapture"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"url":"http://10.0.0.233/cgi-bin/upload.cgi", "callGUID": "test_guid"},"method": "com.comcast.ScreenCapture.1.uploadScreenCapture"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"url":"http://10.0.0.233/upload.php"},"method": "org.rdk.ScreenCapture.1.uploadScreenCapture"}' http://127.0.0.1:9998/jsonrpc
curl -d '{"jsonrpc":"2.0","id":"3","params": {"url":"http://10.0.0.233/cgi-bin/upload.cgi", "callGUID": "test_guid"},"method": "org.rdk.ScreenCapture.1.uploadScreenCapture"}' http://127.0.0.1:9998/jsonrpc

2 changes: 1 addition & 1 deletion ScreenCapture/ScreenCapture.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set (autostart false)
set (preconditions Platform)
set (callsign "com.comcast.ScreenCapture")
set (callsign "org.rdk.ScreenCapture")

2 changes: 1 addition & 1 deletion StateObserver/StateObserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#define STATEOBSERVER_MAJOR_VERSION 1
#define STATEOBSERVER_MINOR_VERSION 0
#define DEBUG_INFO 1
#define DEBUG_INFO 0

namespace WPEFramework {

Expand Down
2 changes: 1 addition & 1 deletion XCast/XCast.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set (autostart false)
set (preconditions Platform)
set (callsign "com.comcast.Xcast")
set (callsign "org.rdk.Xcast")

0 comments on commit 684ba25

Please sign in to comment.