Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vosa 284 support for backend bridge #1

Open
wants to merge 2,759 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2759 commits
Select commit Hold shift + click to select a range
f81f54f
VOSA-183: Added documentation for ece-build command.
skanwarulislam Nov 3, 2015
dd27372
VOSA-183: Included ece-build-guide.org to generate man page in packag…
skanwarulislam Nov 5, 2015
fd97166
VOSA-186: Added ova conf file parser.
skanwarulislam Nov 9, 2015
d8bc875
VOSA-186: Added make-dev-image.sh helper script to generated the vmdk…
skanwarulislam Nov 9, 2015
56173e6
VOSA-186: Added make-ova.sh to generate ova file from generated vmdk …
skanwarulislam Nov 9, 2015
faa5e19
VOSA-186: Added vosa -i {instance} make ova command.
skanwarulislam Nov 9, 2015
008628a
VOSA-186: Added documentation for vosa make and ova command.
skanwarulislam Nov 9, 2015
6734d88
VOSA-186: Fixed comments.
skanwarulislam Nov 9, 2015
38f0d84
VOSA-186: Fixed config properties name.
skanwarulislam Nov 9, 2015
67c2ae5
VOSA-186: If the passphrase provided in conf file then we will creat…
skanwarulislam Nov 9, 2015
4e7e58c
VOSA-186: Used echo instead of print_and_log.
skanwarulislam Nov 10, 2015
f970688
Bugfix: ece edit now works with multiple instances on the same host
Nov 10, 2015
0062995
VOSA-183. Added man pages for ece-builder and ece-local-builder scripts.
skanwarulislam Nov 10, 2015
a73e794
VOSA-183. Included ece-builder and ece-local-builder org files to gen…
skanwarulislam Nov 10, 2015
f4d974e
VOSA-183. Fixed documentation for ece-local-builder
skanwarulislam Nov 10, 2015
6fe7ee8
VOSA-186: Updated documentation for making dev image in vosa guide.
skanwarulislam Nov 10, 2015
3710bbf
VOSA-186: Improved dependency installation instruction.
skanwarulislam Nov 10, 2015
414a6be
VOSA-186: Now agreement message is set properly in the variable.
skanwarulislam Nov 11, 2015
d35452f
VOSA-186:Made ostype and cpus configurable.
skanwarulislam Nov 11, 2015
3d91f7f
VOSA-184: Added escenic-builder module and it's necessary features …
skanwarulislam Nov 11, 2015
e9c446e
VOSA-186: Made engine and search tomcat heap size configurable.
skanwarulislam Nov 11, 2015
f412600
VOSA-185: Added sample ova.conf in vosa init.
skanwarulislam Nov 11, 2015
9f5dc26
VOSA-186: Added some validation for the ova_config_parse.
skanwarulislam Nov 11, 2015
d072b11
VOSA-185: Fix the variable names in sample ova file.
skanwarulislam Nov 11, 2015
6ec01dc
VOSA-183: Used builtin replace feature of bash.
skanwarulislam Nov 17, 2015
86392dc
VOSA-187: Updated copy right information for some more guides
skanwarulislam Nov 17, 2015
a9a28fe
Merge branch 'feature/VOSA-178' into develop
skanwarulislam Nov 17, 2015
ad7999c
VOSA-129: Added publication related webapps to be deployed under publ…
skanwarulislam Dec 7, 2015
149cf48
VOSA-129: Pinned to unstable suit for the develop branch
skanwarulislam Dec 7, 2015
b503524
VOSA-129: Added some debug log.
skanwarulislam Dec 7, 2015
63f982d
VOSA-129: Removed debug logs.
skanwarulislam Dec 7, 2015
0bef2a7
Documentation fix: root commands are prefixed with #
Jan 13, 2016
7f16afd
Bugfix in 'ece deploy' for search instances rel to indexer-webapp-pre…
Jan 13, 2016
9cebd6b
Hardening: always run commands in the run wrapper
Jan 13, 2016
d492de8
Replaced all occurrences of Vizrt with Escenic
Jan 13, 2016
897953b
VOSA-209: Made local builder setup dependent on maven repo instead of…
skanwarulislam Feb 4, 2016
03b8f66
Added mobile-webservice to standard webapps list
Feb 5, 2016
7199edf
Use 4 byte UTF-8 as default character encoding on MySQL databases
Feb 9, 2016
a08266c
VOSA-211 Use 4 byte UTF-8 as default character encoding on MySQL data…
Feb 9, 2016
5539740
Revert "VOSA-211 Use 4 byte UTF-8 as default character encoding on My…
skanwarulislam Feb 9, 2016
dc53347
Revert "Use 4 byte UTF-8 as default character encoding on MySQL datab…
Feb 10, 2016
f1af78e
VOSA-216:Added revision-history plugin to cloud tools
skanwarulislam Mar 7, 2016
47eb1f7
VOSA-209: Do not deploy if the builder is running in local mode
skanwarulislam Mar 10, 2016
4100036
VOSA-228: publication webapps now get access logs again
May 4, 2016
fc337f8
VOSA-229 Fixed technet credential test + download list
May 11, 2016
8f0930a
Updated fall back Tomcat URL
May 11, 2016
ddcc00e
Merge pull request #4 from escenic/bugfix/VOSA-228-access-logs-for-th…
skanwarulislam May 24, 2016
bc664a5
Updated URLs to ece-scripts repo vizrt → escenic
May 23, 2016
ec80616
Added support for new git hosted ECE/develop
May 24, 2016
c845960
Added common-bashing::pretty_print_xml
May 24, 2016
5b0eed8
VOSA-229 ece-install now installs multi core Solr 6
May 11, 2016
8fb19fa
Bugfix in ece-install::install_packages_if_missing
May 27, 2016
d1d6cbc
Bugfix in get_base_dir_from_bundle
May 27, 2016
2cd1006
Bugfix: fixed a [: -eq: unary operator expected error
May 25, 2016
71dc579
Bugfix no longer duplicate indexer-presentation <Context/>s
May 24, 2016
93d204d
Merge branch 'feature/VOSA-209' into develop
skanwarulislam Jun 9, 2016
ba15574
Merge branch 'develop' of github.com:escenic/ece-scripts into develop
skanwarulislam Jun 9, 2016
b213f03
Merge pull request #6 from escenic/feature/VOSA-229-standalone-solr
skanwarulislam Jun 16, 2016
4a35bb2
Used git archive to download the tar file for escenic-munin project.
skanwarulislam Jun 21, 2016
0f076e2
Changed repo for spore to stash
skanwarulislam Jun 21, 2016
e7ecce1
Merge branch 'feature/VOSA-209' into develop
skanwarulislam Jun 21, 2016
3fcb278
Merge branch 'develop' of github.com:escenic/ece-scripts into develop
skanwarulislam Jun 21, 2016
36a69f5
Updated Tomcat download URL
Jun 22, 2016
18a501b
Updated solr6 download URL
Jun 22, 2016
68e4b0e
Added solr in deployment white list for search instance. This is for …
skanwarulislam Jun 24, 2016
172e589
Made presenation url legacy compatible.
skanwarulislam Jun 27, 2016
c33872f
Fixed typo
skanwarulislam Jun 27, 2016
f7b7a0b
Fixed presentation solr url for ece6 for seo plugin
skanwarulislam Jun 28, 2016
5ea5690
Fixed build syntax error in special-plugins
skanwarulislam Jun 29, 2016
dce0814
Fixed the legacy solr url in SolrSearchEngine nursery properties
skanwarulislam Jun 30, 2016
6abfc92
Get rid of double http:// scheme from solr url
skanwarulislam Jun 30, 2016
2cc9e68
Added widget-framework as a new plugin in build-scripts
skanwarulislam Jul 18, 2016
f4d2f4c
VOSA-195: Added publicationType while create a publication in escenic…
skanwarulislam Jul 27, 2016
a77561d
Merge branch 'develop' into feature/VOSA-195
skanwarulislam Jul 28, 2016
c12f510
Added missing \ to the curl command to create the publication
skanwarulislam Jul 28, 2016
a4adb3d
VOSA-233: Made ece-build script compatible with develop-SNAPSHOT
skanwarulislam Aug 2, 2016
a64c90a
Added support for engine new maven coordinate along with the old one
skanwarulislam Aug 4, 2016
711ca78
Fixed the search url for saas installation.
skanwarulislam Aug 8, 2016
cff99cb
Added an check to see mysql server is running or not. If not then we …
skanwarulislam Aug 11, 2016
63516c1
Added check for root user authorized_keys file, which is not present …
skanwarulislam Aug 11, 2016
8184e51
Fixed engine new maven coordinates
skanwarulislam Aug 17, 2016
aebac12
Fixed the default broken download link for solr6
skanwarulislam Aug 30, 2016
ed8353f
Changed script to consider port in git url to get the exact host name…
skanwarulislam Sep 10, 2016
76758aa
ece deploy --file now caches EAR file like it does with --uri
Nov 1, 2016
0eaac53
Merge pull request #7 from escenic/feature/cache-ear-on-deploy
skanwarulislam Nov 2, 2016
6df6f09
Tell the JVM to use explicit encoding everywhere (UTF-8)
Nov 4, 2016
2ca6a2a
Merge pull request #9 from escenic/feature/default-jvm-encoding
skanwarulislam Nov 15, 2016
6de5260
VOSA-238: Changed the way we have checked supported Debian distributi…
skanwarulislam Nov 16, 2016
fe885be
VOSA-238: Made the curl repo call to redirect if needed.
skanwarulislam Nov 21, 2016
a6e814d
VOSA-237 New command: ece repackage
Nov 2, 2016
900f49a
VOSA-237 Added support for extracting EAR archives
Nov 3, 2016
fc4ec05
Added merging of webservice.war and webservice-extensions.war
Nov 8, 2016
8c0fd3b
Fail fast if there are no installed OS packages
Nov 18, 2016
7b83df1
If no EAR is passed, repackage is now idempotent
Nov 21, 2016
a36c4bc
Introduced unit testing with shunit2
Nov 23, 2016
60a39c3
Merge pull request #8 from escenic/feature/VOSA-237-ece-deploy-suppor…
Nov 23, 2016
4d1ed58
Changed reference of apt.vizrt.com to apt.escenic.com
skanwarulislam Dec 6, 2016
5219555
Replaced maven.vizrt.com with maven.escenic.com
Dec 13, 2016
61b6ea2
Provided default values for /etc/init.d/ece's configuration
Dec 14, 2016
4bebffc
Merge pull request #12 from escenic/feature/default-values-for-init.d
skanwarulislam Dec 15, 2016
c3504d3
Merge pull request #11 from escenic/bugfix/replace-maven-vizrt-com-wi…
skanwarulislam Dec 15, 2016
67fddc0
Merge pull request #10 from escenic/bugfix/VOSA-238
skanwarulislam Dec 15, 2016
ee1ad54
VOSA-239 ece repackage now includes CS plugins
Dec 19, 2016
3b7df8d
Merge pull request #13 from escenic/bugfix/ece-repackage-doesnt-inclu…
skanwarulislam Dec 29, 2016
61ffca9
VOSA-240 ece repackage now patches all WARs (also ECE's)
Jan 6, 2017
4cf198d
Updated email address: [email protected][email protected]
Jan 6, 2017
70c05aa
ece repackage now deals with ancient trunk-SNAPSHOT dependencies too
Jan 27, 2017
4f264a0
Merge pull request #14 from escenic/feature/VOSA-240-repackaging-live…
Jan 27, 2017
ee24448
Added .gitignore witth shunit2 library
Feb 3, 2017
cd6da78
VOSA-242 escenic-content-engine-scripts now includes all conf files i…
Feb 3, 2017
68ad526
Merge pull request #15 from escenic/feature/VOSA-242-include-ece.conf…
Feb 6, 2017
33186be
Added resolver war in standard webapp list for dpres publication to work
skanwarulislam Feb 17, 2017
8b86082
Speed boost to common-bashing::debug
Feb 17, 2017
e3d2674
New strategy of dealing with merging (or copying) of package WARs
Feb 10, 2017
bfec6d2
Merge pull request #16 from escenic/bugfix/webservice-war-gets-duplic…
Feb 24, 2017
575c496
ece -i search1 -t search deploy now works with EARs without engine-co…
Feb 27, 2017
239a2da
ece-install can now figure out the latest Tomcat release again
Feb 27, 2017
7ae4c22
Made ece-install to generate right nursery component with correct cla…
skanwarulislam Mar 2, 2017
d2b7dfa
Removed the trailing slash from directroy path for nursery component
skanwarulislam Mar 2, 2017
d26e46d
Removed interactive mode from ece-install
Feb 28, 2017
dba57c9
Default name of an editorial instance is now engine1
Feb 28, 2017
683e5d0
Added a TODO file with a simple road map
Mar 1, 2017
8deda4f
Fixed regression in common-os::get_tomcat_download_url()
Mar 2, 2017
9e6003a
The zip command is needed by 'ece repackage'
Mar 2, 2017
0c14a4a
Support for using APT instead of zip for escenic archives (WIP)
Mar 7, 2017
d4b8d79
ece list-deployments: Fixed message when listing all deployments
Mar 7, 2017
395a64f
ece repackage: Repackaging only makes sense for engine instances
Mar 7, 2017
f67d583
common::is_installing_post_ece6() + unit tests to doc usage
Mar 7, 2017
be28144
Merge pull request #18 from escenic/bugfix/deploy-search-inst-fails-i…
Mar 21, 2017
b1f7944
Merge pull request #19 from escenic/fix-memcached
skanwarulislam Mar 21, 2017
94c4b33
Merge pull request #17 from escenic/feature/add-resolver-war
skanwarulislam Mar 21, 2017
a321d80
Added video-presentation-webservice as standard webapp
skanwarulislam Mar 21, 2017
a1135f5
Merge branch 'develop' of github.com:escenic/ece-scripts into develop
skanwarulislam Mar 21, 2017
5d0fb6a
ece deploy: now creates minimal EAR if none is available
Mar 8, 2017
5995412
ece repackage: Handle missing EAR gracefully
Mar 8, 2017
9f8f81b
Solr6 is best installed with lsof available on the system
Mar 8, 2017
020166d
ece-install/search: Adjust deployment white list for ECE >= 6
Mar 8, 2017
19e7091
Updated Percona APT public key
Mar 8, 2017
38a9319
Can now install the DB profile
Mar 9, 2017
e007dea
Updated TODO with branch progress
Mar 9, 2017
35ca1b0
Partial support for creating publication using apt.escenic.com
Mar 9, 2017
08936ad
YAML support for SDP's needs is feature complete
Mar 9, 2017
f261d48
Now, fai_publication_webapps on the same format as other publication …
Mar 10, 2017
6ba9597
Added script to generate ece-install reference from unit test
Mar 13, 2017
daad6ff
Added dynamic command lookup to /usr/bin/ece
Mar 13, 2017
2724b79
New /usr/bin/ece sub command: create-publication
Mar 13, 2017
6597490
Added common-bashing::look_up_in_xml_file()
Mar 13, 2017
50a17e2
Made common-io::set_conf_file_value work without global state
Mar 13, 2017
d0cd98c
Dynamic auto completion for /usr/bin/ece sub commands
Mar 14, 2017
ed37d3d
ece-install::create_publication now uses /usr/bin/ece clean-publication
Mar 14, 2017
0639494
EAE can now be installed from DEB packages
Mar 14, 2017
68a80ba
Added more unit tests for the cache profile
Mar 15, 2017
97247b0
Updated TODO with APT status
Mar 15, 2017
7262880
Can now install assembly tool using APT packages
Mar 15, 2017
d1cee02
Fixed Maria DB install on Ubuntu 16.04.2 LTS (xenial)
Mar 16, 2017
f77e721
Most explicitly state publication creation
Mar 16, 2017
b48d89e
Removed duplicate publication ear parsing
Mar 16, 2017
fbd8f7d
Removed method & call to content-engine::get_publications_webapps_list
Mar 16, 2017
9b8232b
/usr/bin/ece now uses instance engine1 if no -i <instance>
Mar 17, 2017
e031766
Sub commands can allow root user execution
Mar 17, 2017
fba4d35
Allow root to run 'ece list-instances list-publications create-public…
Mar 17, 2017
f6bdee5
YAML support for which files to update when creating a publication
Mar 17, 2017
bd14748
Can now create publication(s) without provided EAR file
Mar 17, 2017
5e4e296
Added TODO steps for RedHat
Mar 20, 2017
76c6b86
Installing Java on RedHat now works (again)
Mar 20, 2017
38dadd1
Hardening: fail fast if ece-install.yaml isn't valid YAML
Mar 21, 2017
580130e
Made ece-install to generate right nursery component with correct cla…
skanwarulislam Mar 2, 2017
1bb7792
Major ece-install profiles now work on RedHat (again)
Mar 21, 2017
4741306
Simplified database::check_mysql_is_running()
Mar 21, 2017
10a7643
Less output from wget please
Mar 22, 2017
7d6fa50
cache-server: Install Varnish from official repositories
Mar 22, 2017
3ce33fa
Varnish v4 now installs on RedHat
Mar 22, 2017
a3bd91c
Updated TODO on v3 progress
Mar 22, 2017
3363a3a
Tomcat native APR is now setup on RedHat based systems
Mar 22, 2017
c56b659
ece-install now supports Varnish 4
Mar 23, 2017
3266d00
Possible to re-run ece-install endless times on RedHat
Mar 24, 2017
55acb49
Move info message about EAE backend, it was in the wrong place
Mar 24, 2017
105553e
Hardened installation of the MariaDB JDBC driver
Mar 24, 2017
0080309
On RedHat based systems, install MariaDB from official sources
Mar 27, 2017
cbab146
After 5 years, it's about time ece-install promotes the stable packag…
Mar 28, 2017
4e99117
Re-installing the search profile now works (again)
Mar 28, 2017
bcf147f
ece-install can now upgrade/downgrade DEBs (instead of APT)
Mar 28, 2017
80dc0b6
Quote wget auth parameter values
Mar 31, 2017
9f0efe2
common-os::add_apt_source only add source if URL doesn't exist
Apr 3, 2017
0cb5cd3
Allow manually installed escenic-common-scripts
Apr 3, 2017
d7f82cc
Merge branch 'develop' into feature/VOSA-244-deb-instead-of-zip
Apr 10, 2017
82f27aa
Merge pull request #20 from escenic/feature/VOSA-244-deb-instead-of-zip
Apr 10, 2017
16ab280
ece create-publication now support password protected /escenic-admin …
Apr 19, 2017
fe05202
Merge pull request #21 from escenic/feature/create-publication-with-p…
Apr 20, 2017
9d03e19
Long needed update to the documentation + generated ref doc
Apr 27, 2017
cef1086
Merge pull request #22 from escenic/feature/update-man-pages-for-ece6…
May 2, 2017
c2e27f6
Full support for deployment white list through YAML
May 2, 2017
aad4a4a
YAML support for specifying the DB vendor
May 2, 2017
4a44a55
YAML support for fai_editor_ear + basic CUE config
May 5, 2017
81c903c
Bit of hardening to /usr/bin/ece create-publication
May 5, 2017
1e87c7a
VOSA-251 ece-install can now install CUE
May 5, 2017
13a68b1
Merge pull request #23 from escenic/feature/more-yaml-options
May 9, 2017
973732d
ece-install now supports YAML conf of NFS client and server profiles
May 10, 2017
740b16c
Now installs Oracle JDK on Debian & Ubuntu
May 12, 2017
6fe1d34
Install libxml2 to be sure xmllint is available
May 15, 2017
e7e31ce
Removed dead code
May 15, 2017
48f04cb
Merge pull request #25 from escenic/feature/yaml-support-for-nfs-serv…
May 16, 2017
f651898
Merge pull request #26 from escenic/feature/java-install-on-debian-n-…
May 16, 2017
c558f73
Merge branch 'develop' into feature/VOSA-251-ece-install-cue
May 19, 2017
a4a8f40
Merge branch 'develop' into feature/VOSA-251-ece-install-cue
May 19, 2017
8e7efea
Merge pull request #24 from escenic/feature/VOSA-251-ece-install-cue
May 19, 2017
c13f5b1
Changed Vizrt → Escenic in message given after installing the install…
May 22, 2017
08a08f0
Updated Tomcat fall back URL
May 23, 2017
15ae766
Updated Java support for 8u131-b11
May 26, 2017
796b6da
Merge pull request #27 from escenic/feature/update-java
May 26, 2017
3771a12
Java tarball URL is now dynamically figured out
May 26, 2017
31215a0
Updated reference doc
May 26, 2017
df708f4
Merge branch 'feature/dynamic-java-lookup' into develop
May 26, 2017
f87745c
Updated Solr URL to the latest 6.5.1 release (tested & works)
May 30, 2017
99993e0
CORS fix: must expose error code of failed requests
May 31, 2017
2f0e64b
Fixed quoting of builder credentials.
May 31, 2017
e227800
Merge pull request #28 from escenic/bugfix/cors-trueget
May 31, 2017
c0d0755
Bug fix: can now set Newsgate backend correctly from fai_cue_backend_ng
Jun 1, 2017
f0ba3e7
Regression fix: consider publication type in fai_publication_domain_m…
Jun 2, 2017
be6aba0
Added --publication-type parameter to 'ece create-publication'
Jun 7, 2017
9f4822a
With Varnish 4, there's no reason for date hack
Jun 7, 2017
39b1990
Updated Maria JDBC driver version to 2.0.1
Jun 7, 2017
bde5cf8
One, 1!, space broke the code.
Jun 8, 2017
0b96de1
Add Live Center web services to the CORS setup
Jun 9, 2017
e9e5051
menu now has its own webservice, not a webservice extension
Jun 9, 2017
a79c8de
Add Menu web services to the CORS setup
Jun 9, 2017
e9dc382
Added live-center--->live plugin name change in ece-script. Also adde…
skanwarulislam Jun 16, 2017
9e65c00
Bug fix in 'ece create-publication': only add <Host/> elements to pub…
Jun 23, 2017
b06805f
Fixed regression: ece-install.d/create-publication::ensure_that_insta…
Jun 23, 2017
1713da0
ece-install: CORS/nginx fix for ECE on different host than CUE
Jun 29, 2017
c83f317
Optional fai_cue_backend_ece_local to use case where ECE is local to CUE
Jul 3, 2017
ccbae92
Regression fix: varnish-hacks.vcl are no longer needed
Jul 3, 2017
e0a2ee7
Added document of how users can help us help them
Jul 4, 2017
4033fb2
Explained how to help us help you with the ece command and init.d
Jul 4, 2017
af7ccb1
Made a copy & paste-able code block: I don't want to think!
Jul 4, 2017
abe48c2
Added heading to conf and log files
Jul 4, 2017
a1d9411
Cache port should also be configurable for systemd systems
Jul 4, 2017
ef8fb98
ece can now create publication resources, including section feed
Jul 6, 2017
42891ba
Mark everything the package provides in /etc as a conf file
Jul 12, 2017
e3ebc2c
Update Tomcat fallback URL
Jul 24, 2017
3e15698
ece repackage: follow links in /usr/share/escenic
Jul 25, 2017
c9b6369
ece-install can now install & configure SSE proxy
Aug 15, 2017
e4463cb
Fixed a 'too many arguments error' when installing CUE or SSE proxy
Aug 15, 2017
d3a839a
Fixed RPM install of CUE & Front related artifacts
Aug 17, 2017
9680d37
Now installs Oracle Java on RedHat systems (again)
Aug 17, 2017
423f49d
Updated documentation WRT lock file
Aug 18, 2017
c1762f4
Installation of memcached on RedHat and CentOS works again
Aug 18, 2017
f84a7a2
centos has gone all systmedy
Aug 18, 2017
0c29e6b
Merge branch 'feature/VOSA-257-sse-proxy' into develop
Aug 18, 2017
24ce72f
Added CUE endpoint bridge
Aug 30, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/local/src/unit-tests/shunit2
2 changes: 1 addition & 1 deletion COPYING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2011 Vizrt
Copyright 2011-2015 Escenic

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
81 changes: 33 additions & 48 deletions README
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
========
Note!
========
This version of ece-scripts is currently being modified to support java7, tomcat7 and content engine 5.6. During this transition the latest version of ece-scripts will not work correctly for previously released engine versions.


========
Overview
========
These are scripts to help template developers and administrators
manage various components of the Escenic Content Engine. The scripts
are experimental and not yet a part of the official distribution of
Escenic Content Engine from Vizrt Online.
Escenic Content Engine.

========================
Project directory layout
Expand All @@ -13,60 +19,39 @@ The file structure ressembles where you'd typically put the various
scripts and configuration files. That's all it is, only for
documentational purposes :-)

==========================
Features of the ece script
==========================
$ ece help
Usage: /usr/bin/ece [-t <type>] [-i <instance>] <command>
===================================
Features of the /usr/bin/ece script
===================================
https://github.com/escenic/ece-scripts/blob/master/usr/share/doc/escenic/ece-guide.org

DESCRIPTION
-t --type <type>
The following types are available:
engine - The Escenic Content Engine, this is the default
and is the assumed type if none is specified.
search - A standalone search indexer and solr instance
rmi-hub - The RMI hub responsible for the internal
communication between the ECE instances.

-i --instance <instance>
The type instance, such as editor1, web1 or search1

-p --publication <publication>
Needed only for updating publication resources

-r --resource <resource>
Needed only for updating publication resources.
Must be one of: content-type, feature, layout, layout-group
image-version, menu
-v --verbose
Prints out debug statements, useful for debugging.
===================================
Features of the /usr/bin/ece-import script
===================================
https://github.com/escenic/ece-scripts/blob/master/usr/share/doc/escenic/ece-import-guide.org

The following commands are available:
applog the type's app server log
assemble runs the Assembly Tool *)
clean removes temporary files created by /home/torstein/bin/ece *)
deploy deploys the assembled EAR *)
help prints this help screen
kill uses force to stop the type
log the type's Log4J log
outlog the [ece#engine] script log (system out log)
restart restarts the type
start starts the type
status checks if the type is running
stop stops the type
threaddump write a thread dump to standard out (system out log)
update update publication resources
versions lists the ECE component versions
============================================
Features of the /usr/sbin/ece-install script
============================================
https://github.com/escenic/ece-scripts/blob/master/usr/share/doc/escenic/ece-install-guide.org

*) only applicable if type is 'engine'
===========================================
Features of the /usr/bin/system-info script
===========================================
https://github.com/escenic/ece-scripts/blob/master/usr/share/doc/escenic/system-info-guide.org

==========================
Feedback
==========================
====================================
Features of the /usr/bin/vosa script
====================================
https://github.com/escenic/ece-scripts/blob/master/usr/share/doc/vizrt/vosa-guide.org

========
Feedback
========
Hope you enjoy the ece /usr/bin and intit.d scripts. All feedback,
come hither!

-torstein@escenic.com
Escenic Support support(at)escenic.com

(The founder of this repo , Torstein, has move(d) on to other challenges)

Commits to this repo will also show in our vosa hipchat room
65 changes: 65 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

# Version 3.x aka "akbash"

## /usr/sbin/ece-install

### ✔ Install ECE from APT
Support for installing ECE & plugins using the escenic APT
repositories.

- ✔ Editor profile (Escenic Content Engine)
- ✔ Presentation profile (Escenic Content Engine)
- ✔ Search profile (ECE's indexer-webapp + Solr)
- ✔ DB profile, ECE
- ✔ DB profile, ECE plugins
- ✔ Create publication(s) profile → Move to `/usr/bin/ece`
- ✔ Analysis profile (Escenic Analysis Engine)
- ✔ Analysis DB profile
- ✔ Cache server profile
- ✔ Assembly Tool

### ✔ Install ECE from RPMs
Support for installing ECE & plugins using the escenic RPM packages.

- ✔ Editor profile (Escenic Content Engine)
- ✔ Presentation profile (Escenic Content Engine)
- ✔ Search profile (ECE's indexer-webapp + Solr)
- ✔ DB profile, ECE
- ✔ DB profile, ECE plugins
- ✔ Create publication(s) profile → Move to `/usr/bin/ece`
- ✔ Analysis profile (Escenic Analysis Engine)
- ✔ Analysis DB profile
- ✔ Cache server profile
- ✔ Assembly Tool

### ✔ Support for Varnish 4

Varnish 3 has reached its end of life and Varnish 4 is in the official
repositories of Debian stable, Ubuntu LTS and CentOS 7 and RedHat 7.

### ✔ YAML configuration file format

See the [unit tests](usr/local/src/unit-tests/ece-install-conf-file-reader-test.sh) for
configuration examples.

### ✔ Remove the interactive mode.

It's rarely used and complicates the source code and configuration
options unnecessarily.

## ✔ /usr/bin/ece

- ✔ New sub command: /usr/bin/ece create-publication

- ✔ Easy to extend, e.g. put `create-publication.sh` in a directory,
e.g.`ece.d`, and get `ece create-publication`. The
`create-publication` sub command is then included in TAB completion,
help screens and `man` pages.


## Version 4.x
### Easier to extend `ece-install`

Preferably in any language. Put a file in a directory and
`ece-install` will execute that file at a predictable point in time.

125 changes: 107 additions & 18 deletions etc/bash_completion.d/ece
Original file line number Diff line number Diff line change
@@ -1,40 +1,129 @@
# auto completion for the /usr/bin/ece command.
_ece_commands()
# auto completion for the /usr/bin/ece command. Emacs: -*- sh -*- mode

_get_sub_commands_for_ece() {
cat <<EOF
applog
assemble
backup
clean
deploy
edit
flush
help
info
kill
list-deployments
list-instances
list-logs
list-publications
log
outlog
package
remove-old-log-files
repackage
restart start
status
stop
threaddump
top
update
versions
EOF

# Dynamic lookup of available sub commands for /usr/bin/ece
(
local cmd_dir=/usr/share/escenic/ece-scripts/ece.d
if [ ! -d "${cmd_dir}" ]; then
return
fi

for el in "${cmd_dir}"/*.sh; do
source "${el}"
done
declare -F |
awk '{print $3}' |
sed -n 's#^cmd_##p' |
sed 's#_#-#g'
)
}

_get_completions_for_ece_command()
{
local cur=${COMP_WORDS[COMP_CWORD]}
local prev=${COMP_WORDS[COMP_CWORD-1]}

commands="applog assemble clean deploy help kill log outlog restart start status stop threaddump update versions"
resources="content-type feature layout layout-group image-version menu"
commands=$(_get_sub_commands_for_ece)

options="-i --instance -p --publication -r --publication-resource
-t --type -u --user -w --password"
resources="content-type feature layout layout-group image-version menu
section-feed security root-section-parameters"
types="engine search analysis rmi-hub"

# default completions is the list of commands
completions=$commands

long_options="--help"

# TODO make educated guesses on these.
instances=""
publications=""
completions=$commands" "$options

case "$prev" in
-t)
backup)
exclude_list="
--exclude-binaries
--exclude-solr
--exclude-init
--exclude-conf
--exclude-db
--exclude-state
--exclude-multimedia
"
completions="$exclude_list $commands"
;;
deploy|repackage)
completions="--file --uri $commands"
;;
-t|--type)
completions=$types
;;
-i)
completions=$instances
-i|--instance)
completions=$(ece -q list-instances)
;;
-p)
completions=$publications
-p|--publication)
local file=/usr/share/escenic/ece-scripts/common-ece.sh
if [ -r $file ]; then
source $file
completions=$(get_publication_list)
else
completions=""
fi
;;
-r)
-r|--publication-resource)
completions=$resources
;;
*)
if [[ "${prev}" != "$1" ]]; then
completions=${completions}" "$(get_completions_for_cmd "${prev}")
fi
# ;;
esac

COMPREPLY=( $(compgen -W "$completions" -- $cur) )
}

complete -F _ece_commands ece
## $1 :: cmd name
get_completions_for_cmd() {
local cmd=$1
local cmd_completion_function=complete_${cmd//-/_}

local cmd_dir=/usr/share/escenic/ece-scripts/ece.d
if [ ! -d "${cmd_dir}" ]; then
return
fi

for el in "${cmd_dir}"/*.sh; do
source "${el}" 2>/dev/null
done

declare -F |
grep -q -w "${cmd_completion_function}" &&
"${cmd_completion_function}"
}

complete -F _get_completions_for_ece_command ece
33 changes: 33 additions & 0 deletions etc/bash_completion.d/ece-deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# auto completion for the ece-deploy command. -*- sh -*-

_ece-deploy_commands()
{
local cur=${COMP_WORDS[COMP_CWORD]}
local prev=${COMP_WORDS[COMP_CWORD-1]}

options="
--conf
--ear
--force
--list-deployments
--update-publication-resources
"

# default completions is the list of options
case "$prev" in
--conf)
completions="http://"
;;
--ear)
completions="http://"
;;
*)
completions="$options"
;;
esac

COMPREPLY=( $(compgen -W "$completions" -- $cur) )
}

complete -o default -F _ece-deploy_commands ece-deploy

32 changes: 32 additions & 0 deletions etc/bash_completion.d/ece-import
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# auto completion for the ece-import command. -*- sh -*-

_ece-import_commands()
{
local cur=${COMP_WORDS[COMP_CWORD]}
local prev=${COMP_WORDS[COMP_CWORD-1]}

options="
--directories-only
--escenic-group
--escenic-user
--import-archive
--name
--password
--publication
--uri
--user
--version
-V
-f
-n
-p
"

# default completions is the list of options
completions="$options"

COMPREPLY=( $(compgen -W "$completions" -- $cur) )
}

complete -o default -F _ece-import_commands ece-import

Loading