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

ncm-directoryservices ncm-fmonagent ncm-mcx: Deprecate with warnings #1051

Merged
merged 3 commits into from Mar 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -24,5 +24,7 @@ type component_directoryservices = {
"ldapv3" ? directoryservices_ldap_entry{}
};

bind "/software/components/directoryservices" = component_directoryservices;

bind "/software/components/directoryservices" = component_directoryservices with {
Copy link
Member

Choose a reason for hiding this comment

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

any reason why this is done at the bind, not at the type itself? (not that i care 😄 )

Copy link
Member Author

Choose a reason for hiding this comment

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

It just feels more appropriate at the point it is actually used.

deprecated(1, 'The directoryservices component is deprecated and will be removed in a future release.');
true;
};
5 changes: 4 additions & 1 deletion ncm-fmonagent/src/main/pan/components/fmonagent/schema.pan
Expand Up @@ -15,4 +15,7 @@ type component_fmonagent = {
"no_contact_timeout" : long = 120
};

bind "/software/components/fmonagent" = component_fmonagent;
bind "/software/components/fmonagent" = component_fmonagent with {
deprecated(1, 'The fmonagent component is deprecated and will be removed in a future release.');
true;
};
6 changes: 4 additions & 2 deletions ncm-mcx/src/main/pan/components/mcx/schema.pan
Expand Up @@ -41,5 +41,7 @@ type component_mcx = {
"computer" ? mcx_computer
};

bind "/software/components/mcx" = component_mcx;

bind "/software/components/mcx" = component_mcx with {
deprecated(1, 'The mcx component is deprecated and will be removed in a future release.');
true;
};