Skip to content

Commit

Permalink
Delete elasticurl project
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Oct 23, 2024
1 parent a457e70 commit c1b5189
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 391 deletions.
43 changes: 2 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ CRT interfaces are subject to change.
OCI_EXE=docker python3 .github/scripts/run-container-test.py --distro al2 --arch x64 --test-bin-dir ./aws-crt-kotlin/build/bin
```


See the usage/help for different distributions provided: `python3 .github/scripts/run-container.py -h`


### OSX

#### Debugging simulator test issues
Expand Down Expand Up @@ -66,46 +64,9 @@ List simulator runtimes with:
xcrun simctl list devices available
```


See also:

See also:
* https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
* https://www.iosdev.recipes/simctl/

### Windows


## Elasticurl App

The `elasticurl` project contains an MPP (JVM and Native only) executable that provides a simple testing application for exercising the CRT bindings.

**Native**

```
# replace "PLATFORM" with the target platform you want to run (e.g. macosX64, linuxX64, etc)
./elasticurl/bin/PLATFORM/elasticurlDebugExecutable/elasticurl.kexe [OPTIONS] URL
```


**JVM**
```
java -jar ./elasticurl/libs/elasticurl-jvm.jar [OPTIONS] URL
```

NOTE: You can also use the convenience script `./scripts/elasticurlJvm.sh [OPTIONS] URL`

To enable memory tracing specify the environment variable `CRTDEBUG=trace=N` and provide the CLI option `-v trace`

e.g.
```
CRTDEBUG=trace=2 ./elasticurl/bin/macosX64/elasticurlDebugExecutable/elasticurl.kexe -v trace https://aws.amazon.com
```


**Integration Test**

Run the simple elasticurl integration test script

`./scripts/elasticurl-test.sh`

Not supported yet.
2 changes: 1 addition & 1 deletion aws-crt-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ plugins {
val sdkVersion: String by project
group = properties["publishGroupName"] ?: error("missing publishGroupName")
version = sdkVersion
description = "Kotlin Multiplatform bindings for AWS SDK Common Runtime"
description = "Kotlin Multiplatform bindings for AWS Common Runtime"

// See: https://kotlinlang.org/docs/reference/opt-in-requirements.html#opting-in-to-using-api
val optinAnnotations = listOf("kotlin.RequiresOptIn", "kotlinx.cinterop.ExperimentalForeignApi")
Expand Down
8 changes: 2 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
}

plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
alias(libs.plugins.kotlinx.binary.compatibility.validator)
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.aws.kotlin.repo.tools.kmp)
alias(libs.plugins.aws.kotlin.repo.tools.artifactsizemetrics)
Expand Down Expand Up @@ -60,7 +60,7 @@ subprojects {
if (project.typedProp<Boolean>("kotlinWarningsAsErrors") == true) {
allprojects {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.allWarningsAsErrors = true
compilerOptions.allWarningsAsErrors = true
}
}
}
Expand All @@ -75,7 +75,3 @@ val lintPaths = listOf(
)

configureLinting(lintPaths)

apiValidation {
ignoredProjects += setOf("elasticurl")
}
67 changes: 0 additions & 67 deletions elasticurl/build.gradle.kts

This file was deleted.

159 changes: 0 additions & 159 deletions elasticurl/src/commonMain/kotlin/Application.kt

This file was deleted.

62 changes: 0 additions & 62 deletions elasticurl/src/commonMain/kotlin/CliOpts.kt

This file was deleted.

Loading

0 comments on commit c1b5189

Please sign in to comment.