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

[WIP] Migrate JT project.organization to direct org field #4338

Closed
wants to merge 48 commits into from

Conversation

AlanCoding
Copy link
Member

SUMMARY

Connect #3903

Also addresses #4008

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • API
AWX VERSION
6.0.0

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@AlanCoding AlanCoding force-pushed the jt_org branch 2 times, most recently from 4331dd3 to 4dc7502 Compare July 17, 2019 18:33
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@AlanCoding
Copy link
Member Author

To update status:

I'm fairly confident with this in its current form, but the idea was floated to move this field to the UnifiedJob and UnifiedJobTemplate models instead. This wouldn't affect anything at the API interaction layer, unless we populated the field for other types like project update or inventory updates to be comprehensive. Then we could add the field on those models as well.

null=True,
on_delete=models.SET_NULL,
related_name='%(class)ss',
)
Copy link
Member Author

Choose a reason for hiding this comment

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

Discussed with @chrismeyersfsu, considering making this a field on the UnifiedJob and UnifiedJobTemplate models instead. That will involve more migration work, but will be much more performant.

@AlanCoding AlanCoding changed the title Migrate JT project.organization to direct org field [WIP] Migrate JT project.organization to direct org field Jul 24, 2019
@AlanCoding
Copy link
Member Author

Marking as WIP until I can come back to that point.

@AlanCoding AlanCoding force-pushed the jt_org branch 2 times, most recently from fcd206d to 28ec83d Compare August 7, 2019 15:42
@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@AlanCoding
Copy link
Member Author

The form of this has changed so much that I will open up a new PR after the details have been nailed down - with the primary difference being that this would not become a user-editable field.

@AlanCoding AlanCoding closed this Aug 19, 2019
ryanpetrello pushed a commit to ryanpetrello/awx that referenced this pull request Aug 5, 2020
[3.7.1] Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants