Skip to content

Make function supports to use package command - #8973

Merged
codelipenghui merged 3 commits into
apache:masterfrom
zymap:package-management-function-runtime
Dec 30, 2020
Merged

codelipenghui merged 3 commits into
apache:masterfrom
zymap:package-management-function-runtime

Conversation

@zymap

@zymap zymap commented Dec 16, 2020 •

Copy link
Copy Markdown
Member

Master Issue: #8676

Motivation

We have a new package management service which can manage all
the packages. We can use that in the Pulsar Function will make the
function packages are easier to manage.
I reuse the 'packageUrl' for downloading the package from the packages
management service. So user can use the package name as the 'packageUrl'
to download it.

Modifications

  • Support new package type URL for creating and updating functions
  • Support to use package download command for Kubernetes runtime
  • Add tests for the changes

---

Master Issue: apache#8676

*Motivation*

We have a new package management service which can manage all
the packages. We can use that in the Pulsar Function which will
make the function packages are easier to manage.

*Modifications*

- Support new package type url
@zymap zymap changed the title [WIP] Make function supports to use package command Make function supports to use package command Dec 17, 2020
@zymap zymap mentioned this pull request Dec 17, 2020
8 tasks done
@zymap

zymap commented Dec 21, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

5 similar comments
@zymap

zymap commented Dec 21, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@zymap

zymap commented Dec 21, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@zymap

zymap commented Dec 23, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@zymap

zymap commented Dec 23, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@zymap

zymap commented Dec 23, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

}
}

return Arrays.asList(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need authentication and authorization plugin for downloading the packages?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. We need. Already add auth plugin at line 879.

@zymap

zymap commented Dec 29, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

1 similar comment
@zymap

zymap commented Dec 29, 2020

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.8.0 milestone Dec 30, 2020
@codelipenghui
codelipenghui merged commit 7b60d29 into apache:master Dec 30, 2020
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.

3 participants