Skip to content

Commit

Permalink
HubSpot package with domain namespace, removed notice about GitHub pa…
Browse files Browse the repository at this point in the history
…ckage
  • Loading branch information
sitole committed Apr 14, 2023
1 parent 1f19e97 commit f21a4d0
Show file tree
Hide file tree
Showing 21 changed files with 29 additions and 30 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ General implementation of [HubSpot](https://developers.hubspot.com/docs/api/crm/

🎈 Currently in progress, send issues or pull requests 🙌🏼

🚀 Install from offical Maven repository with `com.goforboom:hubspot-sdk:$VERSION`<br>
⚠️ GitHub packages is depricated, use official Maven repository
🚀 Install from offical Maven repository with `org.boomevents:hubspot-sdk:$VERSION`<br>

## Supported features
| Feature | List | Read | Create | Change | Delete |
Expand Down
4 changes: 2 additions & 2 deletions hubspot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ plugins {
id("signing")
}

group = "com.goforboom"
version = "1.2.0"
group = "org.boomevents"
version = "1.2.2"

java.sourceCompatibility = JavaVersion.VERSION_11
java.targetCompatibility = JavaVersion.VERSION_11
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot
package org.boomevents.hubspot

data class Client(
val apiBasePath: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot
package org.boomevents.hubspot

object ClientRequestCatalog {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot.domain.company
package org.boomevents.hubspot.domain.company

import com.goforboom.hubspot.domain.DataEntity
import java.math.BigInteger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.goforboom.hubspot.domain.company
package org.boomevents.hubspot.domain.company

import com.goforboom.hubspot.model.http.RequestMethod
import com.goforboom.hubspot.model.http.Requester
import com.goforboom.hubspot.Client
import com.goforboom.hubspot.ClientRequestCatalog
import com.goforboom.hubspot.domain.company.exceptions.CompanyNotFoundException
import com.goforboom.hubspot.model.http.exceptions.HttpRequestException
import com.goforboom.hubspot.model.mapper.Mapper
import org.boomevents.hubspot.model.http.RequestMethod
import org.boomevents.hubspot.model.http.Requester
import org.boomevents.hubspot.Client
import org.boomevents.hubspot.ClientRequestCatalog
import org.boomevents.hubspot.domain.company.exceptions.CompanyNotFoundException
import org.boomevents.hubspot.model.http.exceptions.HttpRequestException
import org.boomevents.hubspot.model.mapper.Mapper
import java.math.BigInteger

class CompanyClient(private val hubSpotClient: Client) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot.domain.company
package org.boomevents.hubspot.domain.company

data class CompanyRequest<P>(
val properties: P
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.boomevents.hubspot.domain.company.exceptions

import org.boomevents.hubspot.exceptions.HubSpotException

abstract class CompanyException(override val message: String) : HubSpotException(message)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot.domain.company.exceptions
package org.boomevents.hubspot.domain.company.exceptions

import java.math.BigInteger

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package com.goforboom.hubspot.exceptions
package org.boomevents.hubspot.exceptions

abstract class HubSpotException(override val message: String) : RuntimeException(message)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot.model.http
package org.boomevents.hubspot.model.http

enum class RequestMethod {
GET,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.goforboom.hubspot.model.http
package org.boomevents.hubspot.model.http

import kong.unirest.*
import kong.unirest.jackson.JacksonObjectMapper
import com.goforboom.hubspot.Client
import com.goforboom.hubspot.model.mapper.Mapper
import org.boomevents.hubspot.Client
import org.boomevents.hubspot.model.mapper.Mapper

object Requester {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.goforboom.hubspot.model.http.exceptions
package org.boomevents.hubspot.model.http.exceptions

import com.goforboom.hubspot.exceptions.HubSpotException
import org.boomevents.hubspot.exceptions.HubSpotException

class HttpRequestException(
val responseCode: Int,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.goforboom.hubspot.model.mapper
package org.boomevents.hubspot.model.mapper

import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
Expand Down

0 comments on commit f21a4d0

Please sign in to comment.