Skip to content

Commit

Permalink
Change package in pubnub-spaces module: entities -> space (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleewho authored Jun 14, 2022
1 parent 7ffb6df commit 57acccf
Show file tree
Hide file tree
Showing 22 changed files with 80 additions and 80 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import org.aeonbits.owner.Config
import org.aeonbits.owner.ConfigFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
package com.pubnub.entities
package com.pubnub.space

import com.pubnub.api.PNConfiguration
import com.pubnub.api.PubNub
import com.pubnub.api.callbacks.SubscribeCallback
import com.pubnub.api.enums.PNStatusCategory
import com.pubnub.api.models.consumer.PNStatus
import com.pubnub.api.models.consumer.objects.ResultSortKey
import com.pubnub.entities.models.consumer.membership.Membership
import com.pubnub.entities.models.consumer.membership.MembershipModified
import com.pubnub.entities.models.consumer.membership.MembershipsResult
import com.pubnub.entities.models.consumer.membership.SpaceDetailsLevel
import com.pubnub.entities.models.consumer.membership.SpaceMembershipResultKey
import com.pubnub.entities.models.consumer.membership.UserDetailsLevel
import com.pubnub.entities.models.consumer.membership.UserMembershipsResultKey
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.membership.Membership
import com.pubnub.space.models.consumer.membership.MembershipModified
import com.pubnub.space.models.consumer.membership.MembershipsResult
import com.pubnub.space.models.consumer.membership.SpaceDetailsLevel
import com.pubnub.space.models.consumer.membership.SpaceMembershipResultKey
import com.pubnub.space.models.consumer.membership.UserDetailsLevel
import com.pubnub.space.models.consumer.membership.UserMembershipsResultKey
import com.pubnub.user.createUser
import com.pubnub.user.models.consumer.User
import com.pubnub.user.models.consumer.UserId
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import com.pubnub.api.PubNub
import com.pubnub.api.callbacks.DisposableListener
Expand All @@ -14,25 +14,25 @@ import com.pubnub.api.models.consumer.objects.PNPage
import com.pubnub.api.models.consumer.objects.PNSortKey
import com.pubnub.api.models.consumer.objects.ResultSortKey
import com.pubnub.api.models.consumer.pubsub.objects.PNObjectEventResult
import com.pubnub.entities.models.consumer.membership.Membership
import com.pubnub.entities.models.consumer.membership.MembershipEvent
import com.pubnub.entities.models.consumer.membership.MembershipsResult
import com.pubnub.entities.models.consumer.membership.MembershipsStatusResult
import com.pubnub.entities.models.consumer.membership.SpaceDetailsLevel
import com.pubnub.entities.models.consumer.membership.SpaceMembershipResultKey
import com.pubnub.entities.models.consumer.membership.UserDetailsLevel
import com.pubnub.entities.models.consumer.membership.UserMembershipsResultKey
import com.pubnub.entities.models.consumer.membership.toMembershipEvent
import com.pubnub.entities.models.consumer.membership.toPNChannelDetailsLevel
import com.pubnub.entities.models.consumer.membership.toPNChannelMembershipPartialList
import com.pubnub.entities.models.consumer.membership.toPNMemberPartialList
import com.pubnub.entities.models.consumer.membership.toPNUUIDDetailsLevel
import com.pubnub.entities.models.consumer.membership.toSpaceFetchMembershipResult
import com.pubnub.entities.models.consumer.membership.toSpaceMembershipResult
import com.pubnub.entities.models.consumer.membership.toUserFetchMembershipsResult
import com.pubnub.entities.models.consumer.membership.toUserMembershipsResult
import com.pubnub.entities.models.consumer.space.ISpaceId
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.space.models.consumer.ISpaceId
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.membership.Membership
import com.pubnub.space.models.consumer.membership.MembershipEvent
import com.pubnub.space.models.consumer.membership.MembershipsResult
import com.pubnub.space.models.consumer.membership.MembershipsStatusResult
import com.pubnub.space.models.consumer.membership.SpaceDetailsLevel
import com.pubnub.space.models.consumer.membership.SpaceMembershipResultKey
import com.pubnub.space.models.consumer.membership.UserDetailsLevel
import com.pubnub.space.models.consumer.membership.UserMembershipsResultKey
import com.pubnub.space.models.consumer.membership.toMembershipEvent
import com.pubnub.space.models.consumer.membership.toPNChannelDetailsLevel
import com.pubnub.space.models.consumer.membership.toPNChannelMembershipPartialList
import com.pubnub.space.models.consumer.membership.toPNMemberPartialList
import com.pubnub.space.models.consumer.membership.toPNUUIDDetailsLevel
import com.pubnub.space.models.consumer.membership.toSpaceFetchMembershipResult
import com.pubnub.space.models.consumer.membership.toSpaceMembershipResult
import com.pubnub.space.models.consumer.membership.toUserFetchMembershipsResult
import com.pubnub.space.models.consumer.membership.toUserMembershipsResult
import com.pubnub.user.models.consumer.IUserId
import com.pubnub.user.models.consumer.UserId

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.member.PNMember
import com.pubnub.api.models.consumer.objects.membership.PNChannelMembership
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.entities.models.consumer.space.toSpace
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.toSpace
import com.pubnub.user.models.consumer.User
import com.pubnub.user.models.consumer.UserId
import com.pubnub.user.models.consumer.toUser
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.pubsub.objects.PNDeleteMembershipEventMessage
import com.pubnub.api.models.consumer.pubsub.objects.PNObjectEventResult
import com.pubnub.api.models.consumer.pubsub.objects.PNSetMembershipEventMessage
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.user.models.consumer.User
import com.pubnub.user.models.consumer.UserId

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.PNPage
import com.pubnub.api.models.consumer.objects.member.PNMemberArrayResult
import com.pubnub.api.models.consumer.objects.membership.PNChannelMembershipArrayResult
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.user.models.consumer.UserId

data class MembershipsResult(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.member.PNMemberArrayResult
import com.pubnub.api.models.consumer.objects.membership.PNChannelMembershipArrayResult
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.membership.PNChannelDetailsLevel

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.PNMemberKey
import com.pubnub.api.models.consumer.objects.SortableKey
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.member.PNUUIDDetailsLevel

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.membership
package com.pubnub.space.models.consumer.membership

import com.pubnub.api.models.consumer.objects.PNMembershipKey
import com.pubnub.api.models.consumer.objects.SortableKey
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import com.pubnub.api.PNConfiguration
import com.pubnub.api.PubNub
Expand All @@ -13,11 +13,11 @@ import com.pubnub.api.models.consumer.objects.member.PNMemberArrayResult
import com.pubnub.api.models.consumer.objects.membership.PNChannelMembership
import com.pubnub.api.models.consumer.objects.membership.PNChannelMembershipArrayResult
import com.pubnub.api.models.consumer.objects.uuid.PNUUIDMetadata
import com.pubnub.entities.models.consumer.membership.Membership
import com.pubnub.entities.models.consumer.membership.MembershipsResult
import com.pubnub.entities.models.consumer.membership.MembershipsStatusResult
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.membership.Membership
import com.pubnub.space.models.consumer.membership.MembershipsResult
import com.pubnub.space.models.consumer.membership.MembershipsStatusResult
import com.pubnub.user.models.consumer.User
import com.pubnub.user.models.consumer.UserId
import io.mockk.MockKAnnotations
Expand Down
2 changes: 1 addition & 1 deletion pubnub-spaces/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
POM_ARTIFACT_ID=pubnub-spaces
POM_NAME=pubnub-spaces
POM_PACKAGING=jar
VERSION_NAME=0.1.0
VERSION_NAME=0.2.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import org.aeonbits.owner.Config
import org.aeonbits.owner.ConfigFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import com.pubnub.api.PNConfiguration
import com.pubnub.api.PubNub
Expand All @@ -8,11 +8,11 @@ import com.pubnub.api.enums.PNLogVerbosity
import com.pubnub.api.enums.PNStatusCategory
import com.pubnub.api.models.consumer.PNStatus
import com.pubnub.api.models.consumer.objects.ResultSortKey
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.entities.models.consumer.space.SpaceKey
import com.pubnub.entities.models.consumer.space.SpaceModified
import com.pubnub.entities.models.consumer.space.SpacesResult
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.SpaceKey
import com.pubnub.space.models.consumer.SpaceModified
import com.pubnub.space.models.consumer.SpacesResult
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import com.pubnub.api.PubNub
import com.pubnub.api.callbacks.DisposableListener
Expand All @@ -13,16 +13,16 @@ import com.pubnub.api.models.consumer.objects.PNPage
import com.pubnub.api.models.consumer.objects.PNSortKey
import com.pubnub.api.models.consumer.objects.ResultSortKey
import com.pubnub.api.models.consumer.pubsub.objects.PNObjectEventResult
import com.pubnub.entities.models.consumer.space.RemoveSpaceResult
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceEvent
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.entities.models.consumer.space.SpaceKey
import com.pubnub.entities.models.consumer.space.SpacesResult
import com.pubnub.entities.models.consumer.space.toRemoveSpaceResult
import com.pubnub.entities.models.consumer.space.toSpace
import com.pubnub.entities.models.consumer.space.toSpaceEvent
import com.pubnub.entities.models.consumer.space.toSpacesResult
import com.pubnub.space.models.consumer.RemoveSpaceResult
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceEvent
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.SpaceKey
import com.pubnub.space.models.consumer.SpacesResult
import com.pubnub.space.models.consumer.toRemoveSpaceResult
import com.pubnub.space.models.consumer.toSpace
import com.pubnub.space.models.consumer.toSpaceEvent
import com.pubnub.space.models.consumer.toSpacesResult

/**
* Returns a paginated list of Spaces metadata, optionally including the custom data object for each.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.space
package com.pubnub.space.models.consumer

import com.pubnub.api.models.consumer.objects.PNRemoveMetadataResult

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.space
package com.pubnub.space.models.consumer

import com.pubnub.api.models.consumer.objects.channel.PNChannelMetadata

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.space
package com.pubnub.space.models.consumer

import com.pubnub.api.models.consumer.pubsub.objects.PNDeleteChannelMetadataEventMessage
import com.pubnub.api.models.consumer.pubsub.objects.PNObjectEventResult
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.space
package com.pubnub.space.models.consumer

import com.pubnub.api.models.consumer.objects.PNKey
import com.pubnub.api.models.consumer.objects.SortableKey
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities.models.consumer.space
package com.pubnub.space.models.consumer

import com.pubnub.api.models.consumer.objects.PNPage
import com.pubnub.api.models.consumer.objects.channel.PNChannelMetadataArrayResult
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.pubnub.entities
package com.pubnub.space

import com.pubnub.api.PNConfiguration
import com.pubnub.api.PubNub
Expand All @@ -11,10 +11,10 @@ import com.pubnub.api.models.consumer.objects.PNRemoveMetadataResult
import com.pubnub.api.models.consumer.objects.channel.PNChannelMetadata
import com.pubnub.api.models.consumer.objects.channel.PNChannelMetadataArrayResult
import com.pubnub.api.models.consumer.objects.channel.PNChannelMetadataResult
import com.pubnub.entities.models.consumer.space.RemoveSpaceResult
import com.pubnub.entities.models.consumer.space.Space
import com.pubnub.entities.models.consumer.space.SpaceId
import com.pubnub.entities.models.consumer.space.SpacesResult
import com.pubnub.space.models.consumer.RemoveSpaceResult
import com.pubnub.space.models.consumer.Space
import com.pubnub.space.models.consumer.SpaceId
import com.pubnub.space.models.consumer.SpacesResult
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
Expand Down

0 comments on commit 57acccf

Please sign in to comment.