User Tools

Site Tools


data_core:app_store_connect_updates

This is an old revision of the document!


App Store Connect Updates

Once installed, App Store Connect receives software updates distributed via the Intelligent Plant NuGet service - a mechanism for pushing update packages to App Store Connections.

By default, updates are distributed automatically from the “stable” NuGet feed. But this can be modified to update on demand, and/or from alternative NuGet feed.

Modify "App Store Connect" NuGet Feed

The following NuGet feeds are available:

Feed URL Description
Stable https://packages.intelligentplant.com:443/stable/nuget Official production release.
Beta https://packages.intelligentplant.com:443/beta/nuget Pre-release: Beta versions have gone through in-house alpha testing and are generally fairly close in look, feel and function to the final product.
Canary https://packages.intelligentplant.com:443/canary/nuget Pre-release: Canary versions contain the latest functionality, but may not be carefully tested.

To modify the NuGet Feed:

1. Stop the Intelligent Plant Data Core windows service.

2. Open configuration file: %ProgramFiles%\Intelligent Plant\Data Core\DataCore.ApplicationHost.exe.config

3. Modify app setting “appStoreRepositoryPath”:

<add key="applicationHostEngine.appStoreRepositoryPath" value="[Enter NuGet URL here]" />

4. If changing to a pre-release feed (e.g. Beta or Canary), a further modification is required.

  4.1 Open configuration file: %ProgramData%\Intelligent Plant\Data Core Application Host\Service\Data\Data Core Application Host.DataStoreApplicationManager.Applications.data
  
  4.2 Modify "AllowPreReleasePackages" setting:
  
  {{{ "AllowPreReleasePackages": true, }}}
  
  

5. Restart the Intelligent Plant Data Core windows service.

Modify "App Store Connect" Update Schedule

By default, App Store Connect automatically updates when new software packages are available. This results in short periods of downtime.

Updates are usually* deployed on Fridays business during business hours. If this is not convenient, updates can be rescheduled as follows:

1. Stop the Intelligent Plant Data Core windows service.

2. Open configuration file: %ProgramFiles%\Intelligent Plant\Data Core\DataCore.ApplicationHost.exe.config

3. Modify app settings for “checkForUpdatesSchedule” and “checkForUpdatesOnStartup”:

<add key="applicationHostEngine.checkForUpdatesSchedule" value="0 0 12 ? * SAT *" />
<add key="applicationHostEngine.checkForUpdatesOnStartup" value="false" />

The schedule is specified as a CRONschedule (e.g. “0 0 12 ? * SAT *” for “Saturdays at midday”).

4. Restart the Intelligent Plant Data Core windows service.

* Stable packages may be released outside usual deployment schedules if urgent. Pre-release may be deployed at any time.

Disable Automatic "App Store Connect" Updates

To disable automatic updates altogether (not recommended):

1. Stop the Intelligent Plant Data Core windows service.

2. Open configuration file: %ProgramData%\Intelligent Plant\Data Core Application Host\Service\Data\Data Core Application Host.DataStoreApplicationManager.Applications.data

3. Modify “AutoUpdate” setting:

 "AutoUpdate": false, 

4. Restart the Intelligent Plant Data Core windows service.

data_core/app_store_connect_updates.1554129181.txt.gz · Last modified: 2019/04/01 14:33 by su