Skip to content

✨ Ioc list view ✨ #1714

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

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
32b7eb2
Add necessary schema changes to support subtype for IOC machine element.
iTerminate Jun 10, 2025
90a5f18
Expose lazy data model attribute of the controller.
iTerminate Jun 10, 2025
211475f
Add IOC entity type constant.
iTerminate Jun 10, 2025
867e5ec
remove unused import
iTerminate Jun 10, 2025
ef5a8d6
Add a query builder for ioc type items.
iTerminate Jun 10, 2025
e997fc1
add ability to fetch ioc items from facade.
iTerminate Jun 10, 2025
3b98846
Add ioc type items controllers and settings.
iTerminate Jun 10, 2025
483b6a8
Provide a correct controller utility for ioc items.
iTerminate Jun 10, 2025
ad69020
Add new API for IOC items. Ability to convert a md to IOC type item.
iTerminate Jun 10, 2025
f30f5c4
Add default item views for IOCs.
iTerminate Jun 10, 2025
6fa22a7
Add ioc icon in the machine design hierarchy.
iTerminate Jun 17, 2025
9c9b15c
format
iTerminate Jun 17, 2025
a6a155f
Hide deleted items on ioc page.
iTerminate Jun 17, 2025
19f2e5a
Resolve higlighting.
iTerminate Jun 17, 2025
25ba280
Add appropriate entity type display name.
iTerminate Jun 17, 2025
41a0ddf
Resolve create page for IOCs. Assign correct entity type. Hide export…
iTerminate Jun 17, 2025
918dfba
Ensure correct redirect on view page.
iTerminate Jun 19, 2025
7c713df
The standard create form should not perform any action on "enter" key…
iTerminate Jun 19, 2025
8b1c4ca
Allow setting of parent machine element for when creating a machine e…
iTerminate Jun 19, 2025
1f8d139
Add functionality to specify a machine parent for a new IOC.
iTerminate Jun 19, 2025
3947ea7
Add views to allow setting machine parent.
iTerminate Jun 19, 2025
930c781
Standardize the settings to allow using the base item settings if neeed.
iTerminate Jun 20, 2025
108c1e2
typo
iTerminate Jun 20, 2025
92da6db
Add settings specific to IOC machine design items.
iTerminate Jun 20, 2025
1662eee
Add core metadata for ioc type machines.
iTerminate Jun 26, 2025
dc4a282
Add ioc Metadata object and abstract metadata object to not be only t…
iTerminate Jun 26, 2025
7c6ca3d
Use the new metadata object to display column.
iTerminate Jun 26, 2025
51dad09
Allow setting of the metadata fields using the API.
iTerminate Jun 26, 2025
81c537e
Add minimal settings to display the new metadata columns.
iTerminate Jun 26, 2025
2c313bc
Add appropriate ',' and remove empty lines.
iTerminate Jun 26, 2025
4f55331
Add basic input for machine and function tag ioc creation page.
iTerminate Jun 26, 2025
83612b3
Add a section name.
iTerminate Jun 26, 2025
feeab31
Resolve redirects, clean up UI and ensure metadata is showing up.
iTerminate Jun 26, 2025
f6c5963
Resovle edit metadata page with statndized metadata object.
iTerminate Jun 26, 2025
75869fc
Resolve edit page.
iTerminate Jun 26, 2025
4a245fd
Add ioc deployment status field.
iTerminate Jun 26, 2025
bc652fb
Revert the base view page. This broke redirection.
iTerminate Jun 26, 2025
dde4776
Update copyright
iTerminate Jun 26, 2025
fb139d9
Add functioanlity to display markdown preboot postboot etc.
iTerminate Jul 1, 2025
5d5ac59
Add default Text and value for core metadata property.
iTerminate Jul 1, 2025
4178fb8
Add support for allowed values fetched out of core metadata property.
iTerminate Jul 1, 2025
be9d911
Standardize itemMetadata extension classes.
iTerminate Jul 2, 2025
fcc7127
Add verification that allowed values are set appropriately during ins…
iTerminate Jul 2, 2025
baf79ce
:floppy_disk: Update database to support sort order.
iTerminate Jul 2, 2025
53b55e3
:arrow_up_small: support sort order for allowed property metadata val…
iTerminate Jul 2, 2025
8b3ddc4
Remove unused import
iTerminate Jul 2, 2025
7d05f07
:technologist: API :technologist: Add new API to support adding allow…
iTerminate Jul 2, 2025
bbceccb
:technologist: API :technologist: Add new API to support fetching ioc…
iTerminate Jul 2, 2025
4e5f3be
Add support for filtering on core metadata keys.
iTerminate Jul 2, 2025
2144a0c
Standardize metadata edit value to support allwoed values on edit and…
iTerminate Jul 2, 2025
edca9e6
Add repo URL support.
iTerminate Jul 2, 2025
cc89bd7
Ensure proper assignment of entity type for new instance. This also e…
iTerminate Jul 3, 2025
c4b2bad
Allow a way to add more panel grid conents for template use.
iTerminate Jul 3, 2025
0fd7c26
No longer need to assign ioc entity type since its done in the contro…
iTerminate Jul 3, 2025
af4b059
Refactor itemMetadataObject and add filters and no value selection fo…
iTerminate Jul 3, 2025
f920799
Add standard flat input form for core metadata attributes. Use the st…
iTerminate Jul 3, 2025
6f68e5f
Do not require machine parent to be specified to create an IOC item.
iTerminate Jul 3, 2025
c7ae90a
Refactor itemMetadataListObject to metadata object.
iTerminate Jul 3, 2025
91b9cd7
Update API to support updating ioc information including boot instruc…
iTerminate Jul 3, 2025
23c23e1
Expose ioc item api in factory.
iTerminate Jul 3, 2025
59899ed
Ensure to set boot instructions in API.
iTerminate Jul 3, 2025
d02e0a6
Standardize the markdown dialog to support customizations. Add metadt…
iTerminate Jul 9, 2025
33c7ccf
Allow some custom pasting functionality for customized markdown dialogs.
iTerminate Jul 9, 2025
9fc3658
Add new template that follows the new format.
iTerminate Jul 9, 2025
5207f85
Update the template to add appropriate new lines.
iTerminate Jul 9, 2025
3f33b24
Update API to support setting the new fields and generate markdown.
iTerminate Jul 9, 2025
adafbb4
Add a new custom dialog for managing ioc instructions.
iTerminate Jul 9, 2025
65a9db3
Standardize core metadata view field for reuse.
iTerminate Jul 9, 2025
d8dcbcc
Add a new flat view object that can ve attached to view panelgrid.e
iTerminate Jul 9, 2025
5d03b28
Use the new core metadata flat view object and hide core metadata panel.
iTerminate Jul 9, 2025
c0f85de
Hide alternate name and qrid for IOCs.
iTerminate Jul 9, 2025
1f7914f
Remove repo URL.
iTerminate Jul 15, 2025
ed446dd
Ensure that uniqueness is not enforced for IOCs.
iTerminate Jul 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions db/sql/create_cdb_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@ CREATE TABLE `allowed_property_metadata_value` (
`property_type_metadata_id` int(11) unsigned NOT NULL,
`metadata_value` varchar(255) NOT NULL,
`description` varchar(256) DEFAULT NULL,
`sort_order` float(10,2) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `allowed_property_metadata_value_u1` (`property_type_metadata_id`,`metadata_value`),
KEY `allowed_property_metadata_value_k1` (`property_type_metadata_id`),
Expand Down
3 changes: 2 additions & 1 deletion db/sql/static/populate_allowed_entity_type_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ INSERT INTO `allowed_entity_type_domain` VALUES
(6,7),
(6,8),
(6,9),
(6,10);
(6,10),
(6,11);
/*!40000 ALTER TABLE `allowed_entity_type_domain` ENABLE KEYS */;
UNLOCK TABLES;
3 changes: 2 additions & 1 deletion db/sql/static/populate_entity_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ INSERT INTO `entity_type` VALUES
(7,'Inventory','Entity type used for marking a sub domain of intevntory type items.'),
(8,'Deleted','Entity type used for marking an item deleted.'),
(9,'Control','Entity type used for marking a sub domain of control type items.'),
(10,'Power','Entity type used for marking a sub domain of power type items.');
(10,'Power','Entity type used for marking a sub domain of power type items.'),
(11,'IOC','Entity type used for marking a sub domain of ioc type items.');
/*!40000 ALTER TABLE `entity_type` ENABLE KEYS */;
UNLOCK TABLES;
16 changes: 16 additions & 0 deletions db/sql/static/populate_setting_type.sql
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,22 @@ description.','true'),
(21417,'ItemDomainMachineDesignControl.List.Display.PropertyTypeId3','Display property value for property type id #3.',''),
(21418,'ItemDomainMachineDesignControl.List.Display.PropertyTypeId4','Display property value for property type id #4.',''),
(21419,'ItemDomainMachineDesignControl.List.Display.PropertyTypeId5','Display property value for property type id #5.',''),
(21500,'ItemDomainMachineDesignIOC.List.Display.AlternateName','Display alternate name.','false'),
(21501,'ItemDomainMachineDesignIOC.List.Display.Description','Display design description.','true'),
(21502,'ItemDomainMachineDesignIOC.List.Display.ItemProject','Display project.','false'),
(21503,'ItemDomainMachineDesignIOC.List.Display.Id','Display id.','false'),
(21504,'ItemDomainMachineDesignIOC.List.Display.QrId','Display QR id.','false'),
(21505,'ItemDomainMachineDesignIOC.List.Display.OwnerUser','Display owner username.','false'),
(21506,'ItemDomainMachineDesignIOC.List.Display.OwnerGroup','Display owner group name.','false'),
(21507,'ItemDomainMachineDesignIOC.List.Display.CreatedByUser','Display created by username.','false'),
(21508,'ItemDomainMachineDesignIOC.List.Display.CreatedOnDateTime','Display created on date/time.','false'),
(21509,'ItemDomainMachineDesignIOC.List.Display.LastModifiedByUser','Display last modified by username.','false'),
(21510,'ItemDomainMachineDesignIOC.List.Display.LastModifiedOnDateTime','Display last modified on date/time.','false'),
(21511,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId1','Display property value for property type id #1.',''),
(21512,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId2','Display property value for property type id #2.',''),
(21513,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId3','Display property value for property type id #3.',''),
(21514,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId4','Display property value for property type id #4.',''),
(21515,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId5','Display property value for property type id #5.',''),
(22000,'ItemDomainMAARC.List.Display.NumberOfItemsPerPage', 'Display specified number of items per page.','25'),
(22001,'ItemDomainMAARC.List.Display.Id','Display component id.','false'),
(22002,'ItemDomainMAARC.List.Display.EntityTypes','Display Item Entity Types','true'),
Expand Down
31 changes: 31 additions & 0 deletions db/sql/updates/updateTo3.17.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--
-- Copyright (c) UChicago Argonne, LLC. All rights reserved.
-- See LICENSE file.
--

-- Execute by running `mysql CDB_DB_NAME -h 127.0.0.1 -u cdb -p < updateTo3.16.2.sql`


INSERT IGNORE INTO `entity_type` VALUES (11,'IOC','Entity type used for marking a sub domain of ioc type items.');
INSERT IGNORE INTO `allowed_entity_type_domain` VALUES (6,11);

INSERT IGNORE INTO `setting_type` VALUES
(21500,'ItemDomainMachineDesignIOC.List.Display.AlternateName','Display alternate name.','false'),
(21501,'ItemDomainMachineDesignIOC.List.Display.Description','Display design description.','true'),
(21502,'ItemDomainMachineDesignIOC.List.Display.ItemProject','Display project.','false'),
(21503,'ItemDomainMachineDesignIOC.List.Display.Id','Display id.','false'),
(21504,'ItemDomainMachineDesignIOC.List.Display.QrId','Display QR id.','false'),
(21505,'ItemDomainMachineDesignIOC.List.Display.OwnerUser','Display owner username.','false'),
(21506,'ItemDomainMachineDesignIOC.List.Display.OwnerGroup','Display owner group name.','false'),
(21507,'ItemDomainMachineDesignIOC.List.Display.CreatedByUser','Display created by username.','false'),
(21508,'ItemDomainMachineDesignIOC.List.Display.CreatedOnDateTime','Display created on date/time.','false'),
(21509,'ItemDomainMachineDesignIOC.List.Display.LastModifiedByUser','Display last modified by username.','false'),
(21510,'ItemDomainMachineDesignIOC.List.Display.LastModifiedOnDateTime','Display last modified on date/time.','false'),
(21511,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId1','Display property value for property type id #1.',''),
(21512,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId2','Display property value for property type id #2.',''),
(21513,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId3','Display property value for property type id #3.',''),
(21514,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId4','Display property value for property type id #4.',''),
(21515,'ItemDomainMachineDesignIOC.List.Display.PropertyTypeId5','Display property value for property type id #5.','');


ALTER IGNORE TABLE `allowed_property_metadata_value` ADD COLUMN `sort_order` float(10,2) unsigned DEFAULT NULL AFTER `description`;
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ public enum EntityTypeName {
inventory("Inventory", EntityTypeName.INVENTORY_ID),
deleted("Deleted", EntityTypeName.DELETED_ID),
power("Power", EntityTypeName.POWER_ID),
control("Control", EntityTypeName.CONTROL_ID);
control("Control", EntityTypeName.CONTROL_ID),
ioc("IOC", EntityTypeName.IOC_ID);

public final static int TEMPLATE_ID = 5;
public final static int INVENTORY_ID = 7;
public final static int DELETED_ID = 8;
public final static int POWER_ID = 10;
public final static int CONTROL_ID = 9;
public final static int IOC_ID = 11;

private String value;
private int dbId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
public enum PortalStyles {
favoritesOn("favoriteOn"),
favoritesOff("favoriteOff"),

rowStyleErrorInEntity("errorItemInRow"),
rowStyleErrorInEntity("errorItemInRow"),
rowStyleNewEntity("newItemInRow"),

itemConnectorIcon("ui-icon-item-connector"),

itemConnectorIcon("ui-icon-item-connector"),
machineDesingTemplateIcon("ui-icon-machine-design-template"),
machineDesignControlIcon("fa fa-code"),
machineDesignControlIcon("fa fa-code"),
machineDesignPowerIcon("fa fa-bolt"),
machineDesignIOCIcon("ui-icon-control"),
machineDesignIcon("ui-icon-machine-design"),
catalogIcon("ui-icon-catalog"),
inventoryIcon("ui-icon-inventory"),
Expand Down
Loading