Skip to content

Commit 6ef60ca

Browse files
authored
Merge pull request #4 from CDPTechnologies/AddedEventSupport
Added event support
2 parents a5b4810 + d30440c commit 6ef60ca

File tree

8 files changed

+666
-103
lines changed

8 files changed

+666
-103
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
2-
protos/
2+
protos/
3+
helpers/

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# CDPLogger Client for JavaScript
22

3-
A simple JavaScript interface for communicating with CDP applications that include a CDPLogger component to retrieve historic data.
3+
A simple JavaScript interface for communicating with CDP applications that include a CDPLogger component to retrieve historic data.
4+
For more information about CDP Studio see https://cdpstudio.com/.
45

56

67
## Installation
@@ -13,20 +14,41 @@ npm install
1314

1415

1516
## Running Tests
17+
1618
To run the automatic tests with fake data, execute:
1719

1820
```bash
1921
npm test
2022
```
2123

24+
To test the time sync functionality using simulated response:
25+
26+
```bash
27+
node test/testTimeSync.js
28+
```
29+
30+
2231
## Usage
32+
2333
The index.js file contains a simple logger built for the CDP Studio example case.
2434

2535
1. Set up and run the Logger in CDP Studio.
2636
(Refer to Help → Framework - Data Logging → How to Setup Logging in Automation System)
37+
https://cdpstudio.com/manual/cdp/cdplogger/cdplogger-configuration-example.html
2738

2839
2. Run the index.js file from the command line:
2940

3041
```bash
3142
node index.js
32-
```
43+
```
44+
45+
For usage related to events run:
46+
47+
```bash
48+
node event.js
49+
```
50+
51+
52+
## Contact
53+
54+
Email: support@cdptech.com

0 commit comments

Comments
 (0)