[JBoss JIRA] (TEIID-2673) CNF exception when getting data through infinispan-cache translator
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2673?page=com.atlassian.jira.plugin... ]
Van Halbert resolved TEIID-2673.
--------------------------------
Labels: infinispan (was: )
Resolution: Done
Created and tested the fix on the 8.4.1 branch and pushed the changes upstream to 8.6.
> CNF exception when getting data through infinispan-cache translator
> -------------------------------------------------------------------
>
> Key: TEIID-2673
> URL: https://issues.jboss.org/browse/TEIID-2673
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Van Halbert
> Labels: infinispan
> Fix For: 8.4.1, 8.6
>
>
> When getting data through infinispan-cache translator using remote hot rod access, DV will throw "...ClassNotFoundException: org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory".
> Workaround:
> Add "<module name="org.infinispan.client.hotrod"/>" as a dependency into module "org.jboss.teiid".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2673) CNF exception when getting data through infinispan-cache translator
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2673?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2673:
---------------------------------------
Who is that a question for? If you've tested it, I'd say go ahead and resolve it.
> CNF exception when getting data through infinispan-cache translator
> -------------------------------------------------------------------
>
> Key: TEIID-2673
> URL: https://issues.jboss.org/browse/TEIID-2673
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Van Halbert
> Fix For: 8.4.1, 8.6
>
>
> When getting data through infinispan-cache translator using remote hot rod access, DV will throw "...ClassNotFoundException: org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory".
> Workaround:
> Add "<module name="org.infinispan.client.hotrod"/>" as a dependency into module "org.jboss.teiid".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2472) Create quickstart(s) demonstrating security
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2472?page=com.atlassian.jira.plugin... ]
Van Halbert commented on TEIID-2472:
------------------------------------
Added use case that demonstrates using the hasRole() feature. I think this is useful, because it shows how a functional based role can be defined and applied across other defined roles. The role is not bound by the data defined within it, like the ReadOnly and ReadWrite roles, it allows the rule to be applied anywhere hasRole() can be used.
> Create quickstart(s) demonstrating security
> -------------------------------------------
>
> Key: TEIID-2472
> URL: https://issues.jboss.org/browse/TEIID-2472
> Project: Teiid
> Issue Type: Sub-task
> Components: Quick Starts
> Reporter: Steven Hawkins
> Assignee: Van Halbert
> Fix For: 8.4.1
>
>
> There should be quickstarts (or an expanded dataroles quickstart) covering row based security, column masking, and possibly the use of a udf that uses the subject, a credential mapping security domain, or credential pass-through to highlight other common scenarios.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2695) Unable to use CASE statement in Select
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2695?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2695.
-----------------------------------
Resolution: Rejected
Had to work through the nuances of hasRole and Teiid roles.
Possible related enhancements/changes:
- optionally (given that we've had the current behavior for years) throw an exception if the role name specified does not exist rather than returning false
- add a getRoles() function/procedure to show the user roles
- have some kind of a "dynamic" vdb like approach to Teiid roles such that we do some kind of import of role names from the source - of course with our current vdb.xml approach this doesn't really jive with adding permissions, it just makes you aware of the group names.
- a hasGroup function
> Unable to use CASE statement in Select
> --------------------------------------
>
> Key: TEIID-2695
> URL: https://issues.jboss.org/browse/TEIID-2695
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Attachments: portfolio-vdb.xml
>
>
> Trying to add a <mask> of:
> <permission>
> <resource-name>Stocks.StockPrices.Price</resource-name>
> <mask>CASE WHEN hasRole('prices') THEN Price END</mask>
> </permission>
> even tried using "= true" just to see
> but it it always returns null for Prices.
> To test it, I logged in as 'user' using CommandLog vdb and issued:
> Select VDB, CASE WHEN hasRole('prices') THEN 'Y' Else 'N' END as V from TEIID_COMMANDLOG
> and 'N' was always returned for column V.
> teiid roles file:
> # A roles.properties file for use with the UsersRolesLoginModule
> # username=role1,role2
> portfolio=superuser
> viewonly=readonly
> user=user,prices
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-2695) Unable to use CASE statement in Select
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2695?page=com.atlassian.jira.plugin... ]
Van Halbert commented on TEIID-2695:
------------------------------------
Thanks.
I was able to get the functional behavior to work by defining an empty roll. And then was able to use the mask:
<mask order="1">CASE WHEN hasRole('Prices') = true THEN Price END</mask>
or the hasRole('Prices') call wherever needed.
I would call this jira rejected.
i
> Unable to use CASE statement in Select
> --------------------------------------
>
> Key: TEIID-2695
> URL: https://issues.jboss.org/browse/TEIID-2695
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.4.1
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Attachments: portfolio-vdb.xml
>
>
> Trying to add a <mask> of:
> <permission>
> <resource-name>Stocks.StockPrices.Price</resource-name>
> <mask>CASE WHEN hasRole('prices') THEN Price END</mask>
> </permission>
> even tried using "= true" just to see
> but it it always returns null for Prices.
> To test it, I logged in as 'user' using CommandLog vdb and issued:
> Select VDB, CASE WHEN hasRole('prices') THEN 'Y' Else 'N' END as V from TEIID_COMMANDLOG
> and 'N' was always returned for column V.
> teiid roles file:
> # A roles.properties file for use with the UsersRolesLoginModule
> # username=role1,role2
> portfolio=superuser
> viewonly=readonly
> user=user,prices
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIID-1311) Consider developing a connector/translator to Cassandra/Thrift
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-1311?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-1311.
-----------------------------------
Resolution: Done
Marking the initial implementation as resolved. A release note, translator, and a data source documentation page were added. We'll likely take another pass at how we're handling the dependencies as we refine how packaging - hopefully reducing the number of places were dependency/version lists are stored. Also we'll take a look at consolidating jackson dependencies with the AS probably during productization.
Thanks again to Radek!
> Consider developing a connector/translator to Cassandra/Thrift
> --------------------------------------------------------------
>
> Key: TEIID-1311
> URL: https://issues.jboss.org/browse/TEIID-1311
> Project: Teiid
> Issue Type: Feature Request
> Components: Misc. Connectors
> Affects Versions: 7.1
> Environment: Any
> Reporter: Ken Johnson
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> Apache Cassandra is starting to see uptake beyond the big name social network players. Has any thought been given to offering connectivity to Cassandra through Teiid? Perhaps this is through consuming the Thrift file as metadata source.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months