File tree Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 2
2
ServerName @FQDN@
3
3
# ServerName notyeti-195.lifemapper.org
4
4
# Redirect HTTP traffic to HTTPS
5
- Redirect permanent / https://@FQDN@
5
+ # Redirect permanent / https://@FQDN@/
6
6
# Redirect permanent / https://notyeti-195.lifemapper.org/
7
- </VirtualHost>
7
+ # </VirtualHost>
8
8
9
- <VirtualHost *:443>
10
- #ServerName @FQDN@
9
+ # <VirtualHost *:443>
10
+ # ServerName @FQDN@
11
11
# ServerName notyeti-195.lifemapper.org
12
- #SSLEngine on
13
- #SSLCertificateFile @CERTFILE@
12
+ # SSLEngine on
13
+ # SSLCertificateFile @CERTFILE@
14
14
# SSLCertificateFile /etc/letsencrypt/live/notyeti-195.lifemapper.org/fullchain.pem
15
- #SSLCertificateKeyFile @CERTKEYFILE@
15
+ # SSLCertificateKeyFile @CERTKEYFILE@
16
16
# SSLCertificateKeyFile /etc/letsencrypt/live/notyeti-195.lifemapper.org/privkey.pem
17
17
# Include /etc/letsencrypt/options-ssl-apache.conf
18
- #Include @SSL_OPTIONS_FILE@
18
+ # Include @SSL_OPTIONS_FILE@
19
19
# SSLCertificateChainFile /etc/letsencrypt/live/notyeti-195.lifemapper.org/chain.pem
20
- #SSLCertificateChainFile @CHAIN_FILE@
20
+ # SSLCertificateChainFile @CHAIN_FILE@
21
21
22
22
WSGIDaemonProcess syftorium threads=5
23
23
WSGIScriptAlias /api/v1 /var/www/lmsyft/syftorium.wsgi
24
24
25
- <Directory /var/www/syftorium >
25
+ <Directory /var/www/lmsyft >
26
26
WSGIProcessGroup syftorium
27
27
WSGIApplicationGroup %{GLOBAL}
28
28
Order deny,allow
Original file line number Diff line number Diff line change 4
4
import io
5
5
from werkzeug .exceptions import NotFound , UnsupportedMediaType
6
6
7
- import flask_app .resolver .solr_controller as controller
8
- from flask_app .resolver .models import Ark
7
+ import lmsyft . flask_app .resolver .solr_controller as controller
8
+ from lmsyft . flask_app .resolver .models import Ark
9
9
10
10
bp = Blueprint ('resolve' , __name__ , url_prefix = '/resolve' )
11
11
Original file line number Diff line number Diff line change 1
1
"""Solr backend controller module for Resolver."""
2
2
import pysolr
3
3
4
- from flask_app .resolver .config import RESOLVER_URL
4
+ from lmsyft . flask_app .resolver .config import RESOLVER_URL
5
5
6
6
7
7
# Note: A possible evolution of this would be to integrate the Ark class with PySolr
Original file line number Diff line number Diff line change 9
9
import xml .etree .ElementTree as ET
10
10
import zipfile
11
11
12
- import solr_controller as controller
12
+ import lmsyft . flask_app . sp_cache . solr_controller as controller
13
13
14
14
15
15
DEFAULT_META_FILENAME = 'meta.xml'
Original file line number Diff line number Diff line change 6
6
from flask import Blueprint , request
7
7
from werkzeug .exceptions import NotFound
8
8
9
- import flask_app .sp_cache .config as config
10
- import flask_app .sp_cache .models as models
11
- import flask_app .sp_cache .solr_controller as controller
9
+ import lmsyft . flask_app .sp_cache .config as config
10
+ import lmsyft . flask_app .sp_cache .models as models
11
+ import lmsyft . flask_app .sp_cache .solr_controller as controller
12
12
13
13
14
14
bp = Blueprint ('sp_cache' , __name__ , url_prefix = '/sp_cache' )
Original file line number Diff line number Diff line change 1
1
"""Solr backend controller module for Specify Cache."""
2
2
import pysolr
3
3
4
- from flask_app .sp_cache .config import COLLECTIONS_URL , SPECIMENS_URL
5
- from flask_app .sp_cache .models import SpecimenRecord
4
+ from lmsyft . flask_app .sp_cache .config import COLLECTIONS_URL , SPECIMENS_URL
5
+ from lmsyft . flask_app .sp_cache .models import SpecimenRecord
6
6
7
7
8
8
# Need an easy way to get solr classes
Original file line number Diff line number Diff line change 1
1
"""Test our Solr config for sp_cache."""
2
2
import pysolr
3
3
4
- from sp_cache .config import COLLECTIONS_URL , SPECIMENS_URL
4
+ from lmsyft . flask_app . sp_cache .config import COLLECTIONS_URL , SPECIMENS_URL
5
5
6
6
7
7
# .....................................................................................
Original file line number Diff line number Diff line change 1
1
"""Test Solr functions."""
2
- import sp_cache .solr_controller as app_solr
2
+ import lmsyft . flask_app . sp_cache .solr_controller as app_solr
3
3
4
4
5
5
# .....................................................................................
You can’t perform that action at this time.
0 commit comments