>From Ritik Raj <[email protected]>:

Ritik Raj has uploaded this change for review. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb-clients/+/21338?usp=email )


Change subject: [TACO] Add oauth-config placeholder to the connector manifest 
template
......................................................................

[TACO] Add oauth-config placeholder to the connector manifest template

Add a ${taco.plugin.oauth.config} placeholder before </connector-plugin> in
the generated connector manifest, with an empty default property, mirroring the
existing ${taco.plugin.auth.other} / ${taco.plugin.fields.custom} extension
points. This lets a consuming connector emit a <oauth-config .../> element
(enabling Tableau OAuth) via standard property filtering, instead of
post-processing the generated manifest. Connectors that do not set the property
render nothing there, so the change is backward compatible.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Change-Id: I5d8d490aa9faa78da4c3de8f30b365befb72d0c0
---
M asterixdb-jdbc/asterix-jdbc-taco/pom.xml
M 
asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/manifest.xml
2 files changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb-clients 
refs/changes/38/21338/1

diff --git a/asterixdb-jdbc/asterix-jdbc-taco/pom.xml 
b/asterixdb-jdbc/asterix-jdbc-taco/pom.xml
index 1c4e4ee..5d21e89 100644
--- a/asterixdb-jdbc/asterix-jdbc-taco/pom.xml
+++ b/asterixdb-jdbc/asterix-jdbc-taco/pom.xml
@@ -58,6 +58,8 @@
     <taco.plugin.fields.custom/>
     <taco.plugin.norm.attributes.custom/>
     <taco.plugin.jdbc.properties.custom/>
+    <!-- Optional <oauth-config .../> element; empty unless the consumer 
enables OAuth. -->
+    <taco.plugin.oauth.config/>

     
<taco.sourceDirectory>${project.basedir}/src/main/taco</taco.sourceDirectory>

diff --git 
a/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/manifest.xml
 
b/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/manifest.xml
index 48350d5..0759324 100644
--- 
a/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/manifest.xml
+++ 
b/asterixdb-jdbc/asterix-jdbc-taco/src/main/taco/plugins/asterixdb_jdbc/manifest.xml
@@ -87,4 +87,5 @@
   <connection-metadata file='connection-metadata.xml'/>
   <connection-resolver file="connectionResolver.tdr"/>
   <dialect file='dialect.tdd'/>
+  ${taco.plugin.oauth.config}
 </connector-plugin>

--
To view, visit 
https://asterix-gerrit.ics.uci.edu/c/asterixdb-clients/+/21338?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: asterixdb-clients
Gerrit-Branch: master
Gerrit-Change-Id: I5d8d490aa9faa78da4c3de8f30b365befb72d0c0
Gerrit-Change-Number: 21338
Gerrit-PatchSet: 1
Gerrit-Owner: Ritik Raj <[email protected]>

Reply via email to