mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 05:59:28 -02:30
Merge pull request #6041 from chrismeyersfsu/feature-jsonsearch
remove facts_latest in favor of ansible_facts
This commit is contained in:
@@ -1725,6 +1725,13 @@ class HostDetail(RetrieveUpdateDestroyAPIView):
|
||||
serializer_class = HostSerializer
|
||||
|
||||
|
||||
class HostAnsibleFactsDetail(RetrieveAPIView):
|
||||
|
||||
model = Host
|
||||
serializer_class = AnsibleFactsSerializer
|
||||
new_in_320 = True
|
||||
|
||||
|
||||
class InventoryHostsList(SubListCreateAttachDetachAPIView):
|
||||
|
||||
model = Host
|
||||
@@ -1842,15 +1849,6 @@ class HostFactCompareView(SystemTrackingEnforcementMixin, SubDetailAPIView):
|
||||
return Response(self.serializer_class(instance=fact_entry).data)
|
||||
|
||||
|
||||
class HostFactsLatestList(SubListAPIView):
|
||||
|
||||
model = FactLatest
|
||||
parent_model = Host
|
||||
relationship = 'facts_latest'
|
||||
serializer_class = FactSerializer
|
||||
new_in_320 = True
|
||||
|
||||
|
||||
class GroupList(ListCreateAPIView):
|
||||
|
||||
model = Group
|
||||
|
||||
Reference in New Issue
Block a user