Skip to content

W-22252550: Replace TDE sample workbook with Hyper extract; add per-step error handling#109

Closed
jacalata wants to merge 11 commits into
masterfrom
jac/java11-rest-api-sample
Closed

W-22252550: Replace TDE sample workbook with Hyper extract; add per-step error handling#109
jacalata wants to merge 11 commits into
masterfrom
jac/java11-rest-api-sample

Conversation

@jacalata

@jacalata jacalata commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the World Indicators-En-US.twbx sample workbook in both java/ and java11/ with a workbook using a .hyper extract — the previous file contained a deprecated .tde datasource that Tableau Cloud rejects on publish
  • Updates Demo.java to wrap each REST API step in a try/catch, log the failure reason, and continue rather than aborting on the first error
  • Appends the current time (HH-mm) to the published workbook name so repeated runs don't collide

Test plan

  • Run java11 sample against Tableau Cloud — sign-in, project query, and publish should succeed
  • Verify published workbook appears on the site with a timestamped name

🤖 Generated with Claude Code

aaroncarey and others added 11 commits July 26, 2018 13:31
* Update README.md

* Update README.md

* Update version .py (2.8 -> 3.0)

* Updated version numbers, changed the formatting used to refer to files and folders.

* Updated version number from 2.8 to 3.0
Updating version numbers from 3.0 to 3.1
Updating version numbers from 3.0 to 3.1
Update to change version numbers from 3.0 to 3.1
Update the version number from 3.0 to 3.1
- Also added some debug statements and separated out possible exceptions for easier debugging.
- Updated the code to refer to config.properties instead of requiring the user to edit code before running.
- Set a default API version so that first run is slightly simpler
Update log4j and jaxb
set default API version to reduce startup work
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ror handling

The previous World Indicators twbx contained a deprecated .tde datasource
which Tableau Cloud rejects on publish. Replace it with a workbook using a
.hyper extract in both java/ and java11/.

Also update Demo.java to catch exceptions at each step and continue rather
than aborting, and append the current time (HH-mm) to the published workbook
name to avoid conflicts on re-runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@salesforce-cla

salesforce-cla Bot commented Jul 9, 2026

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @aaroncarey to sign the Salesforce Inc. Contributor License Agreement.

@jacalata

Copy link
Copy Markdown
Contributor Author

Superseded by #110 (workbook replacement) and #111 (Demo.java error handling), split into separate PRs.

@jacalata jacalata closed this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants