User Tools

Site Tools


data_core:app_store_connect_updates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
data_core:app_store_connect_updates [2019/04/01 13:36] – created sudata_core:app_store_connect_updates [2023/08/30 13:27] (current) su
Line 3: Line 3:
 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//. 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.+By default, updates are distributed automatically from the "stable" NuGet feed. But this can be modified to update on demand, and/or from an alternative NuGet feed.
  
  
-===== Change NuGet Feed =====+===== Modify "App Store Connect" NuGet Feed =====
  
 The following NuGet feeds are available: The following NuGet feeds are available:
  
 ^ Feed ^ URL ^ Description ^ ^ Feed ^ URL ^ Description ^
-| Stable | https://packages.intelligentplant.com:443/stable/nuget | Official production release. | +| Stable | https://packages.intelligentplant.com/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. | +| Beta | https://packages.intelligentplant.com/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. |+| Canary |https://packages.intelligentplant.com/canary/nuget | **Pre-release:** Canary versions contain the latest functionality, but may not be carefully tested. |
  
 To modify the NuGet Feed: To modify the NuGet Feed:
  
- 1. Stop the Intelligent Plant Data Core windows service+1. In Windows Services, stop **Intelligent Plant Data Core Service**.
  
- 2. Open configuration file: %ProgramFiles%\Intelligent Plant\Data Core\DataCore.ApplicationHost.exe.config +2. Open configuration file (with an editor that has administrative privileges)''%ProgramFiles%\Intelligent Plant\Data Core\DataCore.ApplicationHost.exe.config''.
-  +
- 3Modify AppSetting "applicationHostEngine.appStoreRepositoryPath":+
  
-<code>+3. Modify app setting "appStoreRepositoryPath": <code>
 <add key="applicationHostEngine.appStoreRepositoryPath" value="[Enter NuGet URL here]" /> <add key="applicationHostEngine.appStoreRepositoryPath" value="[Enter NuGet URL here]" />
 </code> </code>
  
- 4. If changing to a **pre-release** feed (e.g. Beta or Canary),+4. If changing to a **pre-release** feed (e.g. Beta or Canary), perform steps 4.1 and 4.2: 
 + 
 +4.1. Open configuration file (with an editor that has administrative privileges): ''%ProgramData%\Intelligent Plant\Data Core Application Host\Service\Data\Data Core Application Host.DataStoreApplicationManager.Applications.data''
 + 
 +4.2. Modify ''AllowPreReleasePackages'' setting: <code> 
 +"AllowPreReleasePackages": true, 
 +</code> 
 + 
 +5. In Windows Services, restart **Intelligent Plant Data Core Service**.
  
-    4.1  
-    
        
 +
 +
 +===== Modify "App Store Connect" Update Check Schedule =====
 +
 +By default, App Store Connect automatically updates when new software packages are available. This results in short periods of downtime.
 +
 +Updates are usually ((Stable packages may be released outside usual deployment schedules if urgent. Pre-release packages may be deployed at any time.)) deployed on Fridays during UK business hours. If this is not convenient, update checks can be rescheduled as follows:
 +
 + 1. In Windows Services, stop **Intelligent Plant Data Core Service**.
 +
 + 2. Open configuration file (with an editor that has administrative privileges): ''%ProgramFiles%\Intelligent Plant\Data Core\DataCore.ApplicationHost.exe.config''.
 + 
 + 3. Modify app settings for ''checkForUpdatesSchedule'' and ''checkForUpdatesOnStartup'':
 +
 +<code>
 +<add key="applicationHostEngine.checkForUpdatesSchedule" value="0 0 12 ? * SAT *" />
 +<add key="applicationHostEngine.checkForUpdatesOnStartup" value="false" />
 +</code>
 +
 +The schedule is specified as a [[http://www.cronmaker.com/|CRON]] schedule (for example, "0 0 12 ? * SAT *" checks for updates every Saturdays at midday).
 +      
 + 4. In Windows Services, restart **Intelligent Plant Data Core Service**.
 +
 +
 +
 +===== Disable "App Store Connect" Automatic Updates =====
 +
 +To disable automatic updates altogether (not recommended):
 +
 + 1. In Windows Services, stop **Intelligent Plant Data Core Service**.
 +
 + 2. Open configuration file (with an editor that has administrative privileges): ''%ProgramData%\Intelligent Plant\Data Core Application Host\Service\Data\Data Core Application Host.DataStoreApplicationManager.Applications.data''.
 +    
 + 3. Modify ''AutoUpdate'' setting:
 +    
 +<code> "AutoUpdate": false, </code>
 +    
 + 4. In Windows Services, restart **Intelligent Plant Data Core Service**.
 +
 +
  
  
  
data_core/app_store_connect_updates.1554125766.txt.gz · Last modified: 2019/04/01 13:36 by su