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 Predix Studio Team · Oct 16, 2017 at 11:26 AM · predix-studiodevelopmentdata-ingestiondata-modelprocess

Accessing Routers

Hi, I am trying to utilize the Routers available on the Predix Studio application to evaluate the possibility of being able to push data based on a certain event from my external application into Predix Studio.

The documents talk about a set of APIs that can be accessed using the base Resource https://127.0.0.1:8443/bsrouter/

However, since the instance of Bitstew I am using is hosted under https://get-logistics-dev.mixdevelopernetwork.com , none of the Router API Endpoints are accessible on this server. Any idea what are the required settings to make them available for my usage?

Under Administration Section of my Bitstew Instance, I can see that the router is configured under https://127.0.0.1:8443/bsrouter

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

3 Replies

  • Sort: 
avatar image
0
Best Answer

Answer by Predix Studio Team · Oct 16, 2017 at 12:07 PM

As Jeremmy told, Router for 10.3 required authentication. If Jmeter is used for dataload, add HTTP Authorisation Manager If SOAPUI is used for dataload, add Basic Authentication (ask MDN for user/password) https://127.0.0.1:8443/bsrouter/RouteMessage or https://127.0.0.1:8443/bsrouter/servlet/RouteMessage example of soap message for Asset:

urn:com.bitstew.manage.asset

AST1 BitStewSystems QA

To visualize: alt text

Also, check router status, expected STARTED: https://127.0.0.1:8443/bsrouter/RouterInit (to start router use : https://127.0.0.1:8443/bsrouter/RouterManager/startRouter )

alt text


image-1.jpg (99.9 kB)
image2017-7-25-9-5-39.png (48.2 kB)
Comment
Add comment · 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
0

Answer by Predix Studio Team · Oct 16, 2017 at 12:09 PM

You found the right documentation, and the Router is running, but only locally accessible for that instance.

The Router can be made externally accessible with appropriate authentication (typically basic authentication for the current V10.3) or network security, you'll have to talk to your Predix Studio admin about that.

Comment
Add comment · 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
0

Answer by Predix Studio Team · Oct 16, 2017 at 11:54 AM

Note that some of those examples are using the legacy V4 endpoints.

Use https://127.0.0.1:8443/bsrouter/RouteMessage, not the one with servlet in the path. And use https://127.0.0.1:8443/bsrouter/RouterStatus, not RouterInit.

Comment
Add comment · 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

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

How do I update all or a subset of documents in an index? 1 Answer

Can MIx be used to ingest data from source files in MS Word format? 1 Answer

Pulling Data from HTTPS URL for Data Source 3 Answers

How do smart meters associate with their routers? 1 Answer

Undocumented extended XPath functions? 1 Answer

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