Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
tosca-definitions-dch
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SustainLife
tosca-definitions-dch
Commits
df843b52
Commit
df843b52
authored
Jul 03, 2019
by
Philip Schildkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement ElasticSearch Index NodeType
parent
1de67627
Changes
45
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
697 additions
and
27 deletions
+697
-27
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/ArtifactTemplate.tosca
...chIndex-IA-Configure_1.7.6-w1-wip1/ArtifactTemplate.tosca
+8
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/ArtifactTemplate.tosca.mimetype
...A-Configure_1.7.6-w1-wip1/ArtifactTemplate.tosca.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/files/configure.sh
...searchIndex-IA-Configure_1.7.6-w1-wip1/files/configure.sh
+28
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/files/configure.sh.mimetype
...ex-IA-Configure_1.7.6-w1-wip1/files/configure.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/source/configure.sh
...earchIndex-IA-Configure_1.7.6-w1-wip1/source/configure.sh
+28
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/source/configure.sh.mimetype
...x-IA-Configure_1.7.6-w1-wip1/source/configure.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/ArtifactTemplate.tosca
...chIndex-IA-Configure_7.1.1-w1-wip1/ArtifactTemplate.tosca
+8
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/ArtifactTemplate.tosca.mimetype
...A-Configure_7.1.1-w1-wip1/ArtifactTemplate.tosca.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/files/configure.sh
...searchIndex-IA-Configure_7.1.1-w1-wip1/files/configure.sh
+28
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/files/configure.sh.mimetype
...ex-IA-Configure_7.1.1-w1-wip1/files/configure.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/source/configure.sh
...earchIndex-IA-Configure_7.1.1-w1-wip1/source/configure.sh
+28
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/source/configure.sh.mimetype
...x-IA-Configure_7.1.1-w1-wip1/source/configure.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/ArtifactTemplate.tosca
...archIndex-IA-Install_1.7.6-w1-wip1/ArtifactTemplate.tosca
+8
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/ArtifactTemplate.tosca.mimetype
...-IA-Install_1.7.6-w1-wip1/ArtifactTemplate.tosca.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/files/install.sh
...sticsearchIndex-IA-Install_1.7.6-w1-wip1/files/install.sh
+27
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/files/install.sh.mimetype
...hIndex-IA-Install_1.7.6-w1-wip1/files/install.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/source/install.sh
...ticsearchIndex-IA-Install_1.7.6-w1-wip1/source/install.sh
+27
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/source/install.sh.mimetype
...Index-IA-Install_1.7.6-w1-wip1/source/install.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/ArtifactTemplate.tosca
...archIndex-IA-Install_7.1.1-w1-wip1/ArtifactTemplate.tosca
+8
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/ArtifactTemplate.tosca.mimetype
...-IA-Install_7.1.1-w1-wip1/ArtifactTemplate.tosca.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/files/install.sh
...sticsearchIndex-IA-Install_7.1.1-w1-wip1/files/install.sh
+27
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/files/install.sh.mimetype
...hIndex-IA-Install_7.1.1-w1-wip1/files/install.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/source/install.sh
...ticsearchIndex-IA-Install_7.1.1-w1-wip1/source/install.sh
+27
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/source/install.sh.mimetype
...Index-IA-Install_7.1.1-w1-wip1/source/install.sh.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/ArtifactTemplate.tosca
...ase-DA-Elasticsearch_0.0.1-w1-wip1/ArtifactTemplate.tosca
+8
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/ArtifactTemplate.tosca.mimetype
...asticsearch_0.0.1-w1-wip1/ArtifactTemplate.tosca.mimetype
+1
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/files/mcd-mapping-2019-07-01.json
...ticsearch_0.0.1-w1-wip1/files/mcd-mapping-2019-07-01.json
+302
-0
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/files/mcd-mapping-2019-07-01.json.mimetype
..._0.0.1-w1-wip1/files/mcd-mapping-2019-07-01.json.mimetype
+1
-0
nodetypeimplementations/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypeimplementations/ElasticsearchIndex-Impl_1.7.6-w1-wip1/NodeTypeImplementation.tosca
...archIndex-Impl_1.7.6-w1-wip1/NodeTypeImplementation.tosca
+9
-0
nodetypeimplementations/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypeimplementations/ElasticsearchIndex-Impl_1.7.6-w1-wip1/NodeTypeImplementation.tosca.mimetype
...-Impl_1.7.6-w1-wip1/NodeTypeImplementation.tosca.mimetype
+1
-0
nodetypeimplementations/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypeimplementations/ElasticsearchIndex-Impl_7.1.1-w1-wip1/NodeTypeImplementation.tosca
...archIndex-Impl_7.1.1-w1-wip1/NodeTypeImplementation.tosca
+9
-0
nodetypeimplementations/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypeimplementations/ElasticsearchIndex-Impl_7.1.1-w1-wip1/NodeTypeImplementation.tosca.mimetype
...-Impl_7.1.1-w1-wip1/NodeTypeImplementation.tosca.mimetype
+1
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_1.7.6-w1-wip1/NodeType.tosca
...nodetypes/ElasticsearchIndex_1.7.6-w1-wip1/NodeType.tosca
+27
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_1.7.6-w1-wip1/NodeType.tosca.mimetype
.../ElasticsearchIndex_1.7.6-w1-wip1/NodeType.tosca.mimetype
+1
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_1.7.6-w1-wip1/appearance/bigIcon.png
...s/ElasticsearchIndex_1.7.6-w1-wip1/appearance/bigIcon.png
+0
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_1.7.6-w1-wip1/appearance/bigIcon.png.mimetype
...searchIndex_1.7.6-w1-wip1/appearance/bigIcon.png.mimetype
+1
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_1.7.6-w1-wip1/appearance/smallIcon.png
...ElasticsearchIndex_1.7.6-w1-wip1/appearance/smallIcon.png
+0
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_1.7.6-w1-wip1/appearance/smallIcon.png.mimetype
...archIndex_1.7.6-w1-wip1/appearance/smallIcon.png.mimetype
+1
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_7.1.1-w1-wip1/NodeType.tosca
...nodetypes/ElasticsearchIndex_7.1.1-w1-wip1/NodeType.tosca
+27
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_7.1.1-w1-wip1/NodeType.tosca.mimetype
.../ElasticsearchIndex_7.1.1-w1-wip1/NodeType.tosca.mimetype
+1
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_7.1.1-w1-wip1/appearance/bigIcon.png
...s/ElasticsearchIndex_7.1.1-w1-wip1/appearance/bigIcon.png
+0
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_7.1.1-w1-wip1/appearance/bigIcon.png.mimetype
...searchIndex_7.1.1-w1-wip1/appearance/bigIcon.png.mimetype
+1
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_7.1.1-w1-wip1/appearance/smallIcon.png
...ElasticsearchIndex_7.1.1-w1-wip1/appearance/smallIcon.png
+0
-0
nodetypes/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypes/ElasticsearchIndex_7.1.1-w1-wip1/appearance/smallIcon.png.mimetype
...archIndex_7.1.1-w1-wip1/appearance/smallIcon.png.mimetype
+1
-0
servicetemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fservicetemplates/MusicalCompetitionsDatabase_0.0.1-w1-wip1/ServiceTemplate.tosca
...lCompetitionsDatabase_0.0.1-w1-wip1/ServiceTemplate.tosca
+41
-27
No files found.
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/ArtifactTemplate.tosca
0 → 100644
View file @
df843b52
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
targetNamespace=
"http://dch.uni-koeln.de/tosca/artifacttemplates"
id=
"winery-defs-for_dch_artifacttemplates-ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1"
>
<ArtifactTemplate
xmlns:ToscaBaseTypes=
"http://docs.oasis-open.org/tosca/ns/2011/12/ToscaBaseTypes"
name=
"ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1"
type=
"ToscaBaseTypes:ScriptArtifact"
id=
"ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1"
>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%253A%252F%252Fdch.uni-koeln.de%252Ftosca%252Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/files/configure.sh"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/ArtifactTemplate.tosca.mimetype
0 → 100644
View file @
df843b52
application/vnd.oasis.tosca.definitions
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/files/configure.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
CONFIGURE_PACKAGE
=
elasticsearch_index
CONFIGURE_VERSION
=
1.7.6
# ----------------------------------------------------------------------------
CONFIGURE_APIHOST
=
http://127.0.0.1:
$APIPort
CONFIGURE_CSARDIR
=
$(
find ~
-maxdepth
1
-path
"*.csar"
)
}
# configure
fn_configure
()
{
while
read
-rd
';'
TUPLE
;
do
FILE
=
"
${
TUPLE
#*,
}
"
test
"
${
FILE
#*.json
}
"
==
"
$FILE
"
&&
continue
curl
-sX
POST
$CONFIGURE_APIHOST
/
$IndexName
/_mapping
\
-H
"Content-Type: application/json"
\
-T
"
$CONFIGURE_CSARDIR
/
$FILE
"
done
<<<
"
$DAs
"
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
# flow
fn_pkginfo
&&
fn_configure
\
||
echo
"ERROR=CONFIGURE:
$CONFIGURE_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/files/configure.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/source/configure.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
CONFIGURE_PACKAGE
=
elasticsearch_index
CONFIGURE_VERSION
=
1.7.6
# ----------------------------------------------------------------------------
CONFIGURE_APIHOST
=
http://127.0.0.1:
$APIPort
CONFIGURE_CSARDIR
=
$(
find ~
-maxdepth
1
-path
"*.csar"
)
}
# configure
fn_configure
()
{
while
read
-rd
';'
TUPLE
;
do
FILE
=
"
${
TUPLE
#*,
}
"
test
"
${
FILE
#*.json
}
"
==
"
$FILE
"
&&
continue
curl
-sX
POST
$CONFIGURE_APIHOST
/
$IndexName
/_mapping
\
-H
"Content-Type: application/json"
\
-T
"
$CONFIGURE_CSARDIR
/
$FILE
"
done
<<<
"
$DAs
"
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
# flow
fn_pkginfo
&&
fn_configure
\
||
echo
"ERROR=CONFIGURE:
$CONFIGURE_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_1.7.6-w1-wip1/source/configure.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/ArtifactTemplate.tosca
0 → 100644
View file @
df843b52
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
targetNamespace=
"http://dch.uni-koeln.de/tosca/artifacttemplates"
id=
"winery-defs-for_dch_artifacttemplates-ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1"
>
<ArtifactTemplate
xmlns:ToscaBaseTypes=
"http://docs.oasis-open.org/tosca/ns/2011/12/ToscaBaseTypes"
name=
"ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1"
type=
"ToscaBaseTypes:ScriptArtifact"
id=
"ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1"
>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%253A%252F%252Fdch.uni-koeln.de%252Ftosca%252Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/files/configure.sh"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/ArtifactTemplate.tosca.mimetype
0 → 100644
View file @
df843b52
application/vnd.oasis.tosca.definitions
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/files/configure.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
CONFIGURE_PACKAGE
=
elasticsearch_index
CONFIGURE_VERSION
=
7.1.1
# ----------------------------------------------------------------------------
CONFIGURE_APIHOST
=
http://127.0.0.1:
$APIPort
CONFIGURE_CSARDIR
=
$(
find ~
-maxdepth
1
-path
"*.csar"
)
}
# configure
fn_configure
()
{
while
read
-rd
';'
TUPLE
;
do
FILE
=
"
${
TUPLE
#*,
}
"
test
"
${
FILE
#*.json
}
"
==
"
$FILE
"
&&
continue
curl
-sX
POST
$CONFIGURE_APIHOST
/
$IndexName
/_mapping
\
-H
"Content-Type: application/json"
\
-T
"
$CONFIGURE_CSARDIR
/
$FILE
"
done
<<<
"
$DAs
"
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
# flow
fn_pkginfo
&&
fn_configure
\
||
echo
"ERROR=CONFIGURE:
$CONFIGURE_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/files/configure.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/source/configure.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
CONFIGURE_PACKAGE
=
elasticsearch_index
CONFIGURE_VERSION
=
7.1.1
# ----------------------------------------------------------------------------
CONFIGURE_APIHOST
=
http://127.0.0.1:
$APIPort
CONFIGURE_CSARDIR
=
$(
find ~
-maxdepth
1
-path
"*.csar"
)
}
# configure
fn_configure
()
{
while
read
-rd
';'
TUPLE
;
do
FILE
=
"
${
TUPLE
#*,
}
"
test
"
${
FILE
#*.json
}
"
==
"
$FILE
"
&&
continue
curl
-sX
POST
$CONFIGURE_APIHOST
/
$IndexName
/_mapping
\
-H
"Content-Type: application/json"
\
-T
"
$CONFIGURE_CSARDIR
/
$FILE
"
done
<<<
"
$DAs
"
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
# flow
fn_pkginfo
&&
fn_configure
\
||
echo
"ERROR=CONFIGURE:
$CONFIGURE_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Configure_7.1.1-w1-wip1/source/configure.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/ArtifactTemplate.tosca
0 → 100644
View file @
df843b52
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
targetNamespace=
"http://dch.uni-koeln.de/tosca/artifacttemplates"
id=
"winery-defs-for_dch_artifacttemplates-ElasticsearchIndex-IA-Install_1.7.6-w1-wip1"
>
<ArtifactTemplate
xmlns:ToscaBaseTypes=
"http://docs.oasis-open.org/tosca/ns/2011/12/ToscaBaseTypes"
name=
"ElasticsearchIndex-IA-Install_1.7.6-w1-wip1"
type=
"ToscaBaseTypes:ScriptArtifact"
id=
"ElasticsearchIndex-IA-Install_1.7.6-w1-wip1"
>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%253A%252F%252Fdch.uni-koeln.de%252Ftosca%252Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/files/install.sh"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/ArtifactTemplate.tosca.mimetype
0 → 100644
View file @
df843b52
application/vnd.oasis.tosca.definitions
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/files/install.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
INSTALL_PACKAGE
=
elasticsearch_index
INSTALL_VERSION
=
1.7.6
# ----------------------------------------------------------------------------
INSTALL_APIHOST
=
http://127.0.0.1:
$APIPort
INSTALL_WARRANT
=
"
\"
number
\"
:
\"
$INSTALL_VERSION
\"
"
}
# install
fn_install
()
{
which curl
||
sudo
apt-get
-qy
install
curl
grep
-q
"
$INSTALL_WARRANT
"
<<<
"
$(
curl
-s
$INSTALL_APIHOST
)
"
||
return
1
curl
-sX
PUT
$INSTALL_APIHOST
/
$IndexName
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
sudo
apt-get
-qy
update
# flow
fn_pkginfo
&&
fn_install
\
||
echo
"ERROR=INSTALL:
$INSTALL_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/files/install.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/source/install.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
INSTALL_PACKAGE
=
elasticsearch_index
INSTALL_VERSION
=
1.7.6
# ----------------------------------------------------------------------------
INSTALL_APIHOST
=
http://127.0.0.1:
$APIPort
INSTALL_WARRANT
=
"
\"
number
\"
:
\"
$INSTALL_VERSION
\"
"
}
# install
fn_install
()
{
which curl
||
sudo
apt-get
-qy
install
curl
grep
-q
"
$INSTALL_WARRANT
"
<<<
"
$(
curl
-s
$INSTALL_APIHOST
)
"
||
return
1
curl
-sX
PUT
$INSTALL_APIHOST
/
$IndexName
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
sudo
apt-get
-qy
update
# flow
fn_pkginfo
&&
fn_install
\
||
echo
"ERROR=INSTALL:
$INSTALL_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_1.7.6-w1-wip1/source/install.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/ArtifactTemplate.tosca
0 → 100644
View file @
df843b52
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
targetNamespace=
"http://dch.uni-koeln.de/tosca/artifacttemplates"
id=
"winery-defs-for_dch_artifacttemplates-ElasticsearchIndex-IA-Install_7.1.1-w1-wip1"
>
<ArtifactTemplate
xmlns:ToscaBaseTypes=
"http://docs.oasis-open.org/tosca/ns/2011/12/ToscaBaseTypes"
name=
"ElasticsearchIndex-IA-Install_7.1.1-w1-wip1"
type=
"ToscaBaseTypes:ScriptArtifact"
id=
"ElasticsearchIndex-IA-Install_7.1.1-w1-wip1"
>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%253A%252F%252Fdch.uni-koeln.de%252Ftosca%252Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/files/install.sh"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/ArtifactTemplate.tosca.mimetype
0 → 100644
View file @
df843b52
application/vnd.oasis.tosca.definitions
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/files/install.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
INSTALL_PACKAGE
=
elasticsearch_index
INSTALL_VERSION
=
7.1.1
# ----------------------------------------------------------------------------
INSTALL_APIHOST
=
http://127.0.0.1:
$APIPort
INSTALL_WARRANT
=
"
\"
number
\"
:
\"
$INSTALL_VERSION
\"
"
}
# install
fn_install
()
{
which curl
||
sudo
apt-get
-qy
install
curl
grep
-q
"
$INSTALL_WARRANT
"
<<<
"
$(
curl
-s
$INSTALL_APIHOST
)
"
||
return
1
curl
-sX
PUT
$INSTALL_APIHOST
/
$IndexName
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
sudo
apt-get
-qy
update
# flow
fn_pkginfo
&&
fn_install
\
||
echo
"ERROR=INSTALL:
$INSTALL_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/files/install.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/source/install.sh
0 → 100644
View file @
df843b52
#!/bin/bash
# pkginfo
fn_pkginfo
()
{
INSTALL_PACKAGE
=
elasticsearch_index
INSTALL_VERSION
=
7.1.1
# ----------------------------------------------------------------------------
INSTALL_APIHOST
=
http://127.0.0.1:
$APIPort
INSTALL_WARRANT
=
"
\"
number
\"
:
\"
$INSTALL_VERSION
\"
"
}
# install
fn_install
()
{
which curl
||
sudo
apt-get
-qy
install
curl
grep
-q
"
$INSTALL_WARRANT
"
<<<
"
$(
curl
-s
$INSTALL_APIHOST
)
"
||
return
1
curl
-sX
PUT
$INSTALL_APIHOST
/
$IndexName
}
# env
export
DEBIAN_FRONTEND
=
noninteractive
source
/etc/lsb-release
sudo
apt-get
-qy
update
# flow
fn_pkginfo
&&
fn_install
\
||
echo
"ERROR=INSTALL:
$INSTALL_PACKAGE
"
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/ElasticsearchIndex-IA-Install_7.1.1-w1-wip1/source/install.sh.mimetype
0 → 100644
View file @
df843b52
text/plain
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/ArtifactTemplate.tosca
0 → 100644
View file @
df843b52
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
xmlns:selfservice=
"http://www.eclipse.org/winery/model/selfservice"
xmlns:testwineryopentoscaorg=
"http://test.winery.opentosca.org"
targetNamespace=
"http://dch.uni-koeln.de/tosca/artifacttemplates"
id=
"winery-defs-for_dch_artifacttemplates-MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1"
>
<ArtifactTemplate
xmlns:dch_artifacttypes=
"http://dch.uni-koeln.de/tosca/artifacttypes"
name=
"MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1"
type=
"dch_artifacttypes:DataArtifact"
id=
"MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1"
>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%253A%252F%252Fdch.uni-koeln.de%252Ftosca%252Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/files/mcd-mapping-2019-07-01.json"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/ArtifactTemplate.tosca.mimetype
0 → 100644
View file @
df843b52
application/vnd.oasis.tosca.definitions
\ No newline at end of file
artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/MusicalCompetitionsDatabase-DA-Elasticsearch_0.0.1-w1-wip1/files/mcd-mapping-2019-07-01.json
0 → 100644
View file @
df843b52
{
"contest"
:
{
"properties"
:
{
"_rev"
:
{
"type"
:
"string"
},
"anlass"
:
{
"type"
:
"string"
},
"aufgaben"
:
{
"type"
:
"nested"
,
"properties"
:
{
"aufgabentyp"
:
{
"type"
:
"string"
,
"index"
:
"analyzed"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"spezifizierung"
:
{
"type"
:
"string"
},
"systematik"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"wettbewerbskontext"
:
{
"type"
:
"string"
}
}
},
"auszeichnungen"
:
{
"type"
:
"nested"
,
"properties"
:
{
"auszeichnungsarten"
:
{
"type"
:
"string"
},
"platzierungen"
:
{
"type"
:
"nested"
,
"properties"
:
{
"beschreibung"
:
{
"type"
:
"string"
},
"platzierte"
:
{
"type"
:
"string"
},
"rang"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
}
}
},
"wettbewerbskontext"
:
{
"type"
:
"string"
}
}
},
"beteiligte"
:
{
"type"
:
"nested"
,
"properties"
:
{
"anmerkung"
:
{
"type"
:
"string"
},
"identifier"
:
{
"type"
:
"string"
},
"kollaboration"
:
{
"type"
:
"string"
},
"name"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"rolle"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"wettbewerbskontext"
:
{
"type"
:
"string"
}
}
},
"bezeichnung"
:
{
"type"
:
"string"
},
"ereignisse"
:
{
"type"
:
"nested"
,
"properties"
:
{
"ausgefallen"
:
{
"type"
:
"boolean"
},
"beschreibung"
:
{
"type"
:
"string"
},
"ereignistyp"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"ort"
:
{
"properties"
:
{
"altName"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"esCountry"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"esGeoPoint"
:
{
"type"
:
"geo_point"
},
"esGeonameId"
:
{
"type"
:
"long"
},
"ortsname"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"ortszusatz"
:
{
"type"
:
"string"
}
}
},
"wettbewerbskontext"
:
{
"type"
:
"string"
},
"zeit"
:
{
"properties"
:
{
"bis"
:
{
"type"
:
"string"
},
"datum"
:
{
"type"
:
"string"
},
"datumszusatz"
:
{
"type"
:
"string"
},
"esDateRange"
:
{
"properties"
:
{
"end"
:
{
"type"
:
"date"
,
"format"
:
"dateOptionalTime"
},
"start"
:
{
"type"
:
"date"
,
"format"
:
"dateOptionalTime"
}
}
},
"von"
:
{
"type"
:
"string"
}
}
}
}
},
"ergaenzungen"
:
{
"type"
:
"string"
},
"esEnd"
:
{
"type"
:
"date"
,
"format"
:
"dateOptionalTime"
},
"esGeoP"
:
{
"type"
:
"geo_point"
},
"esPlacename"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"esStart"
:
{
"type"
:
"date"
,
"format"
:
"dateOptionalTime"
},
"formalia"
:
{
"type"
:
"string"
},
"kommentare"
:
{
"properties"
:
{
"text"
:
{
"type"
:
"string"
},
"thema"
:
{
"type"
:
"string"
}
}
},
"notizen"
:
{
"properties"
:
{
"autorIn"
:
{
"type"
:
"string"
},
"datumLast"
:
{
"type"
:
"string"
},
"text"
:
{
"type"
:
"string"
}
}
},
"quellen"
:
{
"properties"
:
{
"korpus"
:
{
"type"
:
"boolean"
},
"quellenangabe"
:
{
"type"
:
"string"
}
}
},
"reduzierteErfassung"
:
{
"type"
:
"boolean"
},
"schlagwoerter"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},
"serienzuordnung"
:
{
"properties"
:
{
"serienBezeichnung"
:
{
"type"
:
"string"
,
"fields"
:
{
"raw"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
}
},