-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Native-image metadata and docs
- Loading branch information
1 parent
cee6fd5
commit 434cb7d
Showing
13 changed files
with
287 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...image/com.lightbend.akka.management/akka-management-cluster-bootstrap/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[ | ||
{ | ||
"name": "akka.management.cluster.bootstrap.LowestAddressJoinDecider", | ||
"methods": [ | ||
{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.actor.ActorSystem", "akka.management.cluster.bootstrap.ClusterBootstrapSettings"] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.bootstrap.ClusterBootstrap$", | ||
"fields": [ | ||
{ | ||
"name": "MODULE$" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.bootstrap.ClusterBootstrap", | ||
"methods": [ | ||
{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.actor.ExtendedActorSystem"] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.bootstrap.contactpoint.HttpBootstrapJsonProtocol$SeedNode", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.bootstrap.contactpoint.HttpBootstrapJsonProtocol$ClusterMember", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.bootstrap.contactpoint.HttpBootstrapJsonProtocol$SeedNodes", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
...tive-image/com.lightbend.akka.management/akka-management-cluster-http/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[ | ||
{ | ||
"name": "akka.management.cluster.ClusterHttpManagementRouteProvider$", | ||
"fields": [ { | ||
"name": "MODULE$" | ||
} ] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.javadsl.ClusterMembershipCheck", | ||
"methods": [{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.actor.ActorSystem"] | ||
}] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.scaladsl.ClusterMembershipCheck", | ||
"methods": [{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.actor.ActorSystem"] | ||
}] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ClusterUnreachableMember", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ClusterMember", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ClusterMembers", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ClusterHttpManagementMessage", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ShardEntityTypeKeys", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ShardRegionInfo", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.management.cluster.ShardDetails", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...ive-image/com.lightbend.akka.management/akka-discovery-kubernetes-api/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[ | ||
{ | ||
"name": "akka.discovery.kubernetes.KubernetesApiServiceDiscovery", | ||
"methods": [ | ||
{ | ||
"name": "<init>", | ||
"parameterTypes": [ | ||
"akka.actor.ActorSystem" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList$ContainerPort", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList.Container", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList.PodSpec", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList.ContainerStatus", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList.PodStatus", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList.Pod", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.discovery.kubernetes.PodList.Metadata", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Building Native Images | ||
|
||
Building native images with Akka HTTP is supported out of the box for the following modules: | ||
|
||
* akka-management | ||
* akka-management-cluster-bootstrap | ||
* akka-management-cluster-http | ||
* akka-management-discovery-kubernetes-api | ||
* akka-lease-kubernetes | ||
* akka-rolling-upgrade-kubernetes | ||
|
||
Other modules can likely be used but will require figuring out and adding additional native-image metadata. | ||
|
||
For details about building native images with Akka in general, see the @extref[Akka Documentation](akka:additional/native-image.html). |
26 changes: 26 additions & 0 deletions
26
...-INF/native-image/com.lightbend.akka.management/akka-lease-kubernetes/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"name": "akka.coordination.lease.kubernetes.KubernetesLease", | ||
"methods": [ | ||
{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.coordination.lease.LeaseSettings", "akka.actor.ExtendedActorSystem"] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.coordination.lease.kubernetes.internal.LeaseCustomResource", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.coordination.lease.kubernetes.internal.Metadata", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.coordination.lease.kubernetes.internal.Spec", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...s/META-INF/native-image/com.lightbend.akka.management/akka-management/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ | ||
"name": "akka.management.scaladsl.AkkaManagement$", | ||
"fields": [ { | ||
"name": "MODULE$" | ||
} ] | ||
}, | ||
{ | ||
"name": "akka.management.HealthCheckRoutes", | ||
"methods": [{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.actor.ExtendedActorSystem"] | ||
}] | ||
} | ||
] |
77 changes: 77 additions & 0 deletions
77
...e-image/com.lightbend.akka.management/akka-rolling-upgrade-kubernetes/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
[ | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.AppVersionRevision$", | ||
"fields": [ | ||
{ | ||
"name": "MODULE$" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.PodDeletionCost$", | ||
"fields": [ | ||
{ | ||
"name": "MODULE$" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.management.cluster.bootstrap.ClusterBootstrap", | ||
"methods": [ | ||
{ | ||
"name": "<init>", | ||
"parameterTypes": ["akka.actor.ExtendedActorSystem"] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.Metadata", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.PodCost", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.Spec", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.PodCostCustomResource", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.PodOwnerRef", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.PodMetadata", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.Pod", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.ReplicaAnnotation", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.ReplicaSetMetadata", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
}, | ||
{ | ||
"name": "akka.rollingupdate.kubernetes.ReplicaSet", | ||
"allDeclaredFields": true, | ||
"queryAllPublicMethods": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters