Skip to content
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

Teiid Connection service fixes #496

Merged
merged 2 commits into from
Jul 28, 2017
Merged

Conversation

phantomjinx
Copy link
Member

  • ConnectionImpl

  • RelationalMessages

  • Rename variables to connection rather than data source for workspace
    side but leave for Teiid side

  • Use connection is error messages replacing data source

  • CachedTeiidImpl

  • Fetching a Teiid data source that does not exist results in an exception
    which causes refreshing the teiid cache to fail. First test whether a
    data source exists before getting it.

  • KomodoTeiidService

  • Cannot guarantee that a property's required flag is always set correctly
    so for now override the priority properties to always set 'required' to
    true

* ConnectionImpl
* RelationalMessages
 * Rename variables to connection rather than data source for workspace
   side but leave for Teiid side
 * Use connection is error messages replacing data source

* CachedTeiidImpl
 * Fetching a Teiid data source that does not exist results in an exception
   which causes refreshing the teiid cache to fail. First test whether a
   data source exists before getting it.

* KomodoTeiidService
 * Cannot guarantee that a property's required flag is always set correctly
   so for now override the priority properties to always set 'required' to
   true
* CacheTeiidImpl
 * If a template is problematic, eg. salesforce-34, then avoid bringing
   down whole app by logging the error message rather than throwing the
   exception.

* message.properties
 * Adds the cause exception message to the error message

* IT_KomodoTeiidServiceDriverTests
 * The hashmap is in a random order so cannot guarantee the status message
   if first in the iterator so check all the response attributes to ensure
   expected message is available

* AbstractKomodoServiceTest
 * Unit tests using undertow require apache base64 as undertow client and
   service use that implementation, whereas javascript implementation uses
   implementation akin to DatatypeConverter and jdk8 Base64.

# Conflicts:
#	server/komodo-rest/src/test/java/org/komodo/rest/relational/AbstractKomodoServiceTest.java
@phantomjinx phantomjinx merged commit 97539be into Teiid-Designer:master Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant