GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [fix][fn] enable Go function token auth by flowchartsman · Pull Request #6 · flowchartsman/pulsar

Conversation

@flowchartsman

@flowchartsman flowchartsman commented Jun 1, 2023

Copy link
Copy Markdown
Owner

Fixes apache#20451

Motivation

Go functions die when auth is turned on. I would like them to not die.

Modifications

Added transport of auth plugin and auth plugin params to go instance config.
Added parsing of these values into the pf sdk

Verifying this change

  • Make sure that the change passes the CI checks.
  • Cannot integration test functions with auth

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

No doc change needed, because the docs don't mention the exception, so now the intuitive assumption holds.

Matching PR in forked repository

PR in forked repository: #6

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
flowchartsman and others added 4 commits May 31, 2023 15:01
@flowchartsman
Rest idle timer and drain if appt during main loop
f797ba3
Fix apache#20449
@flowchartsman
WIP - Go Function auth support
6a58fb9
This is the intial checkin of the work on apache#20451, currently
supporting org.apache.pulsar.client.impl.auth/AuthenticationToken only.
@flowchartsman
Add support for plaintext token
c488806
@flowchartsman
Merge branch 'apache:master' into go_functions_get_authspec
e788a49
@flowchartsman flowchartsman mentioned this pull request Jun 1, 2023
[fix][fn] enable Go function token auth and TLS apache/pulsar#20468
Merged
2 of 16 tasks
flowchartsman added 7 commits June 1, 2023 17:10
@flowchartsman
gofmt
43826c5
@flowchartsman
rm empty lines
b5bda83
@flowchartsman
Add TLS support for Go Functions
4a3aed9
@flowchartsman
Chore: small tweak
c27d3ca
@flowchartsman
add unit test for authconfig
9eb0690
@flowchartsman
remove deprecated useTls
684a266
@flowchartsman
tlsCertsPath -> tlsTrustCertsPath
9537ccb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug][fn] Go functions runtime does not support any sort of auth.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@flowchartsman
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.