Marliana Lara
d576e65858
Add constructed inventory add form
2023-03-28 11:20:24 -05:00
Marliana Lara
e3d167dfd1
Hide constructed and smart inventories in Inventory Lookup
2023-03-28 11:20:24 -05:00
Alex Corey
ba9533f0e2
Adds constructed inventory groups and related groups.
2023-03-28 11:20:24 -05:00
Alex Corey
e7a739c3d7
Creates constructed inventory host lists by reusing, and renaming smart inventory host list components.
2023-03-28 11:20:24 -05:00
Marliana Lara
ab3a9a0364
Update inventory details after inventory source sync
2023-03-28 11:20:24 -05:00
Marliana Lara
7dd1bc04c4
Add constructed inventory detail's sync button
2023-03-28 11:20:24 -05:00
Gabe Muniz
8c4e943af0
refactored to use is_valid_relation instead of post
2023-03-28 11:20:24 -05:00
Gabe Muniz
7112da9cdc
Various validations for const. inv. serialization
...
- prevent constructed inventory host,group,inventory_source creation
- disable deleting constructed inventory hosts
- remove the ability to add constructed inventory sources
- remove ability to add constructed inventories to constructed inventories
- block updates to constructed source type
- added tests for group/host/source creation
2023-03-28 11:20:24 -05:00
Marliana Lara
7a74437651
Add constructed inventory CRUD and subtab routes
...
* Add constructed inventory API model
* Add constructed inventory detail view
* Add util to switch inventory url based on "kind"
2023-03-28 11:20:24 -05:00
Hao Liu
e22967d28d
add constructed kind to inventory module
...
- add kind 'constructed' to inventory module
- add 'input_inventories' field to inventory module
Co-authored-by: Rick Elrod <rick@elrod.me>
Signed-off-by: Rick Elrod <rick@elrod.me>
2023-03-28 11:20:24 -05:00
Gabe Muniz
df6bb5a8b8
Refactor original hosts, add related field
...
Also rename source_inventories to input_inventories
2023-03-28 11:20:24 -05:00
Gabe Muniz
aa06940df5
force kind to readonly field and set kind to constructed in create
2023-03-28 11:20:24 -05:00
Alan Rominger
3e5467b472
[constructed-inventory] Add constructed inventory docs and do minor field updates ( #13487 )
...
* Add constructed inventory docs and do minor field updates
Add verbosity field to the constructed views
automatically set update_on_launch for the auto-created constructed inventory source
2023-03-28 11:20:24 -05:00
Alan Rominger
c2fe06dd95
[constructed-inventory] Use control plane EE for constructed inventory and hack temporary image ( #13474 )
...
* Use control plane EE for constructed inventory and hack temporary image
* Update page registry to work with new endpoints
2023-03-28 11:20:24 -05:00
Gabe Muniz
510f54b904
adding limit to inventory_source collection module
2023-03-28 11:20:24 -05:00
Alan Rominger
57e005b775
Start on new constructed inventory API view
...
Make the GET function work at most basic level
Basic functionality of updating working
Add functional test for the GET and PATCH views
Add constructed inventory list view for direct creation
Add limit field to constructed inventory serializer
2023-03-28 11:20:24 -05:00
Gabe Muniz
aad260bb41
edit new migration for deprecation of host_filter
2023-03-28 11:20:24 -05:00
Gabe Muniz
e3d39a2728
push limit to inventory sources
...
move limit field from InventorySourceSerializer to InventorySourceOptionsSerializer (#13464 )
InventorySourceOptionsSerializer is the parent for both InventorySourceSerializer and InventoryUpdateSerializer
The limit option need to be exposed to both inventory_source and inventory_update
Co-Authored-By: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
2023-03-28 11:17:17 -05:00
Alan Rominger
f59ced57bc
Model and task changes for constructed inventory
...
Add in required setting about empty groups
2023-03-28 11:17:17 -05:00
Hao Liu
7f085e159f
Merge pull request #13712 from ansible/feature_usage-collection
...
Allow soft deletion of HostMetrics and add usage collection utility
2023-03-28 12:16:02 -04:00
Klaas Demter
32a5186eea
Fixes #6556 Expose SOCIAL_AUTH_USERNAME_IS_FULL_EMAIL ( #13641 )
...
Signed-off-by: Klaas Demter <Klaas-@users.noreply.github.com>
2023-03-27 11:30:40 -03:00
Aparna Karve
c30c9cbdbe
Remove --until option
2023-03-23 14:13:16 -04:00
Martin Slemr
8ec6e556a1
HostMetricSummaryMonthly API commented out
2023-03-23 14:13:16 -04:00
Hao Liu
382f98ceed
Fixing migration files
2023-03-23 14:13:03 -04:00
Aparna Karve
fbd5d79428
Added internal batch processing for up to 10k rows
...
For --rows_per_file if > 10k, rows would be fetched in batches of 10k
2023-03-23 14:06:56 -04:00
Aparna Karve
878008a9c5
make rows_per_file optional parameter
...
Removed 2 sql statements that gave the info on row count
which warranted many other changes
2023-03-23 14:06:56 -04:00
Aparna Karve
132fe5e443
Remove pandas use csv. Also, remove anonymization
2023-03-23 14:06:56 -04:00
Aparna Karve
311cea5a4a
CLI for host usage collection
2023-03-23 14:06:56 -04:00
Zita Nemeckova
88bb6e5a6a
Fix test failure
2023-03-23 14:06:56 -04:00
Zita Nemeckova
c117ca66d5
Show HostMetrics only for specific subscription
...
SUBSCRIPTION_USAGE_MODEL: 'unique_managed_hosts'
Fixes https://issues.redhat.com/browse/AA-1613
2023-03-23 14:06:56 -04:00
Zita Nemeckova
c20e8eb712
Prettier
2023-03-23 14:06:56 -04:00
Zita Nemeckova
5be90fd36b
Do not show deleted host metrics
2023-03-23 14:06:56 -04:00
Zita Nemeckova
32a56311e6
Fix linting issues
2023-03-23 14:06:56 -04:00
Zita Nemeckova
610f75fcb1
Update routeConfig test to be according to RBAC
2023-03-23 14:06:56 -04:00
Zita Nemeckova
179868dff2
Add possibility to select and delete HostMetrics
2023-03-23 14:06:56 -04:00
Zita Nemeckova
9f3c4f6240
RBAC: only superuse and auditor can see HostMetrics
2023-03-23 14:06:56 -04:00
Zita Nemeckova
d40fdd77ad
Fix filter to take only hostname__icontains and disable advance search
2023-03-23 14:06:56 -04:00
Zita Nemeckova
9135ff2f77
Add HostMetrics routes to the test
2023-03-23 14:06:56 -04:00
Zita Nemeckova
8d46d32944
UI
2023-03-23 14:06:56 -04:00
Martin Slemr
ae0c1730bb
Subscription_usage_model in analytics/config.json
2023-03-23 14:06:55 -04:00
Martin Slemr
9badbf0b4e
Compliance computation settings
2023-03-23 14:06:55 -04:00
Martin Slemr
7285d82f00
HostMetric migration
2023-03-23 14:06:55 -04:00
Alan Rominger
e38f87eb1d
Remove custom API filters and suggest solution via templates
2023-03-23 14:06:55 -04:00
Martin Slemr
e6050804f9
HostMetric review,migration,permissions
2023-03-23 14:06:55 -04:00
Martin Slemr
f919178734
HostMetricSummaryMonthly API and Migrations
2023-03-23 14:06:55 -04:00
Martin Slemr
05f918e666
HostMetric compliance computation
2023-03-23 14:06:55 -04:00
Martin Slemr
b18ad77035
Host Metrics update/soft delete
2023-03-23 14:06:55 -04:00
Martin Slemr
d80759cd7a
HostMetrics migration
2023-03-23 14:06:55 -04:00
Martin Slemr
ef4e77d78f
Host Metrics List API
2023-03-23 14:06:55 -04:00
Shane McDonald
bf98f62654
Merge pull request #13705 from jainnikhil30/dont_use_githubusercontent
...
Don't use githubusercontent for containers.conf and podman-contianers.conf
2023-03-23 11:58:58 -04:00