Project

General

Profile

Refactor #5575

Rename Katello model KTEnvironment to LifecycleEnvironment

Added by Partha Aji about 5 years ago. Updated 11 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Database
Target version:
Branch:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

To prevent conflicts with foreman's environment, the environment related routes in Katello are going to get renamed to lifecycleEnvironment. This has already happened on UI . However the model in katello is still inconsistently named KTEnvironment as opposed LifecycleEnvironment. At some point in the near future we are going to have to do this rename.

Also foreman's permission system uses the name of a model to translate to appropriate routing path. If the model is KTEnvironment it expects that this model will govern kt_environment* paths. With the kt_environment* paths now called lifecycle_environment paths we are going to run into issues (hopefully foreman will fix this ,,,)

So this rename needs to happen.

History

#1 Updated by Eric Helms about 5 years ago

  • Tracker changed from Bug to Refactor
  • Subject changed from KTEnvironment -> LifecycleEnvironment to Rename Katello model KTEnvironment to LifecycleEnvironment
  • Category set to Database
  • Difficulty set to medium

#2 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 49
  • Pull request https://github.com/Katello/katello/pull/4048 added

#3 Updated by Eric Helms almost 5 years ago

  • Status changed from Ready For Testing to Assigned
  • Target version deleted (49)
  • Triaged changed from No to Yes
  • Pull request added
  • Pull request deleted (https://github.com/Katello/katello/pull/4048)

#4 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

#5 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 114

Also available in: Atom PDF