test_class.declarator: registryRepository
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private RegistryRepository registryRepository;
test_class.type: RegistryRepository
test_class.var_name: registryRepository
test_class.declarator: registryCenter
test_class.modifier: private
test_class.original_string: private RegistryCenter registryCenter;
test_class.type: RegistryCenter
test_class.var_name: registryCenter
test_class.file: shardingsphere-governance/shardingsphere-governance-core/shardingsphere-governance-core-registry/src/test/java/org/apache/shardingsphere/governance/core/registry/RegistryCenterTest.java
test_class.identifier: RegistryCenterTest
test_case.body: @Test
      public void assertPersistInstanceOnline() {
          registryCenter.persistInstanceOnline();
          verify(registryRepository).persistEphemeral(anyString(), anyString());
      }
test_case.class_method_signature: RegistryCenterTest.assertPersistInstanceOnline()
test_case.full_signature: @Test public void assertPersistInstanceOnline()
test_case.identifier: assertPersistInstanceOnline
test_case.invocations: persistInstanceOnline persistEphemeral verify anyString anyString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertPersistInstanceOnline()
focal_class.declarator: node
focal_class.modifier: private final
focal_class.original_string: private final RegistryCenterNode node;
focal_class.type: RegistryCenterNode
focal_class.var_name: node
focal_class.declarator: repository
focal_class.modifier: private final
focal_class.original_string: private final RegistryRepository repository;
focal_class.type: RegistryRepository
focal_class.var_name: repository
focal_class.declarator: instance
focal_class.modifier: private final
focal_class.original_string: private final GovernanceInstance instance;
focal_class.type: GovernanceInstance
focal_class.var_name: instance
focal_class.file: shardingsphere-governance/shardingsphere-governance-core/shardingsphere-governance-core-registry/src/main/java/org/apache/shardingsphere/governance/core/registry/RegistryCenter.java
focal_class.identifier: RegistryCenter
focal_class.class_method_signature: RegistryCenter.RegistryCenter(final RegistryRepository registryRepository)
focal_class.full_signature: public  RegistryCenter(final RegistryRepository registryRepository)
focal_class.identifier: RegistryCenter
focal_class.modifiers: public
focal_class.parameters: (final RegistryRepository registryRepository)
focal_class.signature:  RegistryCenter(final RegistryRepository registryRepository)
focal_class.class_method_signature: RegistryCenter.persistInstanceOnline()
focal_class.full_signature: public void persistInstanceOnline()
focal_class.identifier: persistInstanceOnline
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void persistInstanceOnline()
focal_class.class_method_signature: RegistryCenter.persistDataNodes()
focal_class.full_signature: public void persistDataNodes()
focal_class.identifier: persistDataNodes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void persistDataNodes()
focal_class.class_method_signature: RegistryCenter.persistInstanceData(final String instanceData)
focal_class.full_signature: public void persistInstanceData(final String instanceData)
focal_class.identifier: persistInstanceData
focal_class.modifiers: public
focal_class.parameters: (final String instanceData)
focal_class.return: void
focal_class.signature: void persistInstanceData(final String instanceData)
focal_class.class_method_signature: RegistryCenter.loadInstanceData()
focal_class.full_signature: public String loadInstanceData()
focal_class.identifier: loadInstanceData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String loadInstanceData()
focal_class.class_method_signature: RegistryCenter.loadDisabledDataSources(final String schemaName)
focal_class.full_signature: public Collection<String> loadDisabledDataSources(final String schemaName)
focal_class.identifier: loadDisabledDataSources
focal_class.modifiers: public
focal_class.parameters: (final String schemaName)
focal_class.return: Collection<String>
focal_class.signature: Collection<String> loadDisabledDataSources(final String schemaName)
focal_class.class_method_signature: RegistryCenter.loadDataSourcesBySchemaName(final String schemaName)
focal_class.full_signature: private Collection<String> loadDataSourcesBySchemaName(final String schemaName)
focal_class.identifier: loadDataSourcesBySchemaName
focal_class.modifiers: private
focal_class.parameters: (final String schemaName)
focal_class.return: Collection<String>
focal_class.signature: Collection<String> loadDataSourcesBySchemaName(final String schemaName)
focal_class.class_method_signature: RegistryCenter.getDataSourceNodeData(final String schemaName, final String dataSourceName)
focal_class.full_signature: private String getDataSourceNodeData(final String schemaName, final String dataSourceName)
focal_class.identifier: getDataSourceNodeData
focal_class.modifiers: private
focal_class.parameters: (final String schemaName, final String dataSourceName)
focal_class.return: String
focal_class.signature: String getDataSourceNodeData(final String schemaName, final String dataSourceName)
focal_method.body: public void persistInstanceOnline() {
          repository.persistEphemeral(node.getProxyNodePath(instance.getInstanceId()), "");
      }
focal_method.class_method_signature: RegistryCenter.persistInstanceOnline()
focal_method.full_signature: public void persistInstanceOnline()
focal_method.identifier: persistInstanceOnline
focal_method.invocations: persistEphemeral getProxyNodePath getInstanceId
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void persistInstanceOnline()