Skip to content

Commit

Permalink
Add the lexical query test code
Browse files Browse the repository at this point in the history
  • Loading branch information
balmas committed Aug 9, 2018
1 parent b58b28c commit 235f960
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions site-modules/profile/manifests/morphology.pp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
notify => Python::Virtualenv[$app_root],
}

vcsrepo { '/usr/local/lexical-tests':
ensure => latest,
revision => 'alllangs',
provider => git,
source => "https://github.com/alpheios-project/lexical-tests",
}

python::virtualenv { $app_root:
ensure => present,
version => '3',
Expand Down Expand Up @@ -103,6 +110,11 @@
{'rewrite_rule' => [ '/legacy/greek http://localhost:5000/analysis/word?lang=grc&engine=mgrcleg [P,L,QSA]']},
{'rewrite_rule' => [ '/legacy/aramorph2 http://localhost:5000/analysis/word?lang=ara&engine=amleg [P,L,QSA]']},
],
aliases => [
{ alias => '/lexical-tests',
path => '/usr/local/lexical-tests',
}
],
headers => $headers,
}

Expand All @@ -117,6 +129,11 @@
{'rewrite_rule' => [ '/legacy/aramorph2 http://localhost:5000/analysis/word?lang=ara&engine=amleg [P,L,QSA]']},
],
headers => $headers,
aliases => [
{ alias => '/lexical-tests',
path => '/usr/local/lexica-tests',
}
],
ssl => true,
ssl_cert => '/etc/ssl/certs/STAR_alpheios.net.crt',
ssl_key => '/etc/ssl/private/Alpheios.key',
Expand Down

0 comments on commit 235f960

Please sign in to comment.