Rename sf-imagestorage to sf-imagebuffer
This commit is contained in:
@ -53,8 +53,8 @@ public class DaqWebMvcConfig extends WebMvcConfigurationSupport {
|
||||
backendAccess.addStreamEventReaderSupplier(Backend.SF_DATABUFFER, () -> cassandraReader());
|
||||
backendAccess.addChannelInfoReaderSupplier(Backend.SF_DATABUFFER, () -> cassandraReader());
|
||||
|
||||
backendAccess.addStreamEventReaderSupplier(Backend.SF_IMAGESTORAGE, () -> filestorageReader());
|
||||
backendAccess.addChannelInfoReaderSupplier(Backend.SF_IMAGESTORAGE, () -> filestorageReader());
|
||||
backendAccess.addStreamEventReaderSupplier(Backend.SF_IMAGEBUFFER, () -> filestorageReader());
|
||||
backendAccess.addChannelInfoReaderSupplier(Backend.SF_IMAGEBUFFER, () -> filestorageReader());
|
||||
|
||||
backendAccess.addDataReaderSupplier(Backend.SF_ARCHIVERAPPLIANCE, () -> archiverApplianceReader());
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2]").exists())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").exists())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").value("BoolScalar"))
|
||||
@ -122,7 +122,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2]").exists())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").exists())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[0]").value("Int32Scalar"))
|
||||
@ -185,7 +185,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").doesNotExist())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[23]").exists())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[24]").doesNotExist());
|
||||
@ -211,7 +211,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest {
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").doesNotExist())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGESTORAGE.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels").isArray())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[24]").exists())
|
||||
.andExpect(MockMvcResultMatchers.jsonPath("$[2].channels[25]").doesNotExist());
|
||||
|
@ -11,6 +11,6 @@ public class DummyFilestorageReader extends AbstractStreamEventReader {
|
||||
|
||||
@PostConstruct
|
||||
public void afterPropertiesSet() {
|
||||
init(Backend.SF_IMAGESTORAGE);
|
||||
init(Backend.SF_IMAGEBUFFER);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user