-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmetadata.php
115 lines (115 loc) · 4.09 KB
/
metadata.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
/**
* @package elasticsearch
* @category OXID Module
* @version 0.0.1
* @license GPL3 License http://opensource.org/licenses/GPL
* @link https://github.com/elastic/elasticsearch-php
*/
$sMetadataVersion = '2.0';
$aModule = [
'id' => 'oxcomelasticsearch',
'title' => [
'de' => 'OXID Elasticsearch Module',
'en' => 'OXID Elatsicsearch Module',
],
'description' => [
'de' => 'OXID Module für die Integration von Elasticsearch in Oxd.',
'en' => 'OXID Module for the Integration of Elasticsearch in Oxid.',
],
'thumbnail' => '',
'version' => '0.0.1',
'author' => 'DrLexer',
'email' => '',
'extend' => [
],
'controllers' => [
'oxcom_elastic_status_admin_list' => \OxidCommunity\Elasticsearch\Application\Controller\Admin\ElasticsearchStatus::class,
'oxcom_elastic_status_cron_list' => \OxidCommunity\Elasticsearch\Application\Controller\Admin\ElasticsearchCron::class
],
'events' => [
'onActivate' => '\OxidCommunity\Elasticsearch\Core\Events::onActivate',
'onDeactivate' => '\OxidCommunity\Elasticsearch\Core\Events::onDeactivate'
],
'templates' => [
'oxcom_elastic_status_admin_list.tpl' => 'oxcom/elasticsearch/views/admin/tpl/oxcom_elastic_status_admin_list.tpl',
'oxcom_elastic_status_cron_list.tpl' => 'oxcom/elasticsearch/views/admin/tpl/oxcom_elastic_status_cron_list.tpl'
],
'settings' => [
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_index',
'type' => 'str',
'value' => 'oxcomarticle'
),
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_data',
'type' => 'aarr',
'value' => array('oxarticles' => 'row,all,oxid',
'oxobject2attribute' => 'column,oxattrid,oxvalue,oxobjectid',
'oxartextends' => 'row,oxlongdesc,oxid'
),
),
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_type',
'type' => 'str',
'value' => 'oxarticle'
),
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_shards',
'type' => 'str',
'value' => '5'
),
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_replicas',
'type' => 'str',
'value' => '1'
),
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_loglevel',
'type' => 'str',
'value' => 'Info'
),
array(
'group' => 'oxcomelasticsearchserverarticle',
'name' => 'oxcom_elasticsearch_article_retry',
'type' => 'str',
'value' => '2'
),
array(
'group' => 'oxcomelasticsearchserver',
'name' => 'oxcom_elasticsearch_server_host',
'type' => 'str',
'value' => 'localhost'
),
array(
'group' => 'oxcomelasticsearchserver',
'name' => 'oxcom_elasticsearch_server_port',
'type' => 'str',
'value' => '9200'
),
array(
'group' => 'oxcomelasticsearchserver',
'name' => 'oxcom_elasticsearch_server_scheme',
'type' => 'str',
'value' => 'https'
),
array(
'group' => 'oxcomelasticsearchserver',
'name' => 'oxcom_elasticsearch_server_user',
'type' => 'str',
'value' => ''
),
array(
'group' => 'oxcomelasticsearchserver',
'name' => 'oxcom_elasticsearch_server_pass',
'type' => 'str',
'value' => ''
)
]
];