Project

Profile

Help

Task #3434

Expose "pulpcore.app.fields.JSONField" to plugins

Added by dalley about 2 years ago. Updated 5 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Easy Fix
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 34

Description

https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/fields.py#L10

JSONField is a custom field type we created so that we could nicely store JSON across different databases (since Django's JSONField is Postgres-specific). It is backed by models.TextField but with some serialization/deserialization added.

It would be useful to many plugins including the Python plugin, specifically. We should expose it as part of the plugin API.

Associated revisions

Revision e188f224 View on GitHub
Added by dalley about 2 years ago

Expose pulpcore.app.fields.JSONField to plugins

closes #3434 https://pulp.plan.io/issues/3434

Revision e188f224 View on GitHub
Added by dalley about 2 years ago

Expose pulpcore.app.fields.JSONField to plugins

closes #3434 https://pulp.plan.io/issues/3434

History

#1 Updated by bizhang about 2 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#2 Updated by dalley about 2 years ago

  • Tags Easy Fix added

#3 Updated by dalley about 2 years ago

  • Description updated (diff)

#4 Updated by dalley about 2 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

#5 Updated by dalley about 2 years ago

  • Assignee set to dalley
  • Sprint set to Sprint 34

#6 Updated by daviddavis about 1 year ago

  • Sprint/Milestone set to 3.0.0

#7 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

#8 Updated by bmbouter 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF