Skip to content

Commit 595b9ea

Browse files
committed
refactor: move SourceServices & TCPServiceFrameParser
1 parent 481efe9 commit 595b9ea

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/main/kotlin/spp/protocol/service/LiveInstrumentService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import io.vertx.codegen.annotations.VertxGen
2222
import io.vertx.core.Future
2323
import io.vertx.core.Vertx
2424
import io.vertx.core.eventbus.DeliveryOptions
25-
import spp.protocol.SourceServices.LIVE_INSTRUMENT
2625
import spp.protocol.instrument.*
26+
import spp.protocol.service.SourceServices.LIVE_INSTRUMENT
2727

2828
/**
2929
* Back-end service for managing [LiveInstrument]s.

src/main/kotlin/spp/protocol/service/LiveManagementService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ import io.vertx.core.Future
2323
import io.vertx.core.Vertx
2424
import io.vertx.core.eventbus.DeliveryOptions
2525
import io.vertx.core.json.JsonObject
26-
import spp.protocol.SourceServices.LIVE_MANAGEMENT_SERVICE
2726
import spp.protocol.platform.auth.ClientAccess
2827
import spp.protocol.platform.auth.RolePermission
2928
import spp.protocol.platform.developer.SelfInfo
3029
import spp.protocol.platform.general.Service
3130
import spp.protocol.platform.status.InstanceConnection
31+
import spp.protocol.service.SourceServices.LIVE_MANAGEMENT_SERVICE
3232

3333
/**
3434
* Back-end service for general and administrative tasks.

src/main/kotlin/spp/protocol/service/LiveViewService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import io.vertx.core.Future
2323
import io.vertx.core.Vertx
2424
import io.vertx.core.eventbus.DeliveryOptions
2525
import io.vertx.core.json.JsonObject
26-
import spp.protocol.SourceServices.LIVE_VIEW
26+
import spp.protocol.service.SourceServices.LIVE_VIEW
2727
import spp.protocol.view.LiveView
2828

2929
/**

src/main/kotlin/spp/protocol/SourceServices.kt renamed to src/main/kotlin/spp/protocol/service/SourceServices.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package spp.protocol
17+
package spp.protocol.service
1818

1919
/**
2020
* Back-end services available to developers.

src/main/kotlin/spp/protocol/extend/TCPServiceFrameParser.kt renamed to src/main/kotlin/spp/protocol/service/extend/TCPServiceFrameParser.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package spp.protocol.extend
17+
package spp.protocol.service.extend
1818

1919
import io.vertx.core.AsyncResult
2020
import io.vertx.core.Handler

src/main/kotlin/spp/protocol/service/listen/LiveInstrumentListenerImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import io.vertx.core.Vertx
2121
import io.vertx.core.eventbus.MessageConsumer
2222
import io.vertx.core.json.JsonArray
2323
import io.vertx.core.json.JsonObject
24-
import spp.protocol.SourceServices.Subscribe.toLiveInstrumentSubscriberAddress
2524
import spp.protocol.instrument.*
2625
import spp.protocol.instrument.event.*
26+
import spp.protocol.service.SourceServices.Subscribe.toLiveInstrumentSubscriberAddress
2727

2828
class LiveInstrumentListenerImpl(
2929
vertx: Vertx,

src/test/kotlin/spp/protocol/service/listen/LiveInstrumentListenerTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import io.vertx.junit5.VertxTestContext
2424
import org.junit.jupiter.api.Assertions.assertEquals
2525
import org.junit.jupiter.api.Test
2626
import org.junit.jupiter.api.extension.ExtendWith
27-
import spp.protocol.SourceServices.Subscribe.toLiveInstrumentSubscriberAddress
2827
import spp.protocol.artifact.ArtifactQualifiedName
2928
import spp.protocol.artifact.ArtifactType
3029
import spp.protocol.artifact.exception.LiveStackTrace
@@ -33,6 +32,7 @@ import spp.protocol.artifact.log.LogResult
3332
import spp.protocol.instrument.LiveBreakpoint
3433
import spp.protocol.instrument.LiveSourceLocation
3534
import spp.protocol.instrument.event.*
35+
import spp.protocol.service.SourceServices.Subscribe.toLiveInstrumentSubscriberAddress
3636
import java.time.Instant
3737
import java.util.concurrent.TimeUnit
3838

0 commit comments

Comments
 (0)