Skip to content

Conversation

@seth-shaw-asu
Copy link
Member

@seth-shaw-asu seth-shaw-asu commented Nov 13, 2025

GitHub Issue: Event RFD (0000)

What does this Pull Request do?

Add the complete event JSON as an X-Islandora-Event HTTP header when calling microservices

  • Serialize the full event payload to JSON
  • Base64 encode if needed to handle special characters
  • Include as additional header alongside existing parameters

How should this be tested?

🤷‍♂️ - throwing this up here for now; but I'm guessing we need to

  1. Deploy it
  2. Create a microservice that will read out the new header and dump it so we can see that it came through
  3. Add an event to the queue for the new service so Alpaca picks it up and shuttles the event along.

The resulting alpaca build is too big for GitHub to permit me to attach it here. So, to build it yourself only using docker (no Java or Gradle required): docker run --rm -v "$(pwd):/app" -w /app eclipse-temurin:11 ./gradlew --stacktrace clean build shadowJar --no-daemon.

The resulting Jar file you need will be @ islandora-alpaca-app/build/libs/islandora-alpaca-*-all.jar

Interested parties

@Islandora/committers, esp @joecorall

@joecorall
Copy link
Member

relates to Islandora-Labs/rfds#1

@whikloj
Copy link
Member

whikloj commented Nov 21, 2025

Wondering if it might be easier to add the X-Islandora-Event header in Drupal and just have Alpaca pass it along? Especially if you are planning to stop using Alpaca anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants