@Test (dependsOnMethods = "testGetSpecWithTag") public void testDeleteSpec() throws Exception { this.specStore.deleteSpec(this.uri1); Assert.assertFalse(this.specStore.exists(this.uri1)); }
@Override public boolean deleteSpec(Spec spec) throws IOException { return deleteSpec(spec.getUri()); }
MysqlSpecStore extends InstrumentedSpecStore { @Override public boolean deleteSpec(Spec spec) throws IOException { return deleteSpec(spec.getUri()); } }
MysqlSpecStore extends InstrumentedSpecStore { @Override public boolean deleteSpec(Spec spec) throws IOException { return deleteSpec(spec.getUri()); } MysqlSpecStore(Config config, SpecSerDe specSerDe); }
MysqlSpecStore extends InstrumentedSpecStore { @Override public boolean deleteSpec(Spec spec) throws IOException { return deleteSpec(spec.getUri()); } MysqlSpecStore(Config config, SpecSerDe specSerDe); @Override boolean existsImpl(URI specUri); @Override void addSpecImpl(Spec spec); void addSpec(Spec spec, String tagValue); @Override boolean deleteSpec(Spec spec); @Override boolean deleteSpecImpl(URI specUri); @Override boolean deleteSpec(URI specUri, String version); @Override // TODO : this method is not doing what the contract is in the SpecStore interface Spec updateSpecImpl(Spec spec); @Override Spec getSpecImpl(URI specUri); Collection<Spec> getSpecsImpl(SpecSearchObject specSearchObject); @Override Spec getSpec(URI specUri, String version); @Override Collection<Spec> getAllVersionsOfSpec(URI specUri); @Override Collection<Spec> getSpecsImpl(); @Override Iterator<URI> getSpecURIsImpl(); @Override Iterator<URI> getSpecURIsWithTag(String tag); @Override Optional<URI> getSpecStoreURI(); }
MysqlSpecStore extends InstrumentedSpecStore { @Override public boolean deleteSpec(Spec spec) throws IOException { return deleteSpec(spec.getUri()); } MysqlSpecStore(Config config, SpecSerDe specSerDe); @Override boolean existsImpl(URI specUri); @Override void addSpecImpl(Spec spec); void addSpec(Spec spec, String tagValue); @Override boolean deleteSpec(Spec spec); @Override boolean deleteSpecImpl(URI specUri); @Override boolean deleteSpec(URI specUri, String version); @Override // TODO : this method is not doing what the contract is in the SpecStore interface Spec updateSpecImpl(Spec spec); @Override Spec getSpecImpl(URI specUri); Collection<Spec> getSpecsImpl(SpecSearchObject specSearchObject); @Override Spec getSpec(URI specUri, String version); @Override Collection<Spec> getAllVersionsOfSpec(URI specUri); @Override Collection<Spec> getSpecsImpl(); @Override Iterator<URI> getSpecURIsImpl(); @Override Iterator<URI> getSpecURIsWithTag(String tag); @Override Optional<URI> getSpecStoreURI(); static final String CONFIG_PREFIX; static final String DEFAULT_TAG_VALUE; }