[JBoss JIRA] (TEIID-3642) RhinoScriptEngineFactory be removed in Java 8
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-3642?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on TEIID-3642:
------------------------------------------------
Anne-Louise Tangring <atangrin(a)redhat.com> changed the Status of [bug 1254399|https://bugzilla.redhat.com/show_bug.cgi?id=1254399] from MODIFIED to CLOSED
> RhinoScriptEngineFactory be removed in Java 8
> ----------------------------------------------
>
> Key: TEIID-3642
> URL: https://issues.jboss.org/browse/TEIID-3642
> Project: Teiid
> Issue Type: Quality Risk
> Components: OData
> Affects Versions: 8.7.1.6_2, 8.12
> Environment: * DV 6.2.0.ER4
> * Java 1.8.0_25
> Reporter: Kylin Soong
> Assignee: Steven Hawkins
>
> RhinoScriptEngineFactory be removed in Java 8, this cause OData war deploy output Error:
> {code}
> 09:30:51,315 WARN [org.jboss.as.dependency.unsupported] (MSC service thread 1-6) JBAS015868: Deployment "deployment.teiid-odata-8.7.1.6_2-redhat-2.war" is using an unsupported module ("org.joda.time:main") which may be changed or removed in future versions without notice.
> 09:30:51,424 ERROR [stderr] (MSC service thread 1-6) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
> 09:30:51,429 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
> 09:30:51,505 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
> 09:30:51,513 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
> 09:30:51,583 ERROR [stderr] (MSC service thread 1-1) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.sun.script.javascript.RhinoScriptEngineFactory not found
> {code}
> *OData war* depend on *org.joda.time*, *org.joda.time* depend on *RhinoScriptEngineFactory*, due to RhinoScriptEngineFactory be removed in Java 8, so stderr output in console.
> h3. how to reproduce
> Start DV 6.2 with Java 8.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (TEIID-3787) ignored properties in dynamic vdb should be flagged with a WARN log entry
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3787?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-3787:
---------------------------------------
UseConnectorMetadata is deprecated regardless - TEIID-2445. Also since these properties are generally available at runtime from the metadata object and for use by designer, it's not really up to us what should be considered valid. We could have a detail logging that some properties are not used or have a detail logging of when a property is used, but a warning is not appropriate.
> ignored properties in dynamic vdb should be flagged with a WARN log entry
> -------------------------------------------------------------------------
>
> Key: TEIID-3787
> URL: https://issues.jboss.org/browse/TEIID-3787
> Project: Teiid
> Issue Type: Feature Request
> Affects Versions: 8.7.1.6_2
> Reporter: Johnathon Lee
> Assignee: Steven Hawkins
>
> Invalid properties are silently ignored, this can be troublesome to diagnose when there is a case mismatch, etc. useConnectorMetadata vs. UseConnectorMetadata
> {code:java}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <vdb name="test" version="1">
> <property name="useConnectorMetadata" value="true"/>
> <property name="BREAK ME" value="true"/>
>
> <model name="EMPTY">
>
> </model>
> </vdb>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (TEIID-3763) WS connector oauth security setting not work in Embedded
by Kylin Soong (JIRA)
[ https://issues.jboss.org/browse/TEIID-3763?page=com.atlassian.jira.plugin... ]
Kylin Soong resolved TEIID-3763.
--------------------------------
Resolution: Done
> WS connector oauth security setting not work in Embedded
> --------------------------------------------------------
>
> Key: TEIID-3763
> URL: https://issues.jboss.org/browse/TEIID-3763
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.12
> Reporter: Kylin Soong
> Assignee: Kylin Soong
> Fix For: 8.12.x
>
> Attachments: jca-ra-outbound.png
>
>
> In WSConnectionImpl setDispatchProperties setting depend on Security Subject:
> {code}
> else if (this.mcf.getAsSecurityType() == WSManagedConnectionFactory.SecurityType.OAuth) {
> Subject subject = ConnectionContext.getSubject();
> if (subject != null) {
> }
> ...
> }
> {code}
> Note if run WS connector with security in Embedded, ConnectionContext.getSubject() return null, the cause exception throw.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (TEIID-3763) WS connector oauth security setting not work in Embedded
by Kylin Soong (JIRA)
[ https://issues.jboss.org/browse/TEIID-3763?page=com.atlassian.jira.plugin... ]
Kylin Soong reassigned TEIID-3763:
----------------------------------
Assignee: Kylin Soong
> WS connector oauth security setting not work in Embedded
> --------------------------------------------------------
>
> Key: TEIID-3763
> URL: https://issues.jboss.org/browse/TEIID-3763
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.12
> Reporter: Kylin Soong
> Assignee: Kylin Soong
> Fix For: 8.12.x
>
> Attachments: jca-ra-outbound.png
>
>
> In WSConnectionImpl setDispatchProperties setting depend on Security Subject:
> {code}
> else if (this.mcf.getAsSecurityType() == WSManagedConnectionFactory.SecurityType.OAuth) {
> Subject subject = ConnectionContext.getSubject();
> if (subject != null) {
> }
> ...
> }
> {code}
> Note if run WS connector with security in Embedded, ConnectionContext.getSubject() return null, the cause exception throw.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (TEIID-3787) ignored properties in dynamic vdb should be flagged with a WARN log entry
by Johnathon Lee (JIRA)
Johnathon Lee created TEIID-3787:
------------------------------------
Summary: ignored properties in dynamic vdb should be flagged with a WARN log entry
Key: TEIID-3787
URL: https://issues.jboss.org/browse/TEIID-3787
Project: Teiid
Issue Type: Feature Request
Affects Versions: 8.7.1.6_2
Reporter: Johnathon Lee
Assignee: Steven Hawkins
Invalid properties are silently ignored, this can be troublesome to diagnose when there is a case mismatch, etc. useConnectorMetadata vs. UseConnectorMetadata
{code:java}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vdb name="test" version="1">
<property name="useConnectorMetadata" value="true"/>
<property name="BREAK ME" value="true"/>
<model name="EMPTY">
</model>
</vdb>
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (TEIID-3671) filter on child table not working
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-3671?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on TEIID-3671:
------------------------------------------------
jolee(a)redhat.com changed the Status of [bug 1259736|https://bugzilla.redhat.com/show_bug.cgi?id=1259736] from ASSIGNED to MODIFIED
> filter on child table not working
> ---------------------------------
>
> Key: TEIID-3671
> URL: https://issues.jboss.org/browse/TEIID-3671
> Project: Teiid
> Issue Type: Bug
> Components: OData
> Reporter: Prashanthi Kairuppala
> Assignee: Johnathon Lee
> Priority: Critical
> Fix For: 8.12, 8.11.4, 8.7.5
>
> Attachments: parent_childTables.PNG
>
>
>
> Please find the screenshot attached which has id as a foreign key. when i give the url - //localhost:8080/odata/testVDB/sales('13')/sales_uk?$format=json, i get the results from sales_uk table which are having id=13.
>
> Now i am trying to apply a filter on this url, i am supposed to get results which are having id=13 and satisfy the filter condition, but this url blindly returns me data from sales_uk table which satisfy the filter condition. URL- //localhost:8080/odata/testVDB/sales('13')/sales_uk?$format=json&$filter=DISCOUNT eq '22'
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months