Skip to content

feat/reassign org#54

Merged
Jonathan-Zollinger merged 27 commits into
mainfrom
feat/reassign-org
Oct 29, 2025
Merged

feat/reassign org#54
Jonathan-Zollinger merged 27 commits into
mainfrom
feat/reassign-org

Conversation

@Jonathan-Zollinger

Copy link
Copy Markdown
Member
  • feat: add update boundary endpoint
  • feat: add locationWithRadius
  • test: validate org search by location
  • test: configure tests to run against stage
  • fix: simplify and unauthenticate org search
  • refactor: clean up whitespace
  • refactor: remove commented out lines
  • feat: add user creation in json
  • refactor: convert to yaml
  • feat: add imageClient
  • feat: add orgClient.createOrg()
  • feat: add MakeAdminForOrg (needs tests)
  • debug: create org api request test
  • refactor: format whitespace
  • fix: add missing orgCreateRequest properties
  • docs: remove multiline docs from yaml
  • refactor: remove unused code
  • test: add org.searchByLocation test
  • test: add org.getOrgOwners test
  • test: modify org.createOrg
  • test: test org.createOrg with diff auth
  • refactor: move re-used code to methods
  • feat(test): run tests in parallel
  • fix(test): fix i/o for temppasswordspec
  • feat: introduce makeAdminForOrg
  • ci: point gh-actions to local runner

@Jonathan-Zollinger

Copy link
Copy Markdown
Member Author

I tested this locally since it runs against dev.justserve.org

./gradlew clean test nativeCompile

> Task :generateClientOpenApiApis
Model DynamicRoutingDataResponse_dynamicRouteType promoted to its own schema due to resolveInlineEnums=true
Undefined array inner type for `null`. Default to String.
Undefined array inner type for `null`. Default to String.
Undefined array inner type for `null`. Default to String.
Duplicate file path detected. Not all operating systems can handle case sensitive file paths. path=C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\generated\openapi\generateClientOpenApiApis\src\main\resources\application.yml
Duplicate file path detected. Not all operating systems can handle case sensitive file paths. path=C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\generated\openapi\generateClientOpenApiApis\src\main\resources\logback.xml
Duplicate file path detected. Not all operating systems can handle case sensitive file paths. path=C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\generated\openapi\generateClientOpenApiApis\README.md
Duplicate file path detected. Not all operating systems can handle case sensitive file paths. path=C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\generated\openapi\generateClientOpenApiApis\docs\apis\auth.md

> Task :generateClientOpenApiModels
Model DynamicRoutingDataResponse_dynamicRouteType promoted to its own schema due to resolveInlineEnums=true
Undefined array inner type for `null`. Default to String.
Undefined array inner type for `null`. Default to String.
Undefined array inner type for `null`. Default to String.

> Task :generateResourcesConfigFile
[native-image-plugin] Resources configuration written into C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\native\generated\generateResourcesConfigFile\resource-config.json

> Task :nativeCompile
[native-image-plugin] GraalVM Toolchain detection is disabled
[native-image-plugin] GraalVM location read from environment variable: JAVA_HOME
[native-image-plugin] Native Image executable path: C:\Users\jonathanzollinger\.jdks\graalvm-ce-21.0.2\bin\native-image.cmd
========================================================================================================================
GraalVM Native Image: Generating 'justserve' (executable)...
========================================================================================================================
For detailed information and explanations on the build output, visit:
https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md
------------------------------------------------------------------------------------------------------------------------
[1/8] Initializing...                                                                                   (11.6s @ 0.23GB)
 Java version: 21.0.2+13, vendor version: GraalVM CE 21.0.2+13.1
 Graal compiler: optimization level: 2, target machine: x86-64-v3
 C compiler: cl.exe (microsoft, x64, 19.44.35219)
 Garbage collector: Serial GC (max heap size: 80% of RAM)
 2 user-specific feature(s):
 - com.oracle.svm.thirdparty.gson.GsonFeature
 - io.micronaut.core.io.service.ServiceLoaderFeature
------------------------------------------------------------------------------------------------------------------------
 3 experimental option(s) unlocked:
 - '-H:JNIConfigurationResources' (origin(s): 'META-INF\native-image\org.jline\jline-native\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar')
 - '-H:ResourceConfigurationResources' (origin(s): 'META-INF\native-image\org.jline\jline-terminal-jni\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal-jna\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal-jansi\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal-ffm\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-native\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jansi-core\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar')
 - '-H:ReflectionConfigurationResources' (origin(s): 'META-INF\native-image\org.jline\jline-terminal-jni\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal-jna\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal-jansi\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal-ffm\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-terminal\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar', 'META-INF\native-image\org.jline\jline-native\native-image.properties' in 'file:///C:/Users/jonathanzollinger/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.30.5/a47952251d51f6f14761dfbbc2b2b265d488126e/jline-3.30.5.jar')
------------------------------------------------------------------------------------------------------------------------
Build resources:
 - 7.17GB of memory (22.8% of 31.46GB system memory, determined at start)
 - 22 thread(s) (100.0% of 22 available processor(s), determined at start)
[2/8] Performing analysis...  [******]                                                                  (23.1s @ 1.64GB)
   15,473 reachable types   (89.4% of   17,314 total)
   22,596 reachable fields  (57.8% of   39,074 total)
   76,407 reachable methods (62.0% of  123,199 total)
    5,233 types,   793 fields, and 5,634 methods registered for reflection
      108 types,   291 fields, and   153 methods registered for JNI access
        5 native libraries: crypt32, ncrypt, psapi, version, winhttp
[3/8] Building universe...                                                                               (3.7s @ 1.66GB)
[4/8] Parsing methods...      [*]                                                                        (1.6s @ 1.68GB)
[5/8] Inlining methods...     [***]                                                                      (1.0s @ 1.67GB)
[6/8] Compiling methods...    [****]                                                                    (13.6s @ 1.17GB)
[7/8] Layouting methods...    [***]                                                                      (7.0s @ 2.08GB)
[8/8] Creating image...       [***]                                                                      (7.4s @ 2.78GB)
  35.15MB (46.43%) for code area:    50,936 compilation units
  39.92MB (52.73%) for image heap:  388,824 objects and 530 resources
 652.72kB ( 0.84%) for other data
  75.70MB in total
------------------------------------------------------------------------------------------------------------------------
Top 10 origins of code area:                                Top 10 object types in image heap:
  14.37MB java.base                                           10.63MB byte[] for code metadata
   2.93MB java.xml                                             5.00MB byte[] for java.lang.String
   1.80MB svm.jar (Native Image)                               4.52MB java.lang.Class
   1.18MB micronaut-inject-4.8.18.jar                          3.67MB byte[] for embedded resources
 977.60kB picocli-4.7.6.jar                                    3.31MB java.lang.String
 913.78kB reactor-core-3.7.2.jar                               1.30MB com.oracle.svm.core.hub.DynamicHubCompanion
 805.83kB justserve-cli-0.0.6.jar                           1007.27kB java.lang.Object[]
 782.86kB logback-core-1.5.16.jar                            989.88kB byte[] for reflection metadata
 698.01kB netty-buffer-4.1.119.Final.jar                     881.08kB byte[] for general heap data
 652.99kB jdk.proxy4                                         670.42kB java.lang.String[]
   9.80MB for 64 more packages                                 8.02MB for 3435 more object types
------------------------------------------------------------------------------------------------------------------------
Recommendations:
 INIT: Adopt '--strict-image-heap' to prepare for the next GraalVM release.
 HEAP: Set max heap for improved and more predictable memory usage.
 CPU:  Enable more CPU features with '-march=native' for improved performance.
------------------------------------------------------------------------------------------------------------------------
                        4.5s (6.3% of total time) in 106 GCs | Peak RSS: 4.48GB | CPU load: 7.93
------------------------------------------------------------------------------------------------------------------------
Produced artifacts:
 C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\native\nativeCompile\justserve.exe (executable)
========================================================================================================================
Finished generating 'justserve' in 1m 11s.
[native-image-plugin] Native Image written to: C:\Users\jonathanzollinger\github\JustServe-Resources\cli\build\native\nativeCompile

[Incubating] Problems report is available at: file:///C:/Users/jonathanzollinger/github/JustServe-Resources/cli/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 2m 8s
12 actionable tasks: 12 executed

@Jonathan-Zollinger
Jonathan-Zollinger merged commit 8951fcb into main Oct 29, 2025
1 check failed
@Jonathan-Zollinger
Jonathan-Zollinger deleted the feat/reassign-org branch October 29, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants