-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting credentials to connect to bluemix workspaces #6
Comments
You can just edit the bootstrap.json, then delete the db/knowledge.db to wipe the local graph storage... alternatively, you can use any SQLLite DB viewer to find the body vertex in the knowledge.db and edit it directly if you don't want to wipe your entire DB. |
P.S. I know there is a bug in the dashboard javascript which requires you to do a hard-refresh of the page (F5) sometimes. |
I renamed the /self/bin/mac/db/knowledge.db file, and added credentials to self/bin/mac/etc/shared/bootstrap.json Unfortunately it is not connecting to my workspace. Does "self_wex" replace "self_domain" from RC4 to RC5? In RC4 there were self_domain and self_dialog credentials set in the body.json file:
In this release I find two opportunities to add credentials (self_wex and self_dialog) in bootstrap.json:
Please also note that when I removed /self/bin/mac/db/knowledge.db that the response to my statement: "hello" was "I do not know how to hello" Is it actually necessary for me to be directly editing the knowledge.db file and adding credentials there? I could really use some help figuring out how to set this up to connect to my workspace on bluemix thank you! |
m_WorkspaceKey is only used to match up against the key when pulling down credential data from a gateway, which isn't really being used in this case I suspect. You use one "ConversationProxy" section per conversation work-space you want to have, if you only have one, then remove the self_wex one. Just put your conversation work-space Id into m_WorkspaceId field, simple as that. |
I'm running mac OSX Yosemite, with self develop branch. I've been trying to follow the directions for this version to connect the conversation service to my bluemix workspaces. In RC4 I would set self_domain and self_dialog in the /bin/mac/etc/profile/body.json file. In this version there is a self/etc/shared/bootstrap.json file that contains a section to enter self_dialog, but not self_domain. The Update Readme discusses using web browser to access the dashboard end-point (e.g. http://localhost:9443/www/dashboard). When I use that web interface and I navigate to CONFIGURATION|Service Config, Add New Service Config I enter the values but it doesn't appear to actually be setting them. (also, when I click on 'services' it displays a pulldown menu but it's empty and is accompanied by a spinning wheel that never stops).
I was able to successfully configure my RC4 installation to connect conversation service to my workspaces on bluemix, but I haven't been able to here. Is it mandatory to use the web browser interface, or can I manually modify files in order to set credentials? Any steps you could recommend would be greatly appreciated.
The text was updated successfully, but these errors were encountered: