Skip to content

AVEVA/sample-adh-data_views-java

Repository files navigation

Using Cds Data Views in Java

Version: 1.4.4

Build Status

The sample code in this demonstrates how to invoke Data View REST APIs via the sample Java client library. The sample demonstrates how to establish a connection to SDS, obtain an authorization token, create an SdsType and SdsStream with data (if needed), create a data view, update it, retrieve it, and retrieve data from it in different ways. At the end of the sample, everything that was created is deleted.

Summary of steps to run the Java demo

  1. Clone a local copy of this GitHub repository.
  2. Install the Java Client Library (see its readme for instructions)
  3. The sample is configured using the file appsettings.placeholder.json. Before editing, rename this file to appsettings.json.
    • This repository's .gitignore rules should prevent the file from ever being checked in to any fork or branch, to ensure credentials are not compromised.
  4. Replace the configuration strings in appsettings.json
  5. Build and run the project.
    1. cd to your project location.
    2. run mvn package exec:java on cmd.

*Currently this project is not hosted on the central Maven repo and must be compiled and installed locally.


Tested against Maven 3.6.3 and Java Runtime Environment 11.

For the main Cds data view samples page ReadMe
For the main Cds samples page ReadMe
For the main AVEVA samples page ReadMe

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages