Giter Site home page Giter Site logo

bethzelasky / osi-samples-ocs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aveva/aveva-samples-cloudoperations

0.0 0.0 0.0 24.68 MB

These OSIsoft samples are introductory, language-specific examples of programming against OSIsoft Cloud Services. They are intended as instructional samples only.

Home Page: https://www.osisoft.com

License: Apache License 2.0

osi-samples-ocs's Introduction

OSIsoft OCS Samples

๐Ÿ“ข Notice: samples have transitioned to being hosted in individual repositories

OSIsoft Cloud Services (OCS) is a highly flexible cloud-based platform that provides a scalable, elastic, centralized environment to aggregate data for reporting, advanced analytics, and third-party applications. OCS is powered by OSIsoft's Sequential Data Store (SDS). In this GitHub repo, we provide samples which will help you get started with the OCS API against your OCS instance.

If you are interested in other OSIsoft samples please see OSIsoft Samples.

There is currently one type of sample in the repo:

  • getting-started icon Getting Started - OCS focused samples for a task, usually implemented as a simple console app or single page application. There are also base libraries that may be used in other apps.

  • ctp icon This task and code uses services that are currently in preview. If you are interested in this functionality, please contact OCS support.

The official OCS samples are divided in multiple categories depending on the scenario and problem/task, accessible through the following table:

Client Credentials
Click for details on this type of authentication

.NET Build Status
Hybrid Flow
Click for details on this type of authentication

.NET Build Status
Authorization Code + PKCE
Click for details on this type of authentication

.NET Build Status
NodeJS Build Status
PowerBI Build Status
Python Build Status

Types, Streams, and Retrieving Data

WaveForm
Covers some typical operations against the SDS, including client credential authentication, creating, updating, and deleting types, streams and events. This uses a non-time Series Type. Some tasks are different from the other "Types, Streams, and retrieving Data" task, so look at the task readme for details. This is a recommended starting example, and a good a base for all other Tasks. Details

.NET Libraries Build Status
.NET REST API Build Status
Java Build Status
Angular Build Status
NodeJS Build Status
Python Build Status
Time-Series
Covers some typical operations against the SDS, including client credential authentication, creating, and deleting types and streams. This sample is based on Time-Series data. Some tasks are different from the other "Types, Streams, and retrieving Data" task, so look at the task readme for details. This is a recommended starting example, and a good a base for all other Tasks. Details

Python Build Status
.NET Build Status

Data Ingress

OMF Ingress
Covers the basic functionality of configuring and using the OMF Ingress

.NET Build Status
Bulk Upload
Demonstrates how to build a Bulk Upload utility that sends SDS objects from json files

.NET Build Status
CSV to OCS
Shows how to send a basic csv file to OCS using SDS calls

.NET Build Status

Visualization

Grafana
Demonstrates how to build a Grafana plugin that retrieves stream data from Sequential Data Store

NodeJS Build Status
SDS Visualization
This sample demonstrates a basic visualization application that can find and trend values from streams in the Sequential Data Store.

Angular Build Status
Assets
These samples highlight basic operations with Assets in OCS, including create, update, data retrieval, and delete operations on Assets. Details

.NET Build Status
Python Build Status

Analytics

Data Views
These samples highlight basic operations of Data Views for OCS, including creation, updating, getting data from and deletion of Data Views. Details

Java Build Status
Python Build Status
.NET Build Status
Data Views Jupyter
This sample demonstrates how to utilize OCS Data Views to do some basic data analysis using Python Jupyter Notebook.

Jupyter Notebook Build Status
Data Views R
Demonstrates how to create a data frame in R from an OCS Data View

R Build Status

Functionality & Utilities

UOM
Covers the basic functionality of the UOM system on OCS

.NET Build Status
Sample Libraries
These sample libraries are used as the base for the other samples. They are designed to be straightforward implementations of the REST APIs. They are for use in the samples. Details

Java ~~~~~~~~~~~~~~~~~~~
Python ~~~~~~~~~~~~~~~~~~~

~~ These libraries are tested by being used in other apps.

Note: Tests with automated UI browser components (such as Hybrid Authentication, Authorization Code Flow and Angular samples) fail intermittently due to automatation issues.

For OMF to OCS samples please see the OMF repository: OSI-Samples-OMF

Credentials

A credential file is used in the samples unless otherwise noted in the sample. The name and location of the credential file should be noted in the sample's readme.
Note: This is not a secure way to store credentials. This is to be used at your own risk.
You will need to modify these files locally when you run the samples.

About this repo

The style guide describes the organization of the repo and the code samples provided. The test guide goes into detail about the included automated tests. The on prem testing document describes the software installed on our internal OSIsoft build agent.

Feedback

If you have a need for a new sample; if there is a feature or capability that should be demonstrated; if there is an existing sample that should be in your favorite language; please reach out to us and give us feedback at https://feedback.osisoft.com under the OSIsoft GitHub Channel. Feedback.

Support

If your support question or issue is related to something with an OSIsoft product (an error message, a problem with product configuration, etc...), please open a case with OSIsoft Tech Support through myOSIsoft Customer Portal (https://my.osisoft.com).

If your support question or issue is related to a non-modified sample (or test) or documentation for the sample; please email [email protected].

Contributions

If you wish to contribute please take a look at the contribution guide.

License

OSI Samples are licensed under the Apache 2 license.

osi-samples-ocs's People

Contributors

cbardini avatar cfoisy-osisoft avatar dependabot[bot] avatar derekendres avatar dleeatosisoft avatar osi-awoodall avatar robfox92 avatar sagarwal29 avatar sukhdev1103 avatar

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.