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

Add YorcServer component #4

Merged
merged 69 commits into from
Sep 6, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
2a83166
import yorc types from a4c plugin
Jul 6, 2018
8645c16
add YorcPlugin node type to configure A4C
Jul 27, 2018
96040b9
fix upload plugin to a4c
Jul 27, 2018
8b479ed
update icon for YorcServer
Jul 27, 2018
ce3658b
fix pub component
Jul 27, 2018
6446996
fix missing directory
Jul 27, 2018
e07574b
fix working directory of running yorc service
Jul 30, 2018
2b6a0f7
Yorc server : download terraform bin
Jul 30, 2018
a1bf3a2
YorcServer : add proxies to service
Jul 31, 2018
8f25a2d
YorcServer : fix config dir hard coded
Jul 31, 2018
3306927
YorcServer : fix terraform version
Jul 31, 2018
31f99a7
YorcServer : add type to add OpenStack infrastructure in Yorc config …
Jul 31, 2018
49dcb32
YorcServer : use v3.0.0
Aug 6, 2018
ca2ca4a
OpenstackConfig : add key_pair artifact
Aug 6, 2018
17e7c21
OpenstackConfig : fix missing directory & variable
Aug 7, 2018
978a237
fix consul address & restart yorc after editing config & remove proxies
Aug 7, 2018
2876238
fix Yorc plugin configuration
Aug 9, 2018
b3a204c
use download_url property instead of artifact
Aug 9, 2018
b22c94c
enable configuration of Yorc http_port
Aug 9, 2018
85e5b75
add doc
Aug 10, 2018
3c475a5
fix default port of Yorc
Aug 10, 2018
b49510c
move terraform installation in a TerraformRuntime component
Aug 13, 2018
c3562f7
move http_port configuration
Aug 16, 2018
9f533eb
Add infrastructure configuration for AWS & kubernetes + use property …
Aug 16, 2018
9a22078
add missing newline
Aug 16, 2018
b5b470a
move ansible types from plugin
Aug 16, 2018
0135204
Add NFS components
Aug 17, 2018
4d0a4c4
add yorc_address_ha property
Aug 17, 2018
8364b47
use localhost ip for consul
Aug 17, 2018
3152b23
use hostname as server_id
Aug 17, 2018
3c9b10e
fix empty var
Aug 17, 2018
1d9363d
mount shared directory in mode 777
Aug 17, 2018
d03fbcf
fix NFS server permissions
Aug 20, 2018
b0bc8ec
use a4c 2.0.0 release
Aug 20, 2018
ae7acfb
NFSClient : derived from alien FileSystem
Aug 20, 2018
3499d6e
Add icon to terraform & ansible
Aug 20, 2018
5b80cd7
Remove runtime capability of Terraform & Ansible
Aug 21, 2018
01ddf07
Do not restart Yorc in configure state
Aug 21, 2018
395ddc5
Edit bad description
Aug 21, 2018
9d9e243
Fix doc
Aug 21, 2018
aac838d
YorcServer: rename filesystem_endpoint into work_directory
Aug 21, 2018
fac1733
Merge remote-tracking branch 'origin/develop' into feature/yorc-types
loicalbertin Aug 21, 2018
e4831d5
Update version numbers to be comform with the rest of the forge
loicalbertin Aug 21, 2018
e9d240a
Prevent permissions issues when configurating yorc
loicalbertin Aug 21, 2018
73b31f9
YorcServer: yorcConfig in 1 line
Aug 22, 2018
e6c3b6b
Consul: import plugin consul
Aug 22, 2018
a87d9b5
Add topologies for Yorc server
Aug 22, 2018
7725bf2
use community edition of a4c
Aug 22, 2018
ba29395
use community edition of a4c
Aug 22, 2018
5f9f83f
Ignore vscode conf files
loicalbertin Aug 23, 2018
544fa6f
add RuntimeDirectory for consul service to prevent error when folder …
Aug 23, 2018
5eac190
remove bad import
Aug 22, 2018
9eaeee7
add missing newline
Aug 27, 2018
e9a9144
use pub interfaces of a4c consul
Aug 22, 2018
76ae9b2
override default version of supported consul
Aug 23, 2018
48f4f2c
use port instead of api_port
Aug 23, 2018
4c747f7
fix property
Aug 23, 2018
37e9946
fix topologies
Aug 23, 2018
f31f3dc
Merge pull request #9 from ystia/feature/consul-a4c
BertrandD Aug 28, 2018
349c348
fix File exists on RuntimeDirectory
Aug 28, 2018
50e98db
reset env before curl local to avoid proxy
Aug 29, 2018
f206014
Deal with proxies when configuring Alien via its rest API
loicalbertin Aug 29, 2018
d13642f
make default_security_groups optional
Sep 4, 2018
446d525
Allow to create location in the Yorc orchestrator
Sep 5, 2018
3b137eb
fix topologies
Sep 5, 2018
01ff88c
move infrastructure config to post_configure on YorcServer workflow
Sep 5, 2018
367e19c
update topologies
Sep 5, 2018
8da5ec0
update documentation
Sep 6, 2018
9765a08
Merge remote-tracking branch 'origin/develop' into feature/yorc-types
loicalbertin Sep 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion org/ystia/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,24 @@ For the first method, see the example provided below for the *Welcome* sample.

For the second method:

- you need to configure a Git Location corresponding to the Ystia Forge in Alien4Cloud.
- you need to configure a Git Location corresponding to some Alien4Cloud components in the csar-public-library.

- Repository URL: https://github.com/alien4cloud/csar-public-library.git
- Credentials: *none*
- Branch: **v2.0.0**
- Archives to import:
loicalbertin marked this conversation as resolved.
Show resolved Hide resolved
- **org/alien4cloud/consul**
- **org/alien4cloud/java**
- **org/alien4cloud/elasticsearch**
- **org/alien4cloud/cloudify/manager/pub**
- **org/alien4cloud/cloudify/hostpool/pub**
- **org/alien4cloud/alien4cloud/pub**
- **org/alien4cloud/alien4cloud/config**
- **org/alien4cloud/alien4cloud/webapp**

- then execute the import operation for this git location. (known error : It is currently failing with the error : File path : archive.zip l:95 c: 70 The File does not respect YAML format, (mapping values are not allowed here).

- then you need to configure a Git Location corresponding to the Ystia Forge in Alien4Cloud.

- Repository URL: https://github.com/ystia/forge.git
- Credentials: *none*
Expand Down
48 changes: 45 additions & 3 deletions org/ystia/yorc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,53 @@ Properties

- **default_security_groups** : Default security groups to be used when creating a Compute instance.

- **key_pair** : The Key pair to use to connect on the OpenStack computes.

Artifacts
^^^^^^^^^

- **key_pair** : The Key pair to use to connect on the OpenStack computes.
Requirements
^^^^^^^^^^^^

- **host**: OpenStackConfig should be hosted on a YorcServer component.


KubernetesConfig Component
--------------------------

The OpenStackConfig component allows to add OpenStack infrastructure to the configuration of Yorc

Properties
^^^^^^^^^^

- **master_url** : URL of the HTTP API of Kubernetes is exposed. Format: https://<host>:<port>

- **ca** : Trusted root certificates for server

- **cert** : The TLS client certificate used for authentication

- **key** : The TLS client key used for authentication

- **insecure** : Server should be accessed without verifying the TLS certificate (testing only)


Requirements
^^^^^^^^^^^^

- **host**: OpenStackConfig should be hosted on a YorcServer component.


AWSConfig Component
-------------------

The OpenStackConfig component allows to add OpenStack infrastructure to the configuration of Yorc

Properties
^^^^^^^^^^

- **access_key** : The AWS access key credential.

- **secret_key** : The AWS secret key credential.

- **region** : The AWS region to use.

Requirements
^^^^^^^^^^^^
Expand Down
63 changes: 63 additions & 0 deletions org/ystia/yorc/alien4cloud/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
.. _yorc_a4c_plugin_section:

***********************
Yorc Alien4Cloud Plugin
***********************

.. contents::
:local:
:depth: 3


YorcPlugin Component
--------------------

The YorcPlugin component is responsible of the installatino of the Yorc-A4C-plugin and the creation of an orchestrator in alien.


Pre-requisites
^^^^^^^^^^^^^^

In order to import thoses types, you needs some alien4cloud types available in the csar-public-library (order is important):

- org/alien4cloud/consul
- org/alien4cloud/java
- org/alien4cloud/elasticsearch
- org/alien4cloud/cloudify/manager/pub
- org/alien4cloud/cloudify/hostpool/pub
- org/alien4cloud/alien4cloud/pub
- org/alien4cloud/alien4cloud/config

You could create a git import. Current needed version is v2.0.0

Properties
^^^^^^^^^^

- **download_url** : Download URL for this component binary. Providing a different value allows to specify an alternative repository (ie: for offline installations).
It is your responsibility to provide an accessible download url and to store required artifacts on it.

- Default : https://github.com/ystia/yorc/releases/download/v3.0.0/yorc.tgz

- **name**: Name of the orchestrator in alien4cloud

- Default : yorc

- **discriminator**: A discriminator to identity your alien4cloud account on the YorcServer

- Default : YourInitials

- **pluginId**: Plugin ID. Should be alien4cloud-yorc-plugin

- Default : alien4cloud-yorc-plugin

- **pluginBean**: PluginBean. Should be yorc-orchestrator-factory

- Default : yorc-orchestrator-factory

- **yorc_address_ha**: If yorc is deployed in HA mode, you should set this property with the configured domain name in consul. (default in HA mode is yorc.service.consul)

Requirements
^^^^^^^^^^^^

- **yorc**: The YorcServer instance to connect to