Date: Thu, 28 Mar 2024 12:58:41 -0400 (EDT) Message-ID: <847335467.655.1711645121811@ip-10-208-26-37.ec2.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_654_1761885707.1711645121802" ------=_Part_654_1761885707.1711645121802 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Protege client references a file called "plugins.repository" to dete= rmine which plugins should be installed on the client. The default lo= cation for the plugins.repository for the production client is at https://raw.githubusercontent.com/ncievs/autoupdate/master/plugins.reposi= tory. This repository points to the location of the individual plugin c= onfiguration files.
Example plugins.repository:
// ***** CURRENT PLUG-INS (alphabetical ordering) *****
// NCI Edit Tab
https://raw.githubusercontent.com/ncievs/nci-ed=
it-tab/master/src/main/resources/prod/update.properties
// NCI Search Tab
https://raw.githubusercontent.com/nciev=
s/lucene-search-tab/master/src/main/resources/prod/update.properties
.....
There are currently 7 plugin projects referenced by the plugins.reposito= ry
NCI Edit Tab: https://github.com/ncievs/nci-edit-tab<= /a>
NCI Search Tab: https://github.com//ncievs/lucene= -search-tab
Metaproject Admin: https://github.com//ncievs/met= aproject-admin
Revision History: https://github.com//ncievs/revis= ion-history
SPARQL Query: https://github.com//ncievs/sparql= -query-plugin
EVS History: https://github.com//ncievs/evs-history=
Curator: https://github.com//ncievs/nci-curator
The individual update.properties files will contain information about ea= ch plugin including, name, version and jar location.
Example from the NCI Edit Tab update.properties:
id=3Dnci-edit-tab
version=3D1.3.4
download=3Dhttps://github.com/ncievs/nci-edit-tab/releases/down=
load/nci-edit-tab-1.3.4/nci-edit-tab-1.3.4-SNAPSHOT.jar
name=3DNCI Edit Tab
readme=3Dhttps://raw.githubusercontent.com/ncievs/nci-edit-tab/master/src/main/=
resources/readme.html
license=3Dhttps://raw.githu=
busercontent.com/ncievs/nci-edit-tab/master/LICENSE
author=3DBob Dionne
Each individual plugin has this update.properties structure. It is= intended to allow use and testing of plugins on different tiers without cr= oss-interference.
/src/main/resources/update.properties
/src/main/resources/dev-qa/update.properties
/src/main/resources/stage/update.properties
/src/main/resources/prod/update.properties
When the developer checks in a new plugin they will update the src/main/= resources/update.properties for that individual plugin in github.
They will then notify the protege admin when it is ready for testing.&nb= sp; Upon notification, the protege admin will copy the src/main/resour= ces/update.properties into src/main/resources/dev-qa/update.properties.
When the project enters User Acceptance testing on the Stage tier, the u= pdate.properties should be copied into src/main/resources/stage/update.prop= erties
When the plugin is ready to go into production, the update.properties sh= ould be copied into src/main/resources/prod/update.properties