[ 
https://issues.apache.org/jira/browse/TIKA-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048179#comment-18048179
 ] 

Nicholas DiPiazza commented on TIKA-4604:
-----------------------------------------

Fixed forbidden API violation:

h3. Issue:
The forbiddenapis check was failing due to use of {{String.toUpperCase()}} 
without specifying a locale.

h3. Fix:
* Changed {{httpMethod.toUpperCase()}} to 
{{httpMethod.toUpperCase(Locale.ROOT)}}
* Added {{java.util.Locale}} import to AtlassianJwtGenerator

h3. Status:
✅ Build now passes all checks including forbiddenapis
✅ {{mvn clean install -DskipTests}} succeeds

Commit: https://github.com/apache/tika/commit/8bd10d90a

> Add Atlassian fetcher plugin with JWT authentication
> ----------------------------------------------------
>
>                 Key: TIKA-4604
>                 URL: https://issues.apache.org/jira/browse/TIKA-4604
>             Project: Tika
>          Issue Type: New Feature
>            Reporter: Nicholas DiPiazza
>            Assignee: Nicholas DiPiazza
>            Priority: Major
>
> h2. Overview
> Port the Atlassian fetcher from the external tika-pipes repository as a new 
> Tika plugin. This fetcher enables fetching content from Atlassian products 
> (Confluence, Jira) using JWT authentication.
> h2. Implementation Details
> * Port code from: 
> https://github.com/nddipiazza/tika-pipes/tree/main/tika-pipes-fetchers/tika-fetcher-atlassian-jwt
> * Create new plugin module: 
> *tika-pipes/tika-pipes-plugins/tika-fetcher-atlassian-jwt*
> * Implement as a standard Tika pipes plugin (following plugin architecture)
> * Support JWT authentication for Atlassian products
> * Include appropriate dependencies and configuration
> h2. Features
> * Fetch content from Confluence spaces and pages
> * Fetch content from Jira issues and projects
> * JWT token-based authentication
> * Configurable endpoint URLs
> * Error handling and retry logic
> h2. Acceptance Criteria
> * Atlassian fetcher integrated as a Tika plugin
> * Plugin follows standard Tika plugin architecture
> * Unit tests added for fetcher functionality
> * Documentation updated with usage examples
> * All existing tests pass
> * Plugin can be loaded dynamically by tika-grpc
> h2. Reference
> * External implementation: 
> https://github.com/nddipiazza/tika-pipes/tree/main/tika-pipes-fetchers/tika-fetcher-atlassian-jwt
> * Fetchers README: 
> https://github.com/nddipiazza/tika-pipes/blob/main/tika-pipes-fetchers/README.md



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to