Code Monkey home page Code Monkey logo

1561888111qq / 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 23.35 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

C# 7.36% JavaScript 2.82% HTML 29.77% Java 5.84% Python 6.72% TypeScript 2.52% CSS 0.01% Jupyter Notebook 44.98%

osi-samples-ocs's Introduction

OSIsoft OCS Samples

OSIsoft Cloud Services (OCS) is a highly flexible cloud-based platform that provides 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:

Task Description Languages Test Status
Authentication - Client Credentials getting-started icon Click for details on this type of authentication .NET Build Status
Authentication - Hybrid Flow getting-started icon Click for details on this type of authentication .NET Build Status
Authentication - Authorization Code + PKCE getting-started icon Click for details on this type of authentication .NET
JavaScript
PowerBI
Python
Build Status
Build Status
Build Status
Build Status
Types, Streams, and retrieving Data -- WaveForm getting-started icon 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
.NET REST API
Java
Angular
NodeJS
Python
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Types, Streams, and retrieving Data -- Time-Series getting-started icon 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
DotNet
Build Status
Build Status
UOM getting-started icon Covers the basic functionality of the UOM system on OCS .NET Build Status
OMF Ingress getting-started icon Covers the basic functionality of configuring and using the OMF Ingress .NET Build Status
CSV to OCS Shows how to send a basic csv file to OCS using SDS calls .NET Build Status
Grafana Demonstrates how to build a Grafana plugin that retrieves stream data from Sequential Data Store NodeJS Build Status
BulkUpload Demonstrates how to build a Bulk Upload utility that sends SDS objects from json files DotNet Build Status
Sample Libraries getting-started icon 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
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~
Data Views getting-started icon These samples highlight basic operations of Data Views for OCS, including creation, updating, getting data from and deletion of Data Views. Details Java
Python
Build Status
Build Status
Data View Jupyter This sample demonstrates how to utilize OCS Data Views to do some basic data analysis using Python Jupyter Notebook. Details Jupyter Notebook Build Status

~~ 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

derekendres avatar osi-awoodall avatar dependabot[bot] avatar cfoisy-osisoft avatar sukhdev1103 avatar dleeatosisoft avatar sagarwal29 avatar robfox92 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.