apache / apache/beam

Embed example/test data within jars instead of using world readable Google Cloud Storage paths

Open
#18,221 0 comments 0 reactions 0 assignees View on GitHub
examples improvement java P3 tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

The idea is to add a filesystem which looks up paths using Java's classloader resource system. This filesystem would be integrated as a default handler for "jar://" paths.

This will help make examples runner independent and also allows for tests to embed read only data files within jars making both examples and tests easier to run.

Imported from Jira [BEAM-2034](https://issues.apache.org/jira/browse/BEAM-2034). Original Jira may contain additional context.
Reported by: lcwik.

Contributor guide

Open the contributing guide

Research direction

The issue names Java's classloader resource system and a default filesystem handler for jar:// paths, but no files or tests. Start by locating the existing filesystem handler registration; done means embedded read-only example and test data can be resolved from jars without world-readable Google Cloud Storage paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.