Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by gurleen.k@tcs.com · May 24, 2017 at 02:16 AM · dashboard-seed

Implementing CUPS with predix dashboard seed

Can someone please guide me through as how to implement CUPS (cloud foundary user provided services), with the Predix Dashboard seed?

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
1

Answer by Manish Jain · May 25, 2017 at 07:56 AM

Hi @gurleen.k@tcs.com, CUPS variables are accessible the same way we access VCAP variables.

Creating the CUPS service with the env variables you want to configure.

 cf cups sample-common-dev-services -p '{"rserv_http_api_uri":"https://rabbitmq-management-35.system.asv-pr.ice.predix.io/api/","uaa_uri":"https://12345678-8892-4566-93333-sjsdkjd.predix-uaa.run.asv-pr.ice.predix.io","blobstore_url":"https://bucket-12345678-9876-567-93a4-7883d40cd5b4.store.gecis.io","blobstore_access_key_id":"xxxxx3506-fffff-rrrrr--1","blobstore_secret_access_key":"12345678-5678-41234-456-4556666"}'

While deploying the SEED application on Predix bind the application with CUPS service sample-common-dev-services manually or using manifest. In your app.js or node file you can now access these variable using CFEnv package in node or manually parsing

https://docs.cloudfoundry.org/buildpacks/node/node-service-bindings.html

https://www.npmjs.com/package/cfenv

Hope that helps

Comment
Add comment · Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gurleen.k@tcs.com · May 25, 2017 at 08:31 AM 0
Share

thanks Manish! I will try this and shall let you know in case i face any challenge.

Follow this Question

Answers Answers and Comments

79 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Setting up the Dashboard Seed project: bower error 4 Answers

"grunt serve" for Dashboard Seed App giving Errors- ServerResponse has no method 'Status' 4 Answers

Dashboard Seed Initial Requirements 3 Answers

Angular JS UI-Router resolve issue with predix - seed. 1 Answer

user login issue with predix seed 6 Answers

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests