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 #5857] Rename short_name, host, service #1360

Closed
icinga-migration opened this issue Mar 25, 2014 · 4 comments
Closed

[dev.icinga.com #5857] Rename short_name, host, service #1360

icinga-migration opened this issue Mar 25, 2014 · 4 comments

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Mar 25, 2014

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

Created by tgelf on 2014-03-25 16:43:45 +00:00

Assignee: (none)
Status: Resolved (closed on 2014-04-05 07:58:04 +00:00)
Target Version: 0.0.10
Last Update: 2014-04-05 07:58:04 +00:00 (in Redmine)


In legacy configs and frontends people mostly used alias, display_name was rarely used and sometimes broken. In Icinga 2 we opted for display_name. As this is cumbersome to type I'd suggest to use alias everywhere and optionally drop or fade out display_name support.

object Host "localhost" {
  display_name = "Local host"
}

VS

object Host "localhost" {
  alias = "Local host"
}

Same goes for short_name VS name. I'd opt for name instead of short_name.

Cheers,
Thomas

Changesets

2014-04-05 07:15:40 +00:00 by (unknown) c42a582

Rename "short_name", "host" and "sevice" attributes.

Fixes #5857

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Mar 30, 2014

Updated by mfriedrich on 2014-03-30 17:03:49 +00:00

  • Target Version set to 0.0.10
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 1, 2014

Updated by mfriedrich on 2014-04-01 15:20:16 +00:00

  • Category set to Configuration
  • Priority changed from Normal to High
  • rename 'name' into '__name' (internal)
  • rename 'short_name' into 'name'
  • rename 'host' into 'host_name'
  • rename 'service' into 'service_name'
  • keep display_name
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 2, 2014

Updated by mfriedrich on 2014-04-02 15:28:41 +00:00

  • Tracker changed from Bug to Feature
  • Subject changed from Evaluate alias VS display_name, name VS short_name to Rename short_name, host, service
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 5, 2014

Updated by Anonymous on 2014-04-05 07:58:04 +00:00

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

Applied in changeset c42a582.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.