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

[dev.icinga.com #12024] Change Ido*Connection 'categories' attribute to an array #4314

Closed
icinga-migration opened this issue Jun 22, 2016 · 4 comments
Labels
area/db-ido Database output enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12024

Created by mfriedrich on 2016-06-22 14:42:56 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2016-06-23 14:05:04 +00:00)
Target Version: 2.5.0
Last Update: 2016-06-23 14:05:04 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

This follows #11445 and allows us to pass the array values as strings via the API.

The old way of setting the categories attribute is still supported, but deprecated in 2.5.0. Will be removed in future versions.

Changesets

2016-06-22 14:43:22 +00:00 by mfriedrich 7e3c9b2

Change DB IDO 'categories' attribute to Array notation

Example:
    categories = [ "DbCatProgramStatus", "DbCatState" ]

The old method with constants and OR is still supported but deprecated.

refs #11445
refs #12024

2016-06-23 12:55:01 +00:00 by mfriedrich 091274e

Change DB IDO 'categories' attribute to Array notation

Example:
    categories = [ "DbCatProgramStatus", "DbCatState" ]

The old method with constants and OR is still supported but deprecated.

refs #11445
fixes #12024

2016-07-07 13:44:31 +00:00 by mfriedrich 72facb1

DB IDO: Log a deprecation warning for categories

refs #12024

Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-22 14:43:03 +00:00

  • Relates set to 11445

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-23 12:09:50 +00:00

Btw - DbCatEverything never worked. Just tested this against the master branch, nothing gets inserted. The code inside the fixed branch takes care of that already, tested that yesterday.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-23 14:05:04 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 091274e.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-07-27 07:20:10 +00:00

  • Relates set to 12240

@icinga-migration icinga-migration added enhancement New feature or request area/db-ido Database output labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.5.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/db-ido Database output enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant