Skip to content

Commit 958b02a

Browse files
Rachael-ERachael Ellen
andauthored
Update Local Server readme instructions (#627)
* add additional information for how to change local server version manually * format readmes * remove end comma from tags * fix formatting and update metadata style checker * fix geoprocessing formatting * further formatting * fix typos * update local server install text following review * update formatting and url link * update bullets * asterisks Co-authored-by: Rachael Ellen <[email protected]>
1 parent 090fea6 commit 958b02a

File tree

5 files changed

+61
-25
lines changed

5 files changed

+61
-25
lines changed

.github/scripts/ci/readme_metadata_style_check/metadata_style_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def parse_tags(tags_string: str) -> typing.List[str]:
7979
tags = tags_string.split(',')
8080
if not tags:
8181
raise Exception('README Tags parse failure!')
82-
return sorted([tag.strip() for tag in tags])
82+
return sorted([tag.strip() for tag in tags], key=str.casefold)
8383

8484
def get_folder_name_from_path(path: str, index: int = -1) -> str:
8585
"""

local_server/local-server-feature-layer/README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ A Local Server and Local Feature Service will automatically be started. Once sta
1717
1. Create and run a local server with `LocalServer.INSTANCE`.
1818
2. Start the server asynchronously with `Server.startAsync()`.
1919
3. Wait for server to be in the `LocalServerStatus.STARTED` state.
20-
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
20+
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
2121
4. Create and run a local feature service.
22-
1. Instantiate `LocalFeatureService(Url)` to create a local feature service with the given url path to mpk file.
23-
2. Start the service asynchronously with `LocalFeatureService.startAsync()`.
24-
* The service will be added to the local server automatically.
22+
1. Instantiate `LocalFeatureService(Url)` to create a local feature service with the given url path to mpk file.
23+
2. Start the service asynchronously with `LocalFeatureService.startAsync()`.
24+
* The service will be added to the local server automatically.
2525
5. Wait for state of the feature service to be `LocalServerStatus.STARTED`.
26-
* Callbacks attached to `LocalFeatureService.addStatusChangedListener()` will invoke whenever the status of the local service has changed.
26+
* Callbacks attached to `LocalFeatureService.addStatusChangedListener()` will invoke whenever the status of the local service has changed.
2727
6. Create a feature layer from local feature service.
28-
1. Create a `ServiceFeatureTable(Url)` from local feature service url provided by `LocalFeatureService.getUrl()`.
29-
2. Load the table asynchronously using `ServiceFeatureTable.loadAsync()`.
30-
3. Create feature layer from service feature table using `new FeatureLayer(ServiceFeatureTable)`.
31-
4. Load the layer asynchronously using `FeatureLayer.loadAsync()`.
28+
1. Create a `ServiceFeatureTable(Url)` from local feature service url provided by `LocalFeatureService.getUrl()`.
29+
2. Load the table asynchronously using `ServiceFeatureTable.loadAsync()`.
30+
3. Create feature layer from service feature table using `new FeatureLayer(ServiceFeatureTable)`.
31+
4. Load the layer asynchronously using `FeatureLayer.loadAsync()`.
3232
7. Add feature layer to map using `ArcGISMap.getOperationalLayers().add(FeatureLayer)`.
3333

3434
## Relevant API
@@ -41,7 +41,16 @@ A Local Server and Local Feature Service will automatically be started. Once sta
4141

4242
## Additional information
4343

44-
Local Server can be downloaded for Windows and Linux platforms. Local Server is not supported on macOS.
44+
Local Server can be downloaded for Windows and Linux platforms from your [ArcGIS Developers dashboard](https://developers.arcgis.com/java/local-server/install-local-server/). Local Server is not supported on macOS.
45+
46+
Specific versions of ArcGIS Runtime Local Server are compatible with the version of ArcGIS Pro you use to create geoprocessing and map packages. For example, the ArcGIS Runtime API for Java v100.10.0 is configured for Local Server v100.10.0 which provides compatibility for packages created with ArcGIS Pro 2.7.x. For more information see the [ArcGIS Developers guide](https://developers.arcgis.com/java/reference/system-requirements/#local-server-version-compatibility-with-arcgis-desktop-and-arcgis-pro).
47+
48+
To configure the ArcGIS Runtime API for Java v100.10.0 to work with Local Server 100.9.0:
49+
50+
* Development machine:
51+
* Locate the Local Server installation directory and rename the folder from `LocalServer100.9` to `LocalServer100.10`.
52+
* Update the environment variable from `RUNTIME_LOCAL_SERVER_100_9` to `RUNTIME_LOCAL_SERVER_100_10`.
53+
* Deployment machine(s): Rename the deployment folder included with your application (or referenced by the LocalServerEnvironment.InstallPath property) from `LocalServer100.9` to `LocalServer100.10`.
4554

4655
## Tags
4756

local_server/local-server-geoprocessing/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Contour Line Controls (Top Left):
2121
1. Create and run a local server with `LocalServer.INSTANCE`.
2222
2. Start the server asynchronously with `Server.startAsync()`.
2323
3. Wait for server to be in the `LocalServerStatus.STARTED` state.
24-
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
24+
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
2525
4. Start a `LocalGeoprocessingService` and run a `GeoprocessingTask`.
2626
1. Instantiate `LocalGeoprocessingService(Url, ServiceType)` to create a local geoprocessing service.
2727
2. Invoke `LocalGeoprocessingService.start()` to start the service asynchronously.
@@ -52,8 +52,17 @@ Contour Line Controls (Top Left):
5252

5353
## Additional information
5454

55-
Local Server can be downloaded for Windows and Linux platforms. Local Server is not supported on macOS.
55+
Local Server can be downloaded for Windows and Linux platforms from your [ArcGIS Developers dashboard](https://developers.arcgis.com/java/local-server/install-local-server/). Local Server is not supported on macOS.
56+
57+
Specific versions of ArcGIS Runtime Local Server are compatible with the version of ArcGIS Pro you use to create geoprocessing and map packages. For example, the ArcGIS Runtime API for Java v100.10.0 is configured for Local Server v100.10.0 which provides compatibility for packages created with ArcGIS Pro 2.7.x. For more information see the [ArcGIS Developers guide](https://developers.arcgis.com/java/reference/system-requirements/#local-server-version-compatibility-with-arcgis-desktop-and-arcgis-pro).
58+
59+
To configure the ArcGIS Runtime API for Java v100.10.0 to work with Local Server 100.9.0:
60+
61+
* Development machine:
62+
* Locate the Local Server installation directory and rename the folder from `LocalServer100.9` to `LocalServer100.10`.
63+
* Update the environment variable from `RUNTIME_LOCAL_SERVER_100_9` to `RUNTIME_LOCAL_SERVER_100_10`.
64+
* Deployment machine(s): Rename the deployment folder included with your application (or referenced by the LocalServerEnvironment.InstallPath property) from `LocalServer100.9` to `LocalServer100.10`.
5665

5766
## Tags
5867

59-
geoprocessing, local, offline, parameters, processing, service,
68+
geoprocessing, local, offline, parameters, processing, service

local_server/local-server-map-image-layer/README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ The Local Server and local map service will automatically be started and, once r
1717
1. Create and run a local server with `LocalServer.INSTANCE`.
1818
2. Start the server asynchronously with `Server.startAsync()`.
1919
3. Wait for server to be in the `LocalServerStatus.STARTED` state.
20-
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
20+
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
2121
4. Create and run a local service, example of running a `LocalMapService`.
2222
1. Instantiate `LocalMapService(Url)` to create a local map service with the given URL path to the map package (`mpk` file).
2323
2. Start the service asynchronously with `LocalFeatureService.startAsync()`. The service is added to the Local Server automatically.
2424
5. Wait for the state of the map service to be `LocalServerStatus.STARTED`.
25-
* Callbacks attached to `LocalFeatureService.addStatusChangedListener()` will invoke whenever the status of the local service has changed.
25+
* Callbacks attached to `LocalFeatureService.addStatusChangedListener()` will invoke whenever the status of the local service has changed.
2626
6. Create an ArcGIS map image layer from local map service.
27-
1. Create a `ArcGISMapImageLayer(Url)` from local map service url provided by `LocalMapService.getUrl()`.
28-
2. Add the layer to the map's operational layers.
29-
3. Connect to the map image layer's `LoadStatusChanged` signal.
30-
4. When the layer's status is `Loaded`, set the map view's extent to the layer's full extent.
27+
1. Create a `ArcGISMapImageLayer(Url)` from local map service url provided by `LocalMapService.getUrl()`.
28+
2. Add the layer to the map's operational layers.
29+
3. Connect to the map image layer's `LoadStatusChanged` signal.
30+
4. When the layer's status is `Loaded`, set the map view's extent to the layer's full extent.
3131

3232
## Relevant API
3333

@@ -38,7 +38,16 @@ The Local Server and local map service will automatically be started and, once r
3838

3939
## Additional information
4040

41-
Local Server can be downloaded for Windows and Linux platforms. Local Server is not supported on macOS.
41+
Local Server can be downloaded for Windows and Linux platforms from your [ArcGIS Developers dashboard](https://developers.arcgis.com/java/local-server/install-local-server/). Local Server is not supported on macOS.
42+
43+
Specific versions of ArcGIS Runtime Local Server are compatible with the version of ArcGIS Pro you use to create geoprocessing and map packages. For example, the ArcGIS Runtime API for Java v100.10.0 is configured for Local Server v100.10.0 which provides compatibility for packages created with ArcGIS Pro 2.7.x. For more information see the [ArcGIS Developers guide](https://developers.arcgis.com/java/reference/system-requirements/#local-server-version-compatibility-with-arcgis-desktop-and-arcgis-pro).
44+
45+
To configure the ArcGIS Runtime API for Java v100.10.0 to work with Local Server 100.9.0:
46+
47+
* Development machine:
48+
* Locate the Local Server installation directory and rename the folder from `LocalServer100.9` to `LocalServer100.10`.
49+
* Update the environment variable from `RUNTIME_LOCAL_SERVER_100_9` to `RUNTIME_LOCAL_SERVER_100_10`.
50+
* Deployment machine(s): Rename the deployment folder included with your application (or referenced by the LocalServerEnvironment.InstallPath property) from `LocalServer100.9` to `LocalServer100.10`.
4251

4352
## Tags
4453

local_server/local-server-services/README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ To start a `LocalServer` and attach a `LocalService`:
2121
1. Create and run a local server with `LocalServer.INSTANCE`.
2222
2. Start the server asynchronously with `Server.startAsync()`.
2323
3. Wait for server to be in the `LocalServerStatus.STARTED` state.
24-
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
24+
* Callbacks attached to `Server.addStatusChangedListener()` will invoke whenever the status of the local server has changed.
2525
4. Create and run a local service. Here is an example of running a `LocalMapService`:
2626
1. Instantiate `LocalMapService(Url)` to create a local map service with the given URL path to map package (`mpk` or `mpkx` file).
27-
2. Start the job with `LocalMapServic.estartAsync()`.
28-
* The service is added to the `LocalServer` automatically.
27+
2. Start the job with `LocalMapService.startAsync()`.
28+
* The service is added to the `LocalServer` automatically.
2929

3030
To stop a `LocalServer` and any attached `LocalServices`:
3131

@@ -44,7 +44,16 @@ To stop a `LocalServer` and any attached `LocalServices`:
4444

4545
## Additional information
4646

47-
Local Server can be downloaded for Windows and Linux platforms. Local Server is not supported on macOS.
47+
Local Server can be downloaded for Windows and Linux platforms from your [ArcGIS Developers dashboard](https://developers.arcgis.com/java/local-server/install-local-server/). Local Server is not supported on macOS.
48+
49+
Specific versions of ArcGIS Runtime Local Server are compatible with the version of ArcGIS Pro you use to create geoprocessing and map packages. For example, the ArcGIS Runtime API for Java v100.10.0 is configured for Local Server v100.10.0 which provides compatibility for packages created with ArcGIS Pro 2.7.x. For more information see the [ArcGIS Developers guide](https://developers.arcgis.com/java/reference/system-requirements/#local-server-version-compatibility-with-arcgis-desktop-and-arcgis-pro).
50+
51+
To configure the ArcGIS Runtime API for Java v100.10.0 to work with Local Server 100.9.0:
52+
53+
* Development machine:
54+
* Locate the Local Server installation directory and rename the folder from `LocalServer100.9` to `LocalServer100.10`.
55+
* Update the environment variable from `RUNTIME_LOCAL_SERVER_100_9` to `RUNTIME_LOCAL_SERVER_100_10`.
56+
* Deployment machine(s): Rename the deployment folder included with your application (or referenced by the LocalServerEnvironment.InstallPath property) from `LocalServer100.9` to `LocalServer100.10`.
4857

4958
## Tags
5059

0 commit comments

Comments
 (0)