Skip to content

Commit

Permalink
Update for demo server
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 8, 2021
1 parent 5b46ded commit ef96958
Show file tree
Hide file tree
Showing 6 changed files with 166 additions and 9,899 deletions.
28 changes: 14 additions & 14 deletions .assets/assets/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Swate"/>
<Description DefaultValue="Utility functions to annotate data in a fast and safe way."/>
<IconUrl DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_32x32.png"/>
<HighResolutionIconUrl DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_80x80.png"/>
<IconUrl DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_32x32.png"/>
<HighResolutionIconUrl DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_80x80.png"/>
<SupportUrl DefaultValue="https://csb.bio.uni-kl.de/"/>
<AppDomains>
<AppDomain>bio.uni-kl.de</AppDomain>
Expand All @@ -16,7 +16,7 @@
<Host Name="Workbook"/>
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://swate.denbi.uni-tuebingen.de/"/>
<SourceLocation DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/"/>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
Expand Down Expand Up @@ -95,20 +95,20 @@
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_16x16.png"/>
<bt:Image id="Icon.20x20" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_20x20.png"/>
<bt:Image id="Icon.24x24" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_24x24.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_32x32.png"/>
<bt:Image id="Icon.40x40" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_40x40.png"/>
<bt:Image id="Icon.48x48" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_48x48.png"/>
<bt:Image id="Icon.64x64" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_64x64.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_80x80.png"/>
<bt:Image id="Icon.96x96" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_96x96.png"/>
<bt:Image id="Icon.16x16" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_16x16.png"/>
<bt:Image id="Icon.20x20" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_20x20.png"/>
<bt:Image id="Icon.24x24" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_24x24.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_32x32.png"/>
<bt:Image id="Icon.40x40" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_40x40.png"/>
<bt:Image id="Icon.48x48" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_48x48.png"/>
<bt:Image id="Icon.64x64" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_64x64.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_80x80.png"/>
<bt:Image id="Icon.96x96" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/assets/swate_96x96.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/>
<!--<bt:Url id="TermSearch.Url" DefaultValue="https://swate.denbi.uni-tuebingen.de/#TermSearch"/>-->
<bt:Url id="AddBuildingBlock.Url" DefaultValue="https://swate.denbi.uni-tuebingen.de/#AddBuildingBlock"/>
<!--<bt:Url id="TermSearch.Url" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/#TermSearch"/>-->
<bt:Url id="AddBuildingBlock.Url" DefaultValue="https://ffa36119-f79c-4836-914d-b3f24522830c.fr.bw-cloud-instance.org/#AddBuildingBlock"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GetStarted.Title" DefaultValue="Get started annotating your data for greater good!"/>
Expand Down
8 changes: 4 additions & 4 deletions .db/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# DEFAULT: Use root/example as user/password credentials
version: '3.1'
version: '3.9'

services:

db:
image: mariadb
image: mariadb:10.4
# command: --default-authentication-plugin=mysql_native_password
restart: always
# volumes:
# - ./mysql-dump:/docker-entrypoint-initdb.d
volumes:
- ./mysql-dump:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: example
ports:
Expand Down
17 changes: 12 additions & 5 deletions .db/mysql-dump/SwateDB.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
-- Adminer 4.7.7 MySQL dump
-- Adminer 4.8.1 MySQL 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~focal dump

SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';

SET NAMES utf8mb4;

CREATE DATABASE `SwateDB` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `SwateDB`;

DELIMITER ;;

DROP PROCEDURE IF EXISTS `advancedTermSearch`;;
Expand Down Expand Up @@ -742,8 +747,6 @@ END;;

DELIMITER ;

SET NAMES utf8mb4;

DROP TABLE IF EXISTS `Ontology`;
CREATE TABLE `Ontology` (
`Name` varchar(256) NOT NULL,
Expand All @@ -759,6 +762,7 @@ INSERT INTO `Ontology` (`Name`, `CurrentVersion`, `Definition`, `DateCreated`, `
('chebi', '194', 'Chemical Entities of Biological Interest', '2020-11-27 18:55:00.000000', 'Pier Luigi Buttigieg'),
('envo', 'releases/2020-06-10', 'Environment Ontology', '2020-06-10 00:00:00.000000', 'chebi'),
('go', 'releases/2020-11-18', 'gene_ontology', '2020-11-18 00:00:00.000000', 'Suzi Aleksander'),
('mod', '1.031.2', 'PSI-MOD is an ontology consisting of terms that describe protein chemical modifications', '2021-05-17 14:54:12.641765', 'Paul M. Thomas'),
('ms', '4.1.35', 'Proteomics Standards Initiative Mass Spectrometry Vocabularies', '2020-02-17 15:39:00.000000', 'Gerhard Mayer'),
('ncbitaxon', '2020-04-18', 'NCBI organismal classification', '2020-04-18 00:00:00.000000', 'Frederic Bastian'),
('nfdi4pso', 'init/2020-12-01', 'nfdi4pso', '2020-12-01 00:00:00.000000', 'muehlhaus'),
Expand Down Expand Up @@ -855,11 +859,14 @@ CREATE TABLE `TermRelationship` (
`FK_TermAccession` varchar(128) NOT NULL,
`RelationshipType` varchar(64) NOT NULL,
`FK_TermAccession_Related` varchar(128) NOT NULL,
`FK_OntologyName` varchar(256) NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `IX_TermRelationship` (`FK_TermAccession`,`FK_TermAccession_Related`,`RelationshipType`),
KEY `Ind_FK_TermRelationship_Term1` (`FK_TermAccession_Related`),
KEY `Ind_FK_TermID` (`FK_TermAccession`)
KEY `Ind_FK_TermID` (`FK_TermAccession`),
KEY `FK_OntologyName` (`FK_OntologyName`),
CONSTRAINT `TermRelationship_ibfk_1` FOREIGN KEY (`FK_OntologyName`) REFERENCES `Ontology` (`Name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;


-- 2021-05-12 07:23:36
-- 2021-08-05 13:23:20
126 changes: 126 additions & 0 deletions manifestSwateDenbi.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
<Id>5d6f5462-3401-48ec-9406-d12882e9ad83</Id>
<Version>0.4.7</Version>
<ProviderName>Computational Systems Biology</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Swate"/>
<Description DefaultValue="Utility functions to annotate data in a fast and safe way."/>
<IconUrl DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_32x32.png"/>
<HighResolutionIconUrl DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_80x80.png"/>
<SupportUrl DefaultValue="https://csb.bio.uni-kl.de/"/>
<AppDomains>
<AppDomain>bio.uni-kl.de</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Workbook"/>
</Hosts>
<DefaultSettings>
<SourceLocation DefaultValue="https://swate.denbi.uni-tuebingen.de/"/>
</DefaultSettings>
<Permissions>ReadWriteDocument</Permissions>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
<Hosts>
<Host xsi:type="Workbook">
<DesktopFormFactor>
<GetStarted>
<Title resid="GetStarted.Title"/>
<Description resid="GetStarted.Description"/>
<LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
</GetStarted>
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<OfficeTab id="TabData">
<Group id="SwateCommands">
<Label resid="SwateCommands.Label"/>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="20" resid="Icon.20x20"/>
<bt:Image size="24" resid="Icon.24x24"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="40" resid="Icon.40x40"/>
<bt:Image size="48" resid="Icon.48x48"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
<bt:Image size="96" resid="Icon.96x96"/>
</Icon>
<!--<Control xsi:type="Button" id="TermSearch">
<Label resid="TermSearch.Label"/>
<Supertip>
<Title resid="TermSearch.Label"/>
<Description resid="TermSearch.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="20" resid="Icon.20x20"/>
<bt:Image size="24" resid="Icon.24x24"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="40" resid="Icon.40x40"/>
<bt:Image size="48" resid="Icon.48x48"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
<bt:Image size="96" resid="Icon.96x96"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>ButtonId1</TaskpaneId>
<SourceLocation resid="TermSearch.Url"/>
</Action>
</Control>-->
<Control xsi:type="Button" id="AddBuildingBlock">
<Label resid="AddBuildingBlock.Label"/>
<Supertip>
<Title resid="AddBuildingBlock.Label"/>
<Description resid="AddBuildingBlock.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="20" resid="Icon.20x20"/>
<bt:Image size="24" resid="Icon.24x24"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="40" resid="Icon.40x40"/>
<bt:Image size="48" resid="Icon.48x48"/>
<bt:Image size="64" resid="Icon.64x64"/>
<bt:Image size="80" resid="Icon.80x80"/>
<bt:Image size="96" resid="Icon.96x96"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>ButtonId2</TaskpaneId>
<SourceLocation resid="AddBuildingBlock.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_16x16.png"/>
<bt:Image id="Icon.20x20" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_20x20.png"/>
<bt:Image id="Icon.24x24" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_24x24.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_32x32.png"/>
<bt:Image id="Icon.40x40" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_40x40.png"/>
<bt:Image id="Icon.48x48" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_48x48.png"/>
<bt:Image id="Icon.64x64" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_64x64.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_80x80.png"/>
<bt:Image id="Icon.96x96" DefaultValue="https://swate.denbi.uni-tuebingen.de/assets/swate_96x96.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/>
<!--<bt:Url id="TermSearch.Url" DefaultValue="https://swate.denbi.uni-tuebingen.de/#TermSearch"/>-->
<bt:Url id="AddBuildingBlock.Url" DefaultValue="https://swate.denbi.uni-tuebingen.de/#AddBuildingBlock"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GetStarted.Title" DefaultValue="Get started annotating your data for greater good!"/>
<bt:String id="SwateCommands.Label" DefaultValue="Swate"/>
<!--<bt:String id="TermSearch.Label" DefaultValue="Insert Ontology Term"/>-->
<bt:String id="AddBuildingBlock.Label" DefaultValue="Swate"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="GetStarted.Description" DefaultValue="Swate was loaded succesfully. Go to the DATA tab and click the 'Swate' button to get started."/>
<!--<bt:String id="TermSearch.Tooltip" DefaultValue="Open a taskpane where you can search for ontology terms in multiple ways and fill the results into your sheet."/>-->
<bt:String id="AddBuildingBlock.Tooltip" DefaultValue="Open a task pane to gain full access to the Swate functionality."/>
</bt:LongStrings>
</Resources>
</VersionOverrides>
</OfficeApp>
Loading

0 comments on commit ef96958

Please sign in to comment.