test_class.declarator: embeddedApollo = new EmbeddedApollo()
test_class.modifier: @ClassRule
      public static
test_class.original_string: @ClassRule
      public static EmbeddedApollo embeddedApollo = new EmbeddedApollo();
test_class.type: EmbeddedApollo
test_class.var_name: embeddedApollo
test_class.declarator: REPOSITORY = new ApolloRepository()
test_class.modifier: private static final
test_class.original_string: private static final ConfigurationRepository REPOSITORY = new ApolloRepository();
test_class.type: ConfigurationRepository
test_class.var_name: REPOSITORY
test_class.declarator: OPEN_API_WRAPPER = mock(ApolloOpenApiWrapper.class)
test_class.modifier: private static final
test_class.original_string: private static final ApolloOpenApiWrapper OPEN_API_WRAPPER = mock(ApolloOpenApiWrapper.class);
test_class.type: ApolloOpenApiWrapper
test_class.var_name: OPEN_API_WRAPPER
test_class.declarator: PORTAL_URL = "http://127.0.0.1"
test_class.modifier: private static final
test_class.original_string: private static final String PORTAL_URL = "http://127.0.0.1";
test_class.type: String
test_class.var_name: PORTAL_URL
test_class.declarator: TOKEN = "testToken"
test_class.modifier: private static final
test_class.original_string: private static final String TOKEN = "testToken";
test_class.type: String
test_class.var_name: TOKEN
test_class.file: shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-provider/shardingsphere-governance-repository-apollo/src/test/java/org/apache/shardingsphere/governance/repository/apollo/ApolloRepositoryTest.java
test_class.identifier: ApolloRepositoryTest
test_case.body: @Test
      public void assertDelete() {
          REPOSITORY.delete("/test/children/2");
          verify(OPEN_API_WRAPPER).remove("test.children.2");
      }
test_case.class_method_signature: ApolloRepositoryTest.assertDelete()
test_case.full_signature: @Test public void assertDelete()
test_case.identifier: assertDelete
test_case.invocations: delete remove verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertDelete()
focal_class.declarator: caches = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, DataChangedEventListener> caches = new HashMap<>();
focal_class.type: Map<String, DataChangedEventListener>
focal_class.var_name: caches
focal_class.declarator: configWrapper
focal_class.modifier: private
focal_class.original_string: private ApolloConfigWrapper configWrapper;
focal_class.type: ApolloConfigWrapper
focal_class.var_name: configWrapper
focal_class.declarator: openApiWrapper
focal_class.modifier: private
focal_class.original_string: private ApolloOpenApiWrapper openApiWrapper;
focal_class.type: ApolloOpenApiWrapper
focal_class.var_name: openApiWrapper
focal_class.declarator: props = new Properties()
focal_class.modifier: @Getter
      @Setter
      private
focal_class.original_string: @Getter
      @Setter
      private Properties props = new Properties();
focal_class.type: Properties
focal_class.var_name: props
focal_class.file: shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-provider/shardingsphere-governance-repository-apollo/src/main/java/org/apache/shardingsphere/governance/repository/apollo/ApolloRepository.java
focal_class.identifier: ApolloRepository
focal_class.interfaces: implements ConfigurationRepository
focal_class.class_method_signature: ApolloRepository.init(final String name, final GovernanceCenterConfiguration config)
focal_class.full_signature: @Override public void init(final String name, final GovernanceCenterConfiguration config)
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: (final String name, final GovernanceCenterConfiguration config)
focal_class.return: void
focal_class.signature: void init(final String name, final GovernanceCenterConfiguration config)
focal_class.class_method_signature: ApolloRepository.get(final String key)
focal_class.full_signature: @Override public String get(final String key)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (final String key)
focal_class.return: String
focal_class.signature: String get(final String key)
focal_class.class_method_signature: ApolloRepository.getChildrenKeys(final String key)
focal_class.full_signature: @Override public List<String> getChildrenKeys(final String key)
focal_class.identifier: getChildrenKeys
focal_class.modifiers: @Override public
focal_class.parameters: (final String key)
focal_class.return: List<String>
focal_class.signature: List<String> getChildrenKeys(final String key)
focal_class.class_method_signature: ApolloRepository.persist(final String key, final String value)
focal_class.full_signature: @Override public void persist(final String key, final String value)
focal_class.identifier: persist
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final String value)
focal_class.return: void
focal_class.signature: void persist(final String key, final String value)
focal_class.class_method_signature: ApolloRepository.delete(final String key)
focal_class.full_signature: @Override public void delete(final String key)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (final String key)
focal_class.return: void
focal_class.signature: void delete(final String key)
focal_class.class_method_signature: ApolloRepository.watch(final String key, final DataChangedEventListener dataChangedEventListener)
focal_class.full_signature: @Override public void watch(final String key, final DataChangedEventListener dataChangedEventListener)
focal_class.identifier: watch
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final DataChangedEventListener dataChangedEventListener)
focal_class.return: void
focal_class.signature: void watch(final String key, final DataChangedEventListener dataChangedEventListener)
focal_class.class_method_signature: ApolloRepository.getChangedType(final PropertyChangeType changeType)
focal_class.full_signature: private ChangedType getChangedType(final PropertyChangeType changeType)
focal_class.identifier: getChangedType
focal_class.modifiers: private
focal_class.parameters: (final PropertyChangeType changeType)
focal_class.return: ChangedType
focal_class.signature: ChangedType getChangedType(final PropertyChangeType changeType)
focal_class.class_method_signature: ApolloRepository.pathToKey(final String path)
focal_class.full_signature: private String pathToKey(final String path)
focal_class.identifier: pathToKey
focal_class.modifiers: private
focal_class.parameters: (final String path)
focal_class.return: String
focal_class.signature: String pathToKey(final String path)
focal_class.class_method_signature: ApolloRepository.keyToPath(final String key)
focal_class.full_signature: private String keyToPath(final String key)
focal_class.identifier: keyToPath
focal_class.modifiers: private
focal_class.parameters: (final String key)
focal_class.return: String
focal_class.signature: String keyToPath(final String key)
focal_class.class_method_signature: ApolloRepository.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: ApolloRepository.getType()
focal_class.full_signature: @Override public String getType()
focal_class.identifier: getType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_method.body: @Override
      public void delete(final String key) {
          openApiWrapper.remove(pathToKey(key));
      }
focal_method.class_method_signature: ApolloRepository.delete(final String key)
focal_method.full_signature: @Override public void delete(final String key)
focal_method.identifier: delete
focal_method.invocations: remove pathToKey
focal_method.modifiers: @Override public
focal_method.parameters: (final String key)
focal_method.return: void
focal_method.signature: void delete(final String key)