Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runtime warnings for the deprecated extensions used in Siddhi Apps #1734

Merged
merged 4 commits into from
Aug 30, 2021

Conversation

grainier
Copy link
Contributor

@grainier grainier commented Jul 9, 2021

Purpose

$title. Currently deprecated = true is only used with doc gen. With this PR it will also give a runtime warning for such extensions.

Samples

@Extension(
        name = "xxxxx",
        deprecated = true,
        namespace = "xxxxx",
        description = "xxxxx",
        examples = {
                @Example(
                        xxxxx
                )
        }
)

Goals

n/a

Approach

n/a

Release note

  • deprecated extensions will give a warning at the runtime.

Documentation

n/a

Automation tests

  • Unit tests added

Security checks

Related PRs

n/a

Test environment

n/a

@AnuGayan AnuGayan merged commit d39606e into siddhi-io:master Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants