OVERVIEW: I performed 3 searches for operations that declare themselves as runtime-only, looking for any aspect of their behavior that might be problematic for WFCORE-389. I put a classifier by all of them. CLASSIFIERS: NP -- non-profile. Op is not used in profile resources, either because it is not registered in subsystems, is only in deployment=*/subsystem=x resources, or the subsystem does not register it in an HC. Any NP op is not relevant to WFCORE-389. WR -- WRite. The op is not read-only. WR? -- the op is not declared as read-only but seems to only being doing reads AO -- the op is registered but execution is a no-op unless the process is admin only RU? -- the ops doesn't seem to really be runtime-only !!! -- Miscellaneously problematic ops SEARCH ONE: SimpleOperationDefinitionBuilder.setRuntimeOnly() Found usages (87 usages found) Library (33 usages found) Unclassified usage (33 usages found) Maven: org.wildfly.core:wildfly-controller:3.0.0.Beta23 (33 usages found) org.jboss.as.controller (1 usage found) NP BootErrorCollector.ListBootErrorsHandler (1 usage found) 144.setRuntimeOnly() org.jboss.as.controller.operations.common (7 usages found) NP ResolveExpressionHandler (1 usage found) 59.setRuntimeOnly() NP SnapshotDeleteHandler (1 usage found) 55.setRuntimeOnly() NP SnapshotListHandler (1 usage found) 62.setRuntimeOnly() NP SnapshotTakeHandler (1 usage found) 50.setRuntimeOnly() NP ValidateOperationHandler (2 usages found) 73.setRuntimeOnly() 79.setRuntimeOnly() NP XmlMarshallingHandler (1 usage found) 65.setRuntimeOnly() org.jboss.as.controller.operations.global (22 usages found) NP GlobalInstallationReportHandler (1 usage found) 139.setRuntimeOnly() org.jboss.as.controller.registry (1 usage found) NP ProxyControllerRegistration (1 usage found) 61.setRuntimeOnly() org.jboss.as.controller.services.path (2 usages found) NP PathInfoHandler (1 usage found) registerOperation(ManagementResourceRegistration, MeasurementUnit, PathInfoHandler) (1 usage found) 291.setRuntimeOnly() ResolvePathHandler.Builder (1 usage found) build() (1 usage found) see below 209.setRuntimeOnly(); Production (54 usages found) Unclassified usage (54 usages found) wildfly-batch-jberet (5 usages found) org.wildfly.extension.batch.jberet.deployment (5 usages found) BatchDeploymentResourceDefinition (3 usages found) WR/NP 75.setRuntimeOnly() -- start-job WR/NP 81.setRuntimeOnly() -- restart-job WR/NP 86.setRuntimeOnly() -- stop-job BatchJobExecutionResourceDefinition (2 usages found) WR/NP 99.setRuntimeOnly() -- restart-job WR/NP 103.setRuntimeOnly() -- stop-job wildfly-clustering-infinispan-extension (2 usages found) org.jboss.as.clustering.infinispan.subsystem (2 usages found) WR/NP BackupOperation (1 usage found) BackupOperation(String, boolean) (1 usage found) 62this.definition = builder.setReplyType(ModelType.STRING).setRuntimeOnly().build(); WR/NP PartitionHandlingOperation (1 usage found) PartitionHandlingOperation(String) (1 usage found) 49this.definition = new SimpleOperationDefinitionBuilder(name, new InfinispanResourceDescriptionResolver(PartitionHandlingResourceDefinition.PATH)).setRuntimeOnly().build(); wildfly-connector (11 usages found) org.jboss.as.connector.subsystems.datasources (8 usages found) Constants (8 usages found) WR?/NP 915.setRuntimeOnly() -- installed-drivers-list WR?/NP 920.setRuntimeOnly() -- get-installed-driver WR/NP 929.setRuntimeOnly().build(); -- flush-idle-connection-in-pool WR/NP 931.setRuntimeOnly().build(); -- flush-all-connection-in-pool WR?/NP 933.setRuntimeOnly().build(); -- dump-queued-threads-in-pool WR/NP 935.setRuntimeOnly().build(); -- flush-invalid-connection-in-pool WR/NP 937.setRuntimeOnly().build(); -- flush-gracefully-connection-in-pool WR/NP 940.setRuntimeOnly().build(); -- test-connection-in-pool org.jboss.as.connector.subsystems.jca (2 usages found) JcaCachedConnectionManagerDefinition.CcmOperations (2 usages found) WR? 134.setRuntimeOnly() -- get-number-of-connections WR? 137.setRuntimeOnly() -- list-connections org.jboss.as.connector.subsystems.resourceadapters (1 usage found) ConnectionDefinitionResourceDefinition (1 usage found) WR?/NP 65.setRuntimeOnly().build(); -- dump-queued-threads-in-pool wildfly-ejb3 (2 usages found) org.jboss.as.ejb3.subsystem.deployment (2 usages found) MessageDrivenBeanResourceDefinition (2 usages found) registerOperations(ManagementResourceRegistration) (2 usages found) WR/NP 66.setRuntimeOnly() -- start-delivery WR/NP 70.setRuntimeOnly() -- stop-delivery wildfly-jacorb (2 usages found) org.jboss.as.jacorb (2 usages found) MigrateOperation (2 usages found) registerOperation(ManagementResourceRegistration, ResourceDescriptionResolver) (2 usages found) WR/AO/RU? 96.setRuntimeOnly() -- migrate WR?/AO/RU? 101.setRuntimeOnly() -- describe-migration wildfly-jaxrs (1 usage found) org.jboss.as.jaxrs (1 usage found) JaxrsDeploymentDefinition.ShowJaxrsResourcesHandler (1 usage found) NP 93.setRuntimeOnly() -- show-resources wildfly-jdr (1 usage found) org.jboss.as.jdr (1 usage found) NP JdrReportRequestHandler (1 usage found) 49.setRuntimeOnly() wildfly-jsf (1 usage found) org.jboss.as.jsf.subsystem (1 usage found) JSFImplListHandler (1 usage found) !!! 40.setRuntimeOnly() -- list-active-jsf-impl wildfly-messaging (2 usages found) org.jboss.as.messaging (2 usages found) MigrateOperation (2 usages found) registerOperations(ManagementResourceRegistration, ResourceDescriptionResolver) (2 usages found) WR/AO/RU? 180.setRuntimeOnly() -- migrate WR?/AO/RU? 187.setRuntimeOnly() -- describe-migration wildfly-messaging-activemq (4 usages found) org.wildfly.extension.messaging.activemq (4 usages found) WR/NP ExportJournalOperation (1 usage found) registerOperation(ManagementResourceRegistration, ResourceDescriptionResolver) (1 usage found) 74.setRuntimeOnly() WR/NP ImportJournalOperation (1 usage found) registerOperation(ManagementResourceRegistration, ResourceDescriptionResolver) (1 usage found) 81.setRuntimeOnly() OperationDefinitionHelper (2 usages found) runtimeOnlyOperation(String, ResourceDescriptionResolver) (1 usage found) WR/NP 66.setRuntimeOnly(); -- many ops runtimeReadOnlyOperation(String, ResourceDescriptionResolver) (1 usage found) NP 56.setRuntimeOnly() -- many ops wildfly-mod_cluster-extension (17 usages found) org.wildfly.extension.mod_cluster (17 usages found) WR/NP ModClusterAddProxy (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 56.setRuntimeOnly() ModClusterConfigResourceDefinition (4 usages found) registerOperations(ManagementResourceRegistration) (4 usages found) WR/RU? 398.setRuntimeOnly() -- add-metric WR/RU? 402.setRuntimeOnly() -- add-custom-metric WR/RU? 406.setRuntimeOnly() -- remove-metric WR/RU? 410.setRuntimeOnly() -- remove-custom-metric WR/NP ModClusterDisable (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 41.setRuntimeOnly() WR/NP ModClusterDisableContext (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 53.setRuntimeOnly() WR/NP ModClusterEnable (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 41.setRuntimeOnly() WR/NP ModClusterEnableContext (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 53.setRuntimeOnly() NP ModClusterGetProxyConfiguration (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 48.setRuntimeOnly() NP ModClusterGetProxyInfo (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 48.setRuntimeOnly() NP ModClusterListProxies (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 48.setRuntimeOnly() WR/NP ModClusterRefresh (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 41.setRuntimeOnly() WR/NP ModClusterRemoveProxy (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 56.setRuntimeOnly() WR/NP ModClusterReset (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 41.setRuntimeOnly() WR/NP ModClusterStop (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 53.setRuntimeOnly() WR/NP ModClusterStopContext (1 usage found) getDefinition(ResourceDescriptionResolver) (1 usage found) 57.setRuntimeOnly() wildfly-security (2 usages found) org.jboss.as.security (2 usages found) SecurityDomainResourceDefinition.FlushOperation (1 usage found) WR/NP 171.setRuntimeOnly() -- flush-cache SecurityDomainResourceDefinition.ListCachePrincipals (1 usage found) WR?/NP 132.setRuntimeOnly() wildfly-transactions (1 usage found) org.jboss.as.txn.subsystem (1 usage found) LogStoreDefinition (1 usage found) registerOperations(ManagementResourceRegistration) (1 usage found) !!! 61.setRuntimeOnly() -- probe wildfly-undertow (1 usage found) org.wildfly.extension.undertow (1 usage found) WR ResetConnectorStatisticsHandler (1 usage found) 43.setRuntimeOnly() wildfly-web (2 usages found) org.jboss.as.web (2 usages found) WebMigrateOperation (2 usages found) registerOperations(ManagementResourceRegistration, ResourceDescriptionResolver) (2 usages found) WR/AO/RU? 165.setRuntimeOnly() -- migrate WR?/AO/RU? 171.setRuntimeOnly() -- describe-migration SEARCH TWO: SimpleOperationDefinitionBuilder.withFlags(OperationEntry.FLAG.RUNTIME_ONLY) Found usages (21 usages found) Production (13 usages found) Value read (13 usages found) wildfly-connector (5 usages found) org.jboss.as.connector.subsystems.resourceadapters (5 usages found) ConnectionDefinitionResourceDefinition (5 usages found) WR/NP 59.withFlag(Flag.RUNTIME_ONLY) -- flush-idle-connection-in-pool WR/NP 62.withFlag(Flag.RUNTIME_ONLY) -- flush-all-connection-in-pool WR/NP 68.withFlag(Flag.RUNTIME_ONLY) -- flush-invalid-connection-in-pool WR/NP 71.withFlag(Flag.RUNTIME_ONLY) -- flush-gracefully-connection-in-pool WR/NP 74.withFlag(Flag.RUNTIME_ONLY) -- test-connection-in-pool wildfly-ejb3 (4 usages found) org.jboss.as.ejb3.subsystem.deployment (4 usages found) TimerResourceDefinition (4 usages found) WR/NP 127RESOURCE_DESCRIPTION_RESOLVER).withFlag(OperationEntry.Flag.RUNTIME_ONLY).build(); -- suspend WR/NP 130RESOURCE_DESCRIPTION_RESOLVER).withFlag(OperationEntry.Flag.RUNTIME_ONLY).build(); -- activate WR/NP 133RESOURCE_DESCRIPTION_RESOLVER).withFlag(OperationEntry.Flag.RUNTIME_ONLY).build(); -- cancel WR/NP 136RESOURCE_DESCRIPTION_RESOLVER).withFlag(OperationEntry.Flag.RUNTIME_ONLY).build(); -- trigger wildfly-messaging-activemq (3 usages found) org.wildfly.extension.messaging.activemq (3 usages found) AddressSettingsResolveHandler (1 usage found) registerOperationHandler(ManagementResourceRegistration, ResourceDescriptionResolver) (1 usage found) WR?/NP 141.withFlags(EnumSet.of(OperationEntry.Flag.READ_ONLY, OperationEntry.Flag.RUNTIME_ONLY)) -- resolve-address-setting BroadcastGroupDefinition (1 usage found) registerOperations(ManagementResourceRegistration) (1 usage found) !!! 130.withFlags(EnumSet.of(OperationEntry.Flag.READ_ONLY, OperationEntry.Flag.RUNTIME_ONLY)) -- get-connector-pairs-as-json ClusterConnectionDefinition (1 usage found) registerOperations(ManagementResourceRegistration) (1 usage found) !!! 277final EnumSet flags = EnumSet.of(OperationEntry.Flag.READ_ONLY, OperationEntry.Flag.RUNTIME_ONLY); wildfly-naming (1 usage found) org.jboss.as.naming.subsystem (1 usage found) NamingSubsystemRootResourceDefinition (1 usage found) WR?/NP 63.withFlag(OperationEntry.Flag.RUNTIME_ONLY) -- jndi-view SEARCH THREE: ResolvePathHandler.Builder.build() Found usages (5 usages found) Production (5 usages found) Unclassified usage (5 usages found) wildfly-clustering-infinispan-extension (1 usage found) org.jboss.as.clustering.infinispan.subsystem (1 usage found) FileStoreResourceDefinition (1 usage found) FileStoreResourceDefinition() (1 usage found) NP 88.build(); wildfly-ejb3 (1 usage found) org.jboss.as.ejb3.subsystem (1 usage found) FileDataStoreResourceDefinition (1 usage found) registerOperations(ManagementResourceRegistration) (1 usage found) NP 97.build(); wildfly-messaging (1 usage found) org.jboss.as.messaging (1 usage found) MessagingExtension (1 usage found) initializeLegacyModel(ExtensionContext) (1 usage found) NP 220.build(); wildfly-messaging-activemq (1 usage found) org.wildfly.extension.messaging.activemq (1 usage found) PathDefinition (1 usage found) registerResolveOperationHandler(ExtensionContext, ManagementResourceRegistration) (1 usage found) NP 164.build(); wildfly-transactions (1 usage found) org.jboss.as.txn.subsystem (1 usage found) TransactionExtension (1 usage found) initialize(ExtensionContext) (1 usage found) NP 113.build();