File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ For more information see:
2626
2727* [ Talk at 2018 RDKit UGM] ( https://github.com/rdkit/UGM_2018/blob/master/Lightning/tim_dudgeon_fragment-network.pdf ) .
2828* [ Informatics Matters website] ( https://www.informaticsmatters.com/pages/fragment_network.html )
29+ * [ Fragnet Search application] ( https://fragnet.informaticsmatters.com/ )
2930
3031## Building (CI)
3132The project containers are built automatically using GitHub Actions
@@ -45,9 +46,9 @@ web app.
4546Test the container using the [ docker-compose.yml] ( docker-compose.yml )
4647file:
4748
48- docker-compose -f docker-compose-test.yml up
49+ docker-compose up
4950
50- This uses a sample Neo4j database with a small amount of data.
51+ This uses a sample Neo4j database with a small amount of data. It takes a short time to initialise.
5152
5253## Official deployments
5354Official deployments (to Kubernetes) use AWX and our [ fragnet-ansible]
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ services:
2525 # This container runs the REST API that queries the test database.
2626 # Some useful queries are:
2727 # export FRAGNET_SERVER=http://localhost
28- # curl $FRAGNET_SERVER:8080/fragnet-search/rest/v2/search/suppliers
2928 # curl $FRAGNET_SERVER:8080/fragnet-search/rest/ping
29+ # curl $FRAGNET_SERVER:8080/fragnet-search/rest/v2/search/suppliers
3030 # curl "$FRAGNET_SERVER:8080/fragnet-search/rest/v2/search/neighbourhood/OC(Cn1ccnn1)C1CC1?hac=3&rac=1&hops=2"
3131 # curl "$FRAGNET_SERVER:8080/fragnet-search/rest/v2/search/availability/OC(Cn1ccnn1)C1CC1"
3232 # curl "$FRAGNET_SERVER:8080/fragnet-search/rest/v2/search/expand/OC(Cn1ccnn1)C1CC1?hacMin=5&hacMax=10&racMin=3&racMax=3&hops=2"
Original file line number Diff line number Diff line change @@ -118,30 +118,27 @@ test {
118118tasks. test. dependsOn(" startNeoContainer" )
119119tasks. test. finalizedBy(" stopNeoContainer" )
120120
121- task copyKeycloakJars (type : Copy ) {
122- from " ../lib/keycloak-2.1.0-jars-tomcat8"
123- into " build/libs/keycloak-2.1.0-jars-tomcat8/"
124- include " *.jar"
125- }
126121
127122task buildDockerFile (type : Dockerfile ) {
128123
129124 dependsOn = [
130- war,
131- copyKeycloakJars
125+ war
132126 ]
133127
134128 destFile = project. file(' build/Dockerfile' )
135129 from " informaticsmatters/rdkit-tomcat-debian:Release_2019_09"
136130 label([
' maintainer' :
' Tim Dudgeon "[email protected] "' ])
137131
138132 // include the keycloak adapters
139- runCommand(''' mkdir keycloak && cd keycloak && curl -s -o keycloak.tar.gz\
140- https://downloads.jboss.org/keycloak/3.4.3.Final/adapters/keycloak-oidc/keycloak-tomcat8-adapter-dist-3.4.3.Final.tar.gz &&\
133+ runCommand(''' mkdir keycloak &&\
134+ cd keycloak &&\
135+ curl -s -o keycloak.tar.gz\
136+ https://downloads.jboss.org/keycloak/10.0.2/adapters/keycloak-oidc/keycloak-tomcat-adapter-dist-10.0.2.tar.gz &&\
141137 tar xfz keycloak.tar.gz &&\
142138 rm keycloak.tar.gz &&\
143139 mv *.jar $CATALINA_HOME/lib &&\
144- cd $CATALINA_HOME && rm -rf keycloak''' )
140+ cd $CATALINA_HOME &&\
141+ rm -rf keycloak''' )
145142
146143 addFile(' ./libs/fragnet-search*.war' , " /usr/local/tomcat/webapps/" )
147144 // need to unpack the zip as we need to mess with the keycloak related jars
You can’t perform that action at this time.
0 commit comments