Skip to content

Commit

Permalink
Rename modules and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Aug 22, 2024
1 parent 8fa87e1 commit d039d8f
Show file tree
Hide file tree
Showing 425 changed files with 3,034 additions and 3,035 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="https://hexagontk.com/jacoco">
<img src="https://hexagontk.com/img/coverage.svg" alt="Coverage" />
</a>
<a href="https://search.maven.org/search?q=g:com.hexagonkt">
<a href="https://search.maven.org/search?q=g:com.hexagontk">
<img src="https://hexagontk.com/img/download.svg" alt="Maven Central Repository" />
</a>
</p>
Expand Down Expand Up @@ -102,14 +102,14 @@ from scratch following these steps:
mavenCentral()
}
implementation("com.hexagonkt:http_server_jetty:$hexagonVersion")
implementation("com.hexagontk:http_server_jetty:$hexagonVersion")
```

* In Maven. Declare the dependency in `pom.xml`:

```xml
<dependency>
<groupId>com.hexagonkt</groupId>
<groupId>com.hexagontk</groupId>
<artifactId>http_server_jetty</artifactId>
<version>$hexagonVersion</version>
</dependency>
Expand All @@ -119,10 +119,10 @@ from scratch following these steps:

```kotlin
// hello_world
import com.hexagonkt.core.media.TEXT_PLAIN
import com.hexagonkt.http.model.ContentType
import com.hexagonkt.http.server.HttpServer
import com.hexagonkt.http.server.jetty.serve
import com.hexagontk.core.media.TEXT_PLAIN
import com.hexagontk.http.model.ContentType
import com.hexagontk.http.server.HttpServer
import com.hexagontk.http.server.jetty.serve

lateinit var server: HttpServer

Expand Down Expand Up @@ -154,7 +154,7 @@ fun main() {
<summary>Books Example</summary>

A simple CRUD example showing how to manage book resources. Here you can check the
[full test](http_test/src/main/kotlin/com/hexagonkt/http/test/examples/BooksTest.kt).
[full test](http_test/src/main/kotlin/com/hexagontk/http/test/examples/BooksTest.kt).

```kotlin
// books
Expand Down Expand Up @@ -228,7 +228,7 @@ private val path: PathHandler = path {
<summary>Error Handling Example</summary>

Code to show how to handle callback exceptions and HTTP error codes. Here you can check the
[full test](http_test/src/main/kotlin/com/hexagonkt/http/test/examples/ErrorsTest.kt).
[full test](http_test/src/main/kotlin/com/hexagontk/http/test/examples/ErrorsTest.kt).

```kotlin
// errors
Expand Down Expand Up @@ -277,7 +277,7 @@ private val path: PathHandler = path {
<summary>Filters Example</summary>

This example shows how to add filters before and after route execution. Here you can check the
[full test](http_test/src/main/kotlin/com/hexagonkt/http/test/examples/FiltersTest.kt).
[full test](http_test/src/main/kotlin/com/hexagontk/http/test/examples/FiltersTest.kt).

```kotlin
// filters
Expand Down Expand Up @@ -346,7 +346,7 @@ private val path: PathHandler = path {
<summary>Files Example</summary>

The following code shows how to serve resources and receive files. Here you can check the
[full test](http_test/src/main/kotlin/com/hexagonkt/http/test/examples/FilesTest.kt).
[full test](http_test/src/main/kotlin/com/hexagontk/http/test/examples/FilesTest.kt).

```kotlin
// files
Expand Down Expand Up @@ -461,7 +461,7 @@ be up-to-date of project's news following [@hexagontk] on X (Twitter).

Thanks to all project's [contributors]!

[![CodeTriage](https://www.codetriage.com/hexagonkt/hexagon/badges/users.svg)][CodeTriage]
[![CodeTriage](https://www.codetriage.com/hexagontk/hexagon/badges/users.svg)][CodeTriage]

[give it a star]: https://github.com/hexagontk/hexagon/stargazers
[discussions]: https://github.com/hexagontk/hexagon/discussions/categories/q-a
Expand Down
20 changes: 10 additions & 10 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,44 +16,44 @@ application), you can import it with the following code:
mavenCentral()
}

implementation("com.hexagonkt:core:$hexagonVersion")
implementation("com.hexagontk:core:$hexagonVersion")
```

=== "pom.xml"

```xml
<dependency>
<groupId>com.hexagonkt</groupId>
<groupId>com.hexagontk</groupId>
<artifactId>core</artifactId>
<version>$hexagonVersion</version>
</dependency>
```

# Package com.hexagonkt.core
# Package com.hexagontk.core
JVM information and other useful utilities. Includes basic program settings support at the [Jvm]
object (like loading and retrieving system settings).

[Jvm]: /api/core/com.hexagonkt.core/-jvm
[Jvm]: /api/core/com.hexagontk.core/-jvm

# Package com.hexagonkt.core.logging
# Package com.hexagontk.core.logging
Provides a logging management capabilities abstracting the application from logging libraries.

The following code block shows the most common use cases for the [Logger] class:

@code core/src/test/kotlin/com/hexagonkt/core/logging/LoggerTest.kt?logger
@code core/src/test/kotlin/com/hexagontk/core/logging/LoggerTest.kt?logger

By default, Hexagon uses the [System.Logger] class.

[Logger]: /api/core/com.hexagonkt.core.logging/-logger
[Logger]: /api/core/com.hexagontk.core.logging/-logger
[System.Logger]: https://docs.oracle.com/javase/9/docs/api/java/lang/System.Logger.html

# Package com.hexagonkt.core.media
# Package com.hexagontk.core.media
Media types definitions and constants for default media types.

# Package com.hexagonkt.core.security
# Package com.hexagontk.core.security
Cryptography and key stores utilities.

# Package com.hexagonkt.core.text
# Package com.hexagontk.core.text
Text utilities to allow the use of ANSI escape codes and case converting tools among other features.

> TODO Create 'Pairs' class to model a list of pairs with repeatable keys
Expand Down
Loading

0 comments on commit d039d8f

Please sign in to comment.