Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

🚫 This project is no longer maintained. Simple Data Pipe connector using a bluemix service to enrich static data sets with sentiment information

License

Notifications You must be signed in to change notification settings

ibm-watson-data-lab/--deprecated--simple-data-pipe-connector-template-with-service-dependency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Data Pipe <TEMPLATE> Connector

🚫 This project is no longer maintained.

This Simple Data Pipe connector template illustrates how to

  • load a static set of data sets (2016 election speeches),
  • use a Bluemix service to perform tone analysis, and
  • store the results in Cloudant.

Pre-requisites

General

Review the pre-requisites listed below.

Deploy the Simple Data Pipe

Deploy the Simple Data Pipe in Bluemix using the Deploy to Bluemix button or manually.

Services

This connector requires the Watson Tone Analyzer service in IBM Bluemix to be bound to the Simple Data Pipe application.

Provision and bind a Watson Tone Analyzer service instance. If you're using the Cloud Foundry command line interface, do so by running the following commands:

  $ cf create-service tone_analyzer beta "tone analyzer"
  $ cf bind-service simple-data-pipe "tone analyzer"
  $ cf restage simple-data-pipe

Pro Tip: If you want to re-use an existing instance that is not named tone analyzer, create a USER-DEFINED Environment Variable in the Simple Data Pipe application named WATSON_TONE_ANALYZER and set its value to the name of the existing Tone Analyzer service. Read how.

Install the <TEMPLATE> connector

When you follow these steps to install this connector, add the following line to the dependencies list in the package.json file: "simple-data-pipe-connector-template-with-service-dependency": "https://github.com/ibm-cds-labs/simple-data-pipe-connector-template-with-service-dependency.git"

Enable OAuth support and collect connectivity information

This sample connector does not connect to a cloud data source and therefore does not require oAuth authentication checking.

Using the <TEMPLATE> Connector

To configure and run a pipe

  1. Open the Simple Data Pipe web console.
  2. Select Create A New Pipe.
  3. Select Another Sample Data Source for the Type when creating a new pipe
  4. In the Connect page, enter any string as consumer key and consumer secret.
  5. Select the data set (or data sets) to be loaded.
  6. Schedule or run the data pipe now.

License

Copyright [2016] IBM Cloud Data Services

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

🚫 This project is no longer maintained. Simple Data Pipe connector using a bluemix service to enrich static data sets with sentiment information

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published