Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Optionally add locations to generated assets for load2 (#2533)

Eric Bariaux0ebd7007cc3d
diff --git a/container/src/main/java/org/openremote/container/util/AxialCoordinate.java b/container/src/main/java/org/openremote/container/util/AxialCoordinate.java
new file mode 100644
index 000000000..38e192bc2
--- /dev/null
+++ b/container/src/main/java/org/openremote/container/util/AxialCoordinate.java
@@ -0,0 +1,70 @@
+/*
+ * Copyright 2025, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.openremote.container.util;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Axial coordinates for hex grids (q, r).
+ */
+public class AxialCoordinate {
+ public final int q;
+ public final int r;
+
+ public AxialCoordinate(int q, int r) {
+ this.q = q;
+ this.r = r;
+ }
+
+ /**
+ * Returns the axial-to-cartesian X component (in hex units) for a pointy-top hex grid.
+ */
+ public double xHex() {
+ return q + r / 2d;
+ }
+
+ /**
+ * Returns the axial-to-cartesian Y component (in hex units) for a pointy-top hex grid.
+ */
+ public double yHex() {
+ return r * Math.sqrt(3d) / 2d;
+ }
+
+ /**
+ * Returns all axial coordinates in a hex ring at the given radius.
+ */
+ public static List<AxialCoordinate> ring(int radius) {
+ List<AxialCoordinate> results = new ArrayList<>(radius * 6);
+ int q = radius;
+ int r = 0;
+ int[][] directions = new int[][] {
+ {-1, 1}, {-1, 0}, {0, -1}, {1, -1}, {1, 0}, {0, 1}
+ };
+ for (int[] direction : directions) {
+ for (int i = 0; i < radius; i++) {
+ results.add(new AxialCoordinate(q, r));
+ q += direction[0];
+ r += direction[1];
+ }
+ }
+ return results;
+ }
+}
diff --git a/model/src/main/java/org/openremote/model/geo/GeoJSONPoint.java b/model/src/main/java/org/openremote/model/geo/GeoJSONPoint.java
index 37d398e6e..6fe08d4de 100644
--- a/model/src/main/java/org/openremote/model/geo/GeoJSONPoint.java
+++ b/model/src/main/java/org/openremote/model/geo/GeoJSONPoint.java
@@ -22,6 +22,7 @@ package org.openremote.model.geo;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.util.StdConverter;
+import org.geotools.referencing.GeodeticCalculator;
import org.locationtech.jts.geom.Coordinate;
import java.util.Objects;
@@ -89,6 +90,54 @@ public class GeoJSONPoint extends GeoJSONGeometry {
return coordinates.getZ() != Coordinate.NULL_ORDINATE;
}
+ /**
+ * Parses a raw location string formatted as "lon,lat" into a {@link GeoJSONPoint}.
+ *
+ * @param rawLocation the raw location string
+ * @return the parsed point, or null if the input is invalid
+ */
+ @JsonIgnore
+ public static GeoJSONPoint parseRawLocation(String rawLocation) {
+ if (rawLocation == null) {
+ return null;
+ }
+ String[] parts = rawLocation.split(",");
+ if (parts.length != 2) {
+ return null;
+ }
+ try {
+ double lon = Double.parseDouble(parts[0].trim());
+ double lat = Double.parseDouble(parts[1].trim());
+ return new GeoJSONPoint(lon, lat);
+ } catch (NumberFormatException ignored) {
+ return null;
+ }
+ }
+
+ /**
+ * Returns a new {@link GeoJSONPoint} offset from this point by the provided east/north distances in meters.
+ * Uses GeoTools {@link GeodeticCalculator} for geodetic accuracy.
+ *
+ * @param eastMeters distance to move east in meters
+ * @param northMeters distance to move north in meters
+ * @return a new point offset from this point
+ */
+ public GeoJSONPoint offsetByMeters(double eastMeters, double northMeters) {
+ double distance = Math.hypot(eastMeters, northMeters);
+ if (distance == 0d) {
+ return new GeoJSONPoint(getX(), getY());
+ }
+ double azimuth = Math.toDegrees(Math.atan2(eastMeters, northMeters));
+ if (azimuth < 0d) {
+ azimuth += 360d;
+ }
+ GeodeticCalculator calculator = new GeodeticCalculator();
+ calculator.setStartingGeographicPoint(getX(), getY());
+ calculator.setDirection(azimuth, distance);
+ java.awt.geom.Point2D destination = calculator.getDestinationGeographicPoint();
+ return new GeoJSONPoint(destination.getX(), destination.getY());
+ }
+
@Override
public String toString() {
return "GeoJSONPoint{" +
diff --git a/model/src/main/java/org/openremote/model/util/MapAccess.java b/model/src/main/java/org/openremote/model/util/MapAccess.java
index aea560cdf..58d0de8b0 100644
--- a/model/src/main/java/org/openremote/model/util/MapAccess.java
+++ b/model/src/main/java/org/openremote/model/util/MapAccess.java
@@ -78,4 +78,17 @@ public class MapAccess {
return defaultValue;
}
+
+ static public double getDouble(Map<String, String> config, String key, double defaultValue) {
+ String raw = getString(config, key, null);
+ if (raw == null) {
+ return defaultValue;
+ }
+ try {
+ return Double.parseDouble(raw.trim());
+ } catch (NumberFormatException ignored) {
+ return defaultValue;
+ }
+ }
+
}
diff --git a/model/src/test/java/org/openremote/model/geo/GeoJSONPointTest.java b/model/src/test/java/org/openremote/model/geo/GeoJSONPointTest.java
new file mode 100644
index 000000000..8dde32620
--- /dev/null
+++ b/model/src/test/java/org/openremote/model/geo/GeoJSONPointTest.java
@@ -0,0 +1,37 @@
+package org.openremote.model.geo;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertNull;
+
+public class GeoJSONPointTest {
+
+ @Test
+ public void parseRawLocationReturnsNullForInvalidInput() {
+ assertNull(GeoJSONPoint.parseRawLocation(null));
+ assertNull(GeoJSONPoint.parseRawLocation(""));
+ assertNull(GeoJSONPoint.parseRawLocation("1,2,3"));
+ assertNull(GeoJSONPoint.parseRawLocation("abc,2"));
+ assertNull(GeoJSONPoint.parseRawLocation("1,def"));
+ }
+
+ @Test
+ public void parseRawLocationParsesValidInput() {
+ GeoJSONPoint point = GeoJSONPoint.parseRawLocation("12.5, -3.75");
+ assertNotNull(point);
+ assertEquals(12.5d, point.getX());
+ assertEquals(-3.75d, point.getY());
+ }
+
+ @Test
+ public void offsetByMetersOffsetsEastAndNorth() {
+ GeoJSONPoint origin = new GeoJSONPoint(0d, 0d);
+ GeoJSONPoint offset = origin.offsetByMeters(1000d, 1000d);
+ double expectedLat = 0.0090436947d;
+ double expectedLon = 0.0089831528d;
+ assertEquals(expectedLat, offset.getY(), 1e-9);
+ assertEquals(expectedLon, offset.getX(), 1e-9);
+ }
+}
diff --git a/setup/src/load2/java/org/openremote/setup/load2/ManagerSetup.java b/setup/src/load2/java/org/openremote/setup/load2/ManagerSetup.java
index 5f5903cf4..c8d85dfd4 100644
--- a/setup/src/load2/java/org/openremote/setup/load2/ManagerSetup.java
+++ b/setup/src/load2/java/org/openremote/setup/load2/ManagerSetup.java
@@ -26,12 +26,17 @@ import org.openremote.model.asset.UserAssetLink;
import org.openremote.model.asset.impl.BuildingAsset;
import org.openremote.model.asset.impl.LightAsset;
import org.openremote.model.attribute.MetaItem;
+import org.openremote.model.geo.GeoJSONPoint;
import org.openremote.model.security.User;
import org.openremote.model.syslog.SyslogCategory;
import org.openremote.model.util.UniqueIdentifierGenerator;
import org.openremote.model.value.MetaItemType;
+import org.openremote.container.util.AxialCoordinate;
+import java.util.ArrayList;
import java.util.Collections;
+import java.util.List;
+import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.logging.Logger;
@@ -40,12 +45,19 @@ import java.util.stream.IntStream;
import static org.openremote.model.Constants.MASTER_REALM;
import static org.openremote.model.syslog.SyslogCategory.DATA;
import static org.openremote.model.util.MapAccess.getBoolean;
+import static org.openremote.model.util.MapAccess.getDouble;
import static org.openremote.model.util.MapAccess.getInteger;
+import static org.openremote.model.util.MapAccess.getString;
import static org.openremote.setup.load2.KeycloakSetup.OR_SETUP_USERS;
public class ManagerSetup extends org.openremote.manager.setup.ManagerSetup {
public static final String OR_SETUP_ASSETS = "OR_SETUP_ASSETS";
public static final String OR_SETUP_STORE_DATA_POINTS = "OR_SETUP_STORE_DATA_POINTS";
+ public static final String OR_SETUP_ASSETS_WITH_LOCATIONS = "OR_SETUP_ASSETS_WITH_LOCATIONS";
+ public static final String OR_SETUP_LOCATION_CLUSTERS = "OR_SETUP_LOCATION_CLUSTERS";
+ public static final String OR_SETUP_LOCATION_MAIN_CENTER = "OR_SETUP_LOCATION_MAIN_CENTER";
+ public static final String OR_SETUP_LOCATION_CENTER_DISTANCE = "OR_SETUP_LOCATION_CENTER_DISTANCE";
+ public static final String OR_SETUP_LOCATION_ASSET_RADIUS = "OR_SETUP_LOCATION_ASSET_RADIUS";
protected ProvisioningService provisioningService;
protected Container container;
@@ -66,12 +78,20 @@ public class ManagerSetup extends org.openremote.manager.setup.ManagerSetup {
int accounts = getInteger(container.getConfig(), OR_SETUP_USERS, 0);
int assets = getInteger(container.getConfig(), OR_SETUP_ASSETS, 0);
boolean storeDataPoints = getBoolean(container.getConfig(), OR_SETUP_STORE_DATA_POINTS, false);
+ int assetsWithLocations = getInteger(container.getConfig(), OR_SETUP_ASSETS_WITH_LOCATIONS, 0);
+ int locationClusters = getInteger(container.getConfig(), OR_SETUP_LOCATION_CLUSTERS, 0);
+ String mainCenterRaw = getString(container.getConfig(), OR_SETUP_LOCATION_MAIN_CENTER, "").trim();
+ double clusterCenterDistance = getDouble(container.getConfig(), OR_SETUP_LOCATION_CENTER_DISTANCE, 0d);
+ double assetsMaxRadius = getDouble(container.getConfig(), OR_SETUP_LOCATION_ASSET_RADIUS, 0d);
+
+ LocationConfig locationConfig = buildLocationConfig(assets, assetsWithLocations, locationClusters, mainCenterRaw,
+ clusterCenterDistance, assetsMaxRadius);
AtomicInteger createdAccounts = new AtomicInteger(0);
if (accounts > 1) {
IntStream.rangeClosed(1, accounts).forEach(i -> {
executor.execute(() -> {
- createAssets(i, assets, storeDataPoints);
+ createAssets(i, assets, storeDataPoints, locationConfig);
createdAccounts.incrementAndGet();
});
});
@@ -89,7 +109,7 @@ public class ManagerSetup extends org.openremote.manager.setup.ManagerSetup {
}
}
- private void createAssets(int account, int assets, boolean storeDataPoints) {
+ private void createAssets(int account, int assets, boolean storeDataPoints, LocationConfig locationConfig) {
String userName = "user" + account;
String serviceUserName = User.SERVICE_ACCOUNT_PREFIX + "serviceuser" + account;
@@ -117,6 +137,11 @@ public class ManagerSetup extends org.openremote.manager.setup.ManagerSetup {
asset.setId(assetId);
asset.setRealm(MASTER_REALM);
asset.setParent(building);
+ if (locationConfig.hasLocationForAsset(i)) {
+ int clusterIndex = locationConfig.clusterIndexForAsset(i);
+ GeoJSONPoint clusterCenter = locationConfig.clusterCenters.get(clusterIndex);
+ asset.setLocation(randomLocationAround(clusterCenter, locationConfig.assetsMaxRadius));
+ }
asset = assetStorageService.merge(asset);
LOG.info("Created light asset: " + asset.getName());
@@ -124,4 +149,106 @@ public class ManagerSetup extends org.openremote.manager.setup.ManagerSetup {
assetStorageService.storeUserAssetLinks(Collections.singletonList(new UserAssetLink(asset.getRealm(), userId, asset.getId())));
}
}
+
+ private LocationConfig buildLocationConfig(int assets, int assetsWithLocations, int locationClusters, String mainCenterRaw,
+ double clusterCenterDistance, double assetsMaxRadius) {
+ if (assetsWithLocations <= 0) {
+ return LocationConfig.disabled();
+ }
+ if (assetsWithLocations > assets) {
+ LOG.info("Requested assets with locations exceeds total assets; trimming to " + assets);
+ assetsWithLocations = assets;
+ }
+ if (locationClusters <= 0 || clusterCenterDistance <= 0d || assetsMaxRadius < 0d || mainCenterRaw.isEmpty()) {
+ LOG.warning("Location configuration incomplete; assets will be created without locations.");
+ return LocationConfig.disabled();
+ }
+ GeoJSONPoint mainCenter = GeoJSONPoint.parseRawLocation(mainCenterRaw);
+ if (mainCenter == null) {
+ LOG.warning("Invalid main center point; assets will be created without locations.");
+ return LocationConfig.disabled();
+ }
+ List<GeoJSONPoint> centers = buildClusterCenters(mainCenter, locationClusters, clusterCenterDistance);
+ return new LocationConfig(assetsWithLocations, assetsMaxRadius, centers);
+ }
+
+ private List<GeoJSONPoint> buildClusterCenters(GeoJSONPoint mainCenter, int clusters, double spacingMeters) {
+ List<GeoJSONPoint> centers = new ArrayList<>(clusters);
+ int ring = 0;
+ while (centers.size() < clusters) {
+ if (ring == 0) {
+ centers.add(mainCenter);
+ ring++;
+ continue;
+ }
+ for (AxialCoordinate coordinate : AxialCoordinate.ring(ring)) {
+ if (centers.size() >= clusters) {
+ break;
+ }
+ double eastMeters = spacingMeters * coordinate.xHex();
+ double northMeters = spacingMeters * coordinate.yHex();
+ centers.add(mainCenter.offsetByMeters(eastMeters, northMeters));
+ }
+ ring++;
+ }
+ return centers;
+ }
+
+ private GeoJSONPoint randomLocationAround(GeoJSONPoint center, double maxRadiusMeters) {
+ if (maxRadiusMeters <= 0d) {
+ return center;
+ }
+ ThreadLocalRandom random = ThreadLocalRandom.current();
+ double distance = Math.sqrt(random.nextDouble()) * maxRadiusMeters;
+ double angle = random.nextDouble() * Math.PI * 2d;
+ double eastMeters = Math.cos(angle) * distance;
+ double northMeters = Math.sin(angle) * distance;
+ return center.offsetByMeters(eastMeters, northMeters);
+ }
+
+ private static class LocationConfig {
+ final int assetsWithLocations;
+ final double assetsMaxRadius;
+ final List<GeoJSONPoint> clusterCenters;
+
+ private LocationConfig(int assetsWithLocations, double assetsMaxRadius, List<GeoJSONPoint> clusterCenters) {
+ this.assetsWithLocations = assetsWithLocations;
+ this.assetsMaxRadius = assetsMaxRadius;
+ this.clusterCenters = clusterCenters;
+ }
+
+ static LocationConfig disabled() {
+ return new LocationConfig(0, 0d, Collections.emptyList());
+ }
+
+ boolean hasLocationForAsset(int assetNumber) {
+ return assetNumber > 0 && assetNumber <= assetsWithLocations && !clusterCenters.isEmpty();
+ }
+
+ int clusterIndexForAsset(int assetNumber) {
+ if (assetsWithLocations <= 0 || clusterCenters.isEmpty()) {
+ throw new IllegalStateException("Cannot resolve cluster index without location configuration.");
+ }
+
+ if (assetNumber <= 0 || assetNumber > assetsWithLocations) {
+ throw new IllegalArgumentException("Asset number out of range for located assets: " + assetNumber);
+ }
+
+ // Assign the first assets evenly across clusters, giving one extra to the first remainder clusters.
+ int clusters = clusterCenters.size();
+ int base = assetsWithLocations / clusters;
+ int remainder = assetsWithLocations % clusters;
+
+ int locatedAssetIndex = assetNumber - 1;
+ int largerClusterSize = base + 1;
+ int largerClusterAssets = remainder * largerClusterSize;
+
+ if (locatedAssetIndex < largerClusterAssets) {
+ return locatedAssetIndex / largerClusterSize;
+ }
+
+ return remainder + ((locatedAssetIndex - largerClusterAssets) / base);
+ }
+ }
+
}
diff --git a/test/load2-eks/README.md b/test/load2-eks/README.md
index 6d6454841..987e3fe46 100644
--- a/test/load2-eks/README.md
+++ b/test/load2-eks/README.md
@@ -16,14 +16,23 @@ The profile is selected by setting the OR_PROFILE environment variable in the `e
This folder contains a different setup than load1 and includes different test scenarios.
-The setup is controlled by 2 parameters:
+The setup is controlled by the following parameters:
- OR_SETUP_USERS: the number of accounts to create
- OR_SETUP_ASSETS: the number of light assets to create in each account
+- OR_SETUP_ASSETS_WITH_LOCATIONS: number of assets (per account) that will be assigned a location
+- OR_SETUP_LOCATION_CLUSTERS: number of clusters to divide location-enabled assets into
+- OR_SETUP_LOCATION_MAIN_CENTER: main center point in "lon,lat" format (e.g. "4.470175,51.923464")
+- OR_SETUP_LOCATION_CENTER_DISTANCE: distance in meters between cluster centers
+- OR_SETUP_LOCATION_ASSET_RADIUS: max radius in meters for random asset locations around each cluster center
The setup creates:
- OR_SETUP_USERS standard user account
- In each account, 1 Building asset
- As child of each Building asset, OR_SETUP_ASSETS Light assets
+- OR_SETUP_ASSETS_WITH_LOCATIONS of those Light assets will have a location set.
+All locations are distributed in OR_SETUP_LOCATION_CLUSTERS clusters.
+The clusters' centers are arranged in a hex grid pattern around OR_SETUP_LOCATION_MAIN_CENTER.
+Within each cluster, the locations are random within a OR_SETUP_LOCATION_CENTER_DISTANCE radius from the cluster center.
- OR_SETUP_USERS restricted service users, linked to the corresponding Building asset,
with appropriate permission to push attribute values
diff --git a/test/load2-eks/profiles/2xlarge/values-manager-eks-load.yaml b/test/load2-eks/profiles/2xlarge/values-manager-eks-load.yaml
index fc8af5a3c..1526e0093 100644
--- a/test/load2-eks/profiles/2xlarge/values-manager-eks-load.yaml
+++ b/test/load2-eks/profiles/2xlarge/values-manager-eks-load.yaml
@@ -39,6 +39,16 @@ or:
value: "1000"
- name: OR_SETUP_ASSETS
value: "5"
+ - name: OR_SETUP_ASSETS_WITH_LOCATIONS
+ value: "0"
+ - name: OR_SETUP_LOCATION_CLUSTERS
+ value: "5"
+ - name: OR_SETUP_LOCATION_MAIN_CENTER
+ value: "4.469444,51.925"
+ - name: OR_SETUP_LOCATION_CENTER_DISTANCE
+ value: "3000"
+ - name: OR_SETUP_LOCATION_ASSET_RADIUS
+ value: "500"
- name: OR_SETUP_STORE_DATA_POINTS
value: "false"
- name: OR_JAVA_OPTS
diff --git a/test/load2-eks/profiles/4xlarge/values-manager-eks-load.yaml b/test/load2-eks/profiles/4xlarge/values-manager-eks-load.yaml
index 0066b3ed1..0d5243971 100644
--- a/test/load2-eks/profiles/4xlarge/values-manager-eks-load.yaml
+++ b/test/load2-eks/profiles/4xlarge/values-manager-eks-load.yaml
@@ -40,7 +40,7 @@ or:
- name: OR_SETUP_ASSETS
value: "5"
- name: OR_SETUP_ASSETS_WITH_LOCATIONS
- value: "4"
+ value: "0"
- name: OR_SETUP_LOCATION_CLUSTERS
value: "5"
- name: OR_SETUP_LOCATION_MAIN_CENTER
diff --git a/test/load2-eks/profiles/8xlarge/values-manager-eks-load.yaml b/test/load2-eks/profiles/8xlarge/values-manager-eks-load.yaml
index 402b2d6ba..3e5782d70 100644
--- a/test/load2-eks/profiles/8xlarge/values-manager-eks-load.yaml
+++ b/test/load2-eks/profiles/8xlarge/values-manager-eks-load.yaml
@@ -42,13 +42,13 @@ or:
- name: OR_SETUP_ASSETS_WITH_LOCATIONS
value: "0"
- name: OR_SETUP_LOCATION_CLUSTERS
- value: "0"
+ value: "5"
- name: OR_SETUP_LOCATION_MAIN_CENTER
- value: "0,0"
+ value: "4.469444,51.925"
- name: OR_SETUP_LOCATION_CENTER_DISTANCE
- value: "0"
+ value: "3000"
- name: OR_SETUP_LOCATION_ASSET_RADIUS
- value: "0"
+ value: "500"
- name: OR_SETUP_STORE_DATA_POINTS
value: "false"
- name: OR_JAVA_OPTS
diff --git a/test/load2-eks/profiles/large/values-manager-eks-load.yaml b/test/load2-eks/profiles/large/values-manager-eks-load.yaml
index 4dcabbe0f..3af039041 100644
--- a/test/load2-eks/profiles/large/values-manager-eks-load.yaml
+++ b/test/load2-eks/profiles/large/values-manager-eks-load.yaml
@@ -39,6 +39,16 @@ or:
value: "1000"
- name: OR_SETUP_ASSETS
value: "5"
+ - name: OR_SETUP_ASSETS_WITH_LOCATIONS
+ value: "0"
+ - name: OR_SETUP_LOCATION_CLUSTERS
+ value: "5"
+ - name: OR_SETUP_LOCATION_MAIN_CENTER
+ value: "4.469444,51.925"
+ - name: OR_SETUP_LOCATION_CENTER_DISTANCE
+ value: "3000"
+ - name: OR_SETUP_LOCATION_ASSET_RADIUS
+ value: "500"
- name: OR_SETUP_STORE_DATA_POINTS
value: "false"
- name: OR_JAVA_OPTS
diff --git a/test/load2-eks/profiles/xlarge-minimal/values-manager-eks-load.yaml b/test/load2-eks/profiles/xlarge-minimal/values-manager-eks-load.yaml
index c53a17de3..0aad201cb 100644
--- a/test/load2-eks/profiles/xlarge-minimal/values-manager-eks-load.yaml
+++ b/test/load2-eks/profiles/xlarge-minimal/values-manager-eks-load.yaml
@@ -42,13 +42,13 @@ or:
- name: OR_SETUP_ASSETS_WITH_LOCATIONS
value: "0"
- name: OR_SETUP_LOCATION_CLUSTERS
- value: "0"
+ value: "5"
- name: OR_SETUP_LOCATION_MAIN_CENTER
- value: "0,0"
+ value: "4.469444,51.925"
- name: OR_SETUP_LOCATION_CENTER_DISTANCE
- value: "0"
+ value: "3000"
- name: OR_SETUP_LOCATION_ASSET_RADIUS
- value: "0"
+ value: "500"
- name: OR_SETUP_STORE_DATA_POINTS
value: "false"
- name: OR_JAVA_OPTS
diff --git a/test/load2-eks/profiles/xlarge/values-manager-eks-load.yaml b/test/load2-eks/profiles/xlarge/values-manager-eks-load.yaml
index eed3b9868..8453d1042 100644
--- a/test/load2-eks/profiles/xlarge/values-manager-eks-load.yaml
+++ b/test/load2-eks/profiles/xlarge/values-manager-eks-load.yaml
@@ -39,6 +39,16 @@ or:
value: "1000"
- name: OR_SETUP_ASSETS
value: "5"
+ - name: OR_SETUP_ASSETS_WITH_LOCATIONS
+ value: "0"
+ - name: OR_SETUP_LOCATION_CLUSTERS
+ value: "5"
+ - name: OR_SETUP_LOCATION_MAIN_CENTER
+ value: "4.469444,51.925"
+ - name: OR_SETUP_LOCATION_CENTER_DISTANCE
+ value: "3000"
+ - name: OR_SETUP_LOCATION_ASSET_RADIUS
+ value: "500"
- name: OR_SETUP_STORE_DATA_POINTS
value: "false"
- name: OR_JAVA_OPTS