Repository navigation
Upgraded to version 1.0.0 of the Solace cloud connector, added discussion of HA. - #17
damaru-inc wants to merge 38 commits into
Conversation
…'s consistent with the Open Beta Solace Messaging Tile.
Updating samples so it refers to the new 'shared' service plan, so it…
Updated the service plan name in the Common Setup section to reflect the Open Beta plan name
Added the names of the project directories to the description to be more explicit.
Fixed the links for the tutorials
Updated the service instance name to align with the instructions for setting up the samples
Update a few reference to the service instance name to "solace-messaging-sample-instance".
This reverts commit 6ff051b.
…ed the wording of a couple of sentences.
Fixed the links for the tutorials
| JCSMPChannelProperties cp = (JCSMPChannelProperties) properties | ||
| .getProperty(JCSMPProperties.CLIENT_CHANNEL_PROPERTIES); | ||
| cp.setReconnectRetries(-1); // try reconnecting forever | ||
| ``` |
There was a problem hiding this comment.
Please use best practice recommendations here and not forever.
| ## High Availability | ||
|
|
||
| Solace provides the option to set up High Availability configurations, where each message router has a backup. To use this in Cloud Foundry you need to create a service of type medium-ha or large-ha, for example: | ||
|
|
There was a problem hiding this comment.
Point us to an architectural overview of HA in the PCF Tile docs with picture.
|
|
||
| ### CertificateException | ||
| >>>>>>> 2ddecceb096c1c345139b6b2f2bfb47b3348e923 | ||
|
|
There was a problem hiding this comment.
Merge issue. Please fix.
| ``` | ||
|
|
||
| it is because the application could not validate the certificate it received from the Solace Message Router. This can happen when you install a self-signed certificate on the Solace Message Router, but didn't package it with the app, or didn't set INSTALL_CERTIFICATE to true in the sample. | ||
| it is because the application could not validate the certificate it received from the server. This can happen when you install a self-signed certificate on the router, but didn't package it with the app, or didn't set INSTALL_CERTIFICATE to true. |
There was a problem hiding this comment.
You have reverted some text here which is not correct.
| // one for the primary router and one for the backup. | ||
| JSONArray hostsArray = solaceCredentials.getJSONArray("smfHosts"); | ||
| String host = hostsArray.getString(0); | ||
|
|
There was a problem hiding this comment.
This looks broken for HA.
| final JCSMPProperties properties = new JCSMPProperties(); | ||
| properties.setProperty(JCSMPProperties.HOST, solaceMessagingServiceInfo.getSmfTlsHost()); | ||
| properties.setProperty(JCSMPProperties.HOST, solaceMessagingServiceInfo.getSmfHost()); | ||
| properties.setProperty(JCSMPProperties.VPN_NAME, solaceMessagingServiceInfo.getMsgVpnName()); |
There was a problem hiding this comment.
This looks broken for TLS.
| // JCSMPChannelProperties channelProperties = (JCSMPChannelProperties) properties | ||
| // .getProperty(JCSMPProperties.CLIENT_CHANNEL_PROPERTIES); | ||
| // channelProperties.setReconnectRetries(-1); | ||
| try { |
There was a problem hiding this comment.
Please fix so this follows best practices for reconnecting in an HA environment.
| // .getProperty(JCSMPProperties.CLIENT_CHANNEL_PROPERTIES); | ||
| // channelProperties.setReconnectRetries(-1); | ||
|
|
||
| try { |
There was a problem hiding this comment.
Please follow HA best practices.
|
Please close this pull request, fix the commit history by rebasing and resubmit a clean pull request that addresses the issues found. |
…menu on dev solace website (SolaceSamples#17)
* Template update for new look and feel. (#5) * Adopt a tile layout on the main docs pages. Adopt the improved CSS for the tutorial pages. * Removed extra tutorial image no longer needed * Added spacing on top of h2 headers. Used intro.html to keep generic intro text. Put tag line in config.yml for site summary * Fixed hover effect issue (#6) * changed hover effect on card to move up instead of down to match datago.io (#7) * Removed round corners (#8) * Add solace-cloud style header and footer. (#9) * Add solace-cloud style header and footer. * More padding for the tutorials * Padding was missed. * Adding favicon * Update the api links for solace cloud. (#12) * Update the api links for solace cloud. * Arasmy/datago1066 (#13) * Change solace cloud links to use the protocol of the site they're on. CSS files that referenced HTTP links. Fixed logo loading over HTTPS. Fixed cards when screen width is less than 993px. * Added JavaRTO to 'Pick Another API' dropdown on dev.solace and solace cloud * Fixed all link on config to use the protocol of the site they're on (#14) * Updates to support adding tutorials directly into the Solace Developer Portal. * Added header and footer to samples matching to the current one on dev.solace.com. Project now understands the Solace cloud delivery target vs dev portal so that we can deliver different CSS to Solace cloud vs dev portal. * Added dev-solace css file * Fixed footer to match dev solace website: * Removed unused css stylesheet and imported ones that are not served on https. Change css import to use the same protocol of the site. Did some code clean Up. (#16) * Fixed hover effect of the card overriding hover effect of the header menu on dev solace website (#17) * Added support of passing in svg required dimensions as tutorial paramter (#18) * Updated download link on header and footer of samples on dev solace website (#19) * Rebranding samples for solace cloud website (#20) * Rebranding samples for solace cloud website * Rebranding of samples for the dev solace website * Arasmy/rebranding (#21) * Rebranding samples for solace cloud website * Rebranding of samples for the dev solace website * Made some css improvement to match the solace cloud and dev solace look * changed hostname back to cloud.solace.com * fixed hostname of the dev.solace.com * Arasmy/rebranding (#22) * Fixed issue with solace template link to github being hardcoded * Arasmy/rebranding (#23) * Rebranding samples for solace cloud website * Rebranding of samples for the dev solace website * Made some css improvement to match the solace cloud and dev solace look * changed hostname back to cloud.solace.com * fixed hostname of the dev.solace.com * Fixed issue with solace template link to github being hardcoded * fixed 2 minor bugs on the header and foot of the solace cloud sample (#24) * Added back the intro to the sample
No description provided.