server/src/config/corpusparole.php
author ymh <ymh.work@gmail.com>
Sun, 29 May 2016 16:50:17 +0200
changeset 163 59c68fc4848e
parent 162 a6cf5a06f02d
child 275 a4d8618c2f1b
permissions -rw-r--r--
Add transcript api endpoint
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<?php
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
4
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
     3
$sesameBaseUrl = rtrim(env('CORPUSPAROLE_SESAME_BASE_URL'),'/').'/';
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
     4
$baseUrl = parse_url(env('APP_URL','http://localhost'), PHP_URL_PATH);
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
     5
$baseUrl = ($baseUrl && strlen($baseUrl)>0)?$baseUrl:"/";
4
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
     6
2
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
return [
4
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
     8
    'sesame_base_url' => $sesameBaseUrl,
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
     9
    'sesame_repository' => env('CORPUSPAROLE_SESAME_REPOSITORY'),
19
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    10
    'sesame_repository_raw' => env('CORPUSPAROLE_SESAME_REPOSITORY_RAW'),
4
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
    11
    'max_load_retry' => env('CORPUSPAROLE_MAX_LOAD_RETRY', 5),
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
    12
    'sesame_query_url' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY'),
f55970e41793 first skeleton of bo client in ember
ymh <ymh.work@gmail.com>
parents: 2
diff changeset
    13
    'sesame_update_url' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY').'/statements',
19
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    14
    'sesame_query_url_raw' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY_RAW'),
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    15
    'sesame_update_url_raw' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_REPOSITORY_RAW').'/statements',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    16
2
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
    'cocoon_rdf_base_uri' => env('CORPUSPAROLE_COCOON_RDF_BASE_URI'),
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
    'cocoon_oaipmh_url' => env('CORPUSPAROLE_COCOON_OAIPMH_URL'),
18
f2a40bbc27f6 add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents: 4
diff changeset
    20
    'cocoon_doc_id_base_uri' => 'http://purl.org/poi/crdo.vjf.cnrs.fr/',
113
faff38055a07 change shownAt url to point to humanum
ymh <ymh.work@gmail.com>
parents: 112
diff changeset
    21
    'cocoon_doc_pub_base_uri' => 'http://corpusdelaparole.huma-num.fr/corpus-app#/detail/',
2
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
    'cocoon_doc_id_base' => 'oai:crdo.vjf.cnrs.fr:',
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
154
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
    24
    'corpus_id_scheme' => env('HANDLE_PREFIX').'/',
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
    25
    'corpus_id_prefix' => env('HANDLE_PREFIX').'/crdo-',
122
b37fde30dd4a correct problem of identifier
ymh <ymh.work@gmail.com>
parents: 113
diff changeset
    26
154
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
    27
    'corpus_doc_id_base_uri' => 'https://hdl.handle.net/'.env('HANDLE_PREFIX').'/',
110
8e5fcebb9018 default licence is CC BY 4.0
ymh <ymh.work@gmail.com>
parents: 28
diff changeset
    28
    'corpus_doc_default_cc_rights' => 'http://creativecommons.org/licenses/by/4.0/',
18
f2a40bbc27f6 add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents: 4
diff changeset
    29
f2a40bbc27f6 add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents: 4
diff changeset
    30
    'edm_provider' => 'Corpus de la Parole',
f2a40bbc27f6 add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents: 4
diff changeset
    31
f2a40bbc27f6 add rdf mapper + merger + basic database model
ymh <ymh.work@gmail.com>
parents: 4
diff changeset
    32
    'easyrdf_http_client_timeout' => env('EASYRDF_HTTP_CLIENT_TIMEOUT', 1000),
19
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    33
160
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    34
    'corpus_discourse_type' => [
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    35
        "http://ark.bnf.fr/ark:/12148/cb12083158d" => "argumentation",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    36
        "http://ark.bnf.fr/ark:/12148/cb119783362" => "bavardage",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    37
        "http://ark.bnf.fr/ark:/12148/cb13319048g" => "chansons",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    38
        "http://ark.bnf.fr/ark:/12148/cb11931724n" => "congrès et conférences",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    39
        "http://ark.bnf.fr/ark:/12148/cb11936159v" => "contes",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    40
        "http://ark.bnf.fr/ark:/12148/cb119317924" => "conversation",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    41
        "http://ark.bnf.fr/ark:/12148/cb12481481z" => "dialogue",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    42
        "http://ark.bnf.fr/ark:/12148/cb11948542x" => "discours",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    43
        "http://ark.bnf.fr/ark:/12148/cb119341539" => "discussion",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    44
        "http://ark.bnf.fr/ark:/12148/cb120502737" => "enquêtes linguistiques",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    45
        "http://ark.bnf.fr/ark:/12148/cb11932135w" => "entretiens",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    46
        "http://ark.bnf.fr/ark:/12148/cb11953414d" => "fables",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    47
        "http://ark.bnf.fr/ark:/12148/cb11955657q" => "lecture à haute voix",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    48
        "http://ark.bnf.fr/ark:/12148/cb11957378b" => "musique instrumentale",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    49
        "http://ark.bnf.fr/ark:/12148/cb11937212q" => "narration",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    50
        "http://ark.bnf.fr/ark:/12148/cb11946100d" => "paradigme (épistémologie)",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    51
        "http://ark.bnf.fr/ark:/12148/cb119829234" => "questionnaires",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    52
        "http://ark.bnf.fr/ark:/12148/cb119834877" => "récitation",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    53
        "http://ark.bnf.fr/ark:/12148/cb11976851v" => "récits personnels",
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    54
        "http://ark.bnf.fr/ark:/12148/cb11949715t" => "réunions"
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    55
    ],
c77f06ff3e54 add discourse controler + fixtures
ymh <ymh.work@gmail.com>
parents: 158
diff changeset
    56
19
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    57
    'olac_discourse_type' => [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    58
        'uri' => 'http://www.language-archives.org/OLAC/1.1/discourse-type',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    59
        'values' => [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    60
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    61
                'code' => 'dialogue',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    62
                'name' => 'Dialogue',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    63
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    64
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    65
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    66
                'code' => 'drama',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    67
                'name' => 'Drama',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    68
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    69
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    70
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    71
                'code' => 'formulaic',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    72
                'name' => 'Formulaic Discourse',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    73
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    74
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    75
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    76
                'code' => 'ludic',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    77
                'name' => 'Ludic Discourse',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    78
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    79
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    80
                'code' => 'oratory',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    81
                'name' => 'Oratory',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    82
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    83
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    84
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    85
                'code' => 'narrative',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    86
                'name' => 'Narrative Discourse',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    87
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    88
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    89
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    90
                'code' => 'procedural',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    91
                'name' => 'Procedural Discourse',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    92
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    93
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    94
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    95
                'code' => 'report',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    96
                'name' => 'Report',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    97
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    98
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
    99
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   100
                'code' => 'singing',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   101
                'name' => 'Singing',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   102
            ],
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   103
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   104
            [
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   105
                'code' => 'unintelligible_speech',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   106
                'name' => 'Unintelligible Speech',
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   107
            ]
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   108
        ]
23
037687868bc4 add viaf resolver service & api
ymh <ymh.work@gmail.com>
parents: 19
diff changeset
   109
    ],
19
eadaf0b8f02e Bo conception step. back to ember page
ymh <ymh.work@gmail.com>
parents: 18
diff changeset
   110
23
037687868bc4 add viaf resolver service & api
ymh <ymh.work@gmail.com>
parents: 19
diff changeset
   111
    'viaf_base_url' => 'http://viaf.org/viaf/',
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   112
    'viaf_cache_expiration' => 60*24*30,
133
821253d361d1 add bnf resolver
ymh <ymh.work@gmail.com>
parents: 122
diff changeset
   113
    'viaf_max_ids' => 500,
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   114
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   115
    'lexvo_base_url' => 'http://lexvo.org/id/iso639-3/',
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   116
    'lexvo_cache_expiration' => 60*24*30,
158
366509ae2f37 Add controller for themes count + upgrade ember for app-client
ymh <ymh.work@gmail.com>
parents: 154
diff changeset
   117
    'lexvo_max_ids' => 50,
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   118
    'lexvo_sesame_query_url' => $sesameBaseUrl.'repositories/'.env('CORPUSPAROLE_SESAME_LEXVO_REPOSITORY'),
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   119
133
821253d361d1 add bnf resolver
ymh <ymh.work@gmail.com>
parents: 122
diff changeset
   120
    'bnf_base_url' => 'http://data.bnf.fr/',
821253d361d1 add bnf resolver
ymh <ymh.work@gmail.com>
parents: 122
diff changeset
   121
    'bnf_ark_base_url' => 'http://ark.bnf.fr/',
821253d361d1 add bnf resolver
ymh <ymh.work@gmail.com>
parents: 122
diff changeset
   122
    'bnf_cache_expiration' => 60*24*30,
158
366509ae2f37 Add controller for themes count + upgrade ember for app-client
ymh <ymh.work@gmail.com>
parents: 154
diff changeset
   123
    'bnf_max_ids' => 5,
133
821253d361d1 add bnf resolver
ymh <ymh.work@gmail.com>
parents: 122
diff changeset
   124
    'bnf_query_url' => 'http://data.bnf.fr/sparql',
139
8d688175513a add proxy for bnf completion and sparql request + upgrade kernel + route
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   125
    'bnf_completion_url' => 'http://data.bnf.fr/search-letter/',
133
821253d361d1 add bnf resolver
ymh <ymh.work@gmail.com>
parents: 122
diff changeset
   126
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   127
    'bo_client_environment' => [
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   128
        "modulePrefix" => "bo-client",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   129
        "podModulePrefix" => "bo-client/pods",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   130
        "environment" => "production",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   131
        "baseURL" => $baseUrl,
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   132
        "locationType" => "hash",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   133
        "i18n" => ["defaultLocale" => "fr"],
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   134
        "EmberENV" => ["FEATURES"=>(object)[]], # to force json serialisation as object
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   135
        "APP" => [
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   136
            "bo-doc-viaf-autocomplete" => [
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   137
                "viafQueryUrl" => "http://viaf.org/viaf/AutoSuggest?query=",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   138
                "viafBaseUrl" => "http://viaf.org/viaf/"
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   139
            ],
140
f851ec12812f upgrade bo client
ymh <ymh.work@gmail.com>
parents: 139
diff changeset
   140
            'bo-doc-bnf-autocomplete' => [
f851ec12812f upgrade bo client
ymh <ymh.work@gmail.com>
parents: 139
diff changeset
   141
                "bnfQueryUrl" => "${baseUrl}proxy/bnf/?term=",
f851ec12812f upgrade bo client
ymh <ymh.work@gmail.com>
parents: 139
diff changeset
   142
                "bnfBaseUrl" => "http://data.bnf.fr/",
f851ec12812f upgrade bo client
ymh <ymh.work@gmail.com>
parents: 139
diff changeset
   143
                "bnfSparqlUrl" => "${baseUrl}proxy/bnf-sparql"
f851ec12812f upgrade bo client
ymh <ymh.work@gmail.com>
parents: 139
diff changeset
   144
            ],
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   145
            "LOG_RESOLVER" => true,
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   146
            "LOG_ACTIVE_GENERATION" => true,
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   147
            "LOG_TRANSITIONS" => true,
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   148
            "LOG_TRANSITIONS_INTERNAL" => true,
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   149
            "LOG_VIEW_LOOKUPS" => true,
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   150
            "name" => "bo-client",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   151
            "version" => "0.0.0 "
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   152
        ],
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   153
        "contentSecurityPolicy" => [
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   154
            "default-src" => "'none'",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   155
            "script-src" => "'self'",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   156
            "font-src" => "'self'",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   157
            "connect-src" => "'self' *",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   158
            "img-src" => "'self'",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   159
            "style-src" => "'self' *",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   160
            "media-src" => "'self'"
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   161
        ],
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   162
        "contentSecurityPolicyHeader" => "Content-Security-Policy-Report-Only",
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents: 23
diff changeset
   163
        "exportApplicationGlobal" => true
153
338bcc78d431 add HandleClient implementation + configuration + tests
ymh <ymh.work@gmail.com>
parents: 143
diff changeset
   164
    ],
338bcc78d431 add HandleClient implementation + configuration + tests
ymh <ymh.work@gmail.com>
parents: 143
diff changeset
   165
154
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
   166
    'handle_host'         => env('HANDLE_HOST'),
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
   167
    'handle_port'         => env('HANDLE_PORT', 8000),
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
   168
    'handle_admin_id'     => env('HANDLE_ADMIN_ID'),
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
   169
    'handle_prefix'       => env('HANDLE_PREFIX'),
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
   170
    'handle_cert_or_pkey' => env('HANDLE_CERT_OR_PKEY'),
162
a6cf5a06f02d add Transcript converters libraries + test
ymh <ymh.work@gmail.com>
parents: 160
diff changeset
   171
    'handle_password'     => env('HANDLE_PASSWORD'),
a6cf5a06f02d add Transcript converters libraries + test
ymh <ymh.work@gmail.com>
parents: 160
diff changeset
   172
a6cf5a06f02d add Transcript converters libraries + test
ymh <ymh.work@gmail.com>
parents: 160
diff changeset
   173
    'transcript_default_creator' => 'Corpus de la Parole',
163
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents: 162
diff changeset
   174
    'transcrit_decoder_mapping' => [
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents: 162
diff changeset
   175
        "http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-dtd_archive" => 'CorpusParole\Libraries\Transcript\LacitoTranscriptConverter',
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents: 162
diff changeset
   176
        "http://purl.org/poi/crdo.vjf.cnrs.fr/crdo-dtd_transcriber" => 'CorpusParole\Libraries\Transcript\TranscriberTranscriptConverter'
59c68fc4848e Add transcript api endpoint
ymh <ymh.work@gmail.com>
parents: 162
diff changeset
   177
    ]
154
ded3cf22eef8 correct handle managing
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
   178
2
00e2916104fe Migrate to php 5.6 + Laravel 5.1 + add phpunit test
ymh <ymh.work@gmail.com>
parents:
diff changeset
   179
];