You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Mike Thomsen <mi...@gmail.com> on 2020/07/06 13:12:57 UTC
Informing users fields are deprecated
Do we have any visual cues that inform users that a field has been marked
@Deprecated?
Thanks,
Mike
Re: Informing users fields are deprecated
Posted by Mike Thomsen <mi...@gmail.com>.
That'll have to do for now. We have a PR from someone that was aiming to
refactor a little bit of the Mongo security, and it reminded me that we
need to start down the path of deprecating those old fields in favor of
moving to the client service configuring all of the processors to better
align with our best practices.
On Mon, Jul 6, 2020 at 9:28 AM Bryan Bende <bb...@gmail.com> wrote:
> Do you mean a property on a processor/controller service?
>
> If so, there is no visual indicator that I'm aware of, it would require
> adding something to the PropertyDescriptor API like ".deprecated()".
>
> Right now you can probably just make a statement in the description
> explaining that it is deprecated and what should be used instead.
>
>
> On Mon, Jul 6, 2020 at 9:13 AM Mike Thomsen <mi...@gmail.com>
> wrote:
>
> > Do we have any visual cues that inform users that a field has been marked
> > @Deprecated?
> >
> > Thanks,
> >
> > Mike
> >
>
Re: Informing users fields are deprecated
Posted by Otto Fowler <ot...@gmail.com>.
There are jira issues out there like :
https://issues.apache.org/jira/browse/NIFI-6043
On July 6, 2020 at 09:28:35, Bryan Bende (bbende@gmail.com) wrote:
Do you mean a property on a processor/controller service?
If so, there is no visual indicator that I'm aware of, it would require
adding something to the PropertyDescriptor API like ".deprecated()".
Right now you can probably just make a statement in the description
explaining that it is deprecated and what should be used instead.
On Mon, Jul 6, 2020 at 9:13 AM Mike Thomsen <mi...@gmail.com> wrote:
> Do we have any visual cues that inform users that a field has been marked
> @Deprecated?
>
> Thanks,
>
> Mike
>
Re: Informing users fields are deprecated
Posted by Bryan Bende <bb...@gmail.com>.
Do you mean a property on a processor/controller service?
If so, there is no visual indicator that I'm aware of, it would require
adding something to the PropertyDescriptor API like ".deprecated()".
Right now you can probably just make a statement in the description
explaining that it is deprecated and what should be used instead.
On Mon, Jul 6, 2020 at 9:13 AM Mike Thomsen <mi...@gmail.com> wrote:
> Do we have any visual cues that inform users that a field has been marked
> @Deprecated?
>
> Thanks,
>
> Mike
>