From 2dcd00feb5efe82e60301a8b9169abb0503caf47 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 6 Jan 2016 10:54:47 -0800 Subject: [PATCH 1/4] Update manifest structure --- manifest.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/manifest.yml b/manifest.yml index a457f04..849e699 100644 --- a/manifest.yml +++ b/manifest.yml @@ -3,20 +3,13 @@ applications: name: python memory: 128M services: - ${name}-mysql-db: - type: mysql - #${name}-postgres-db: - # type: postgresql - #${name}-rabbitmq3: - # type: rabbitmq3 - #${name}-mongo-db: - # type: mongodb - #${name}-filesystem: - # type: filesystem - #${name}-harbor: - # type: harbor - #${name}-memcached: - # type: memcached + - python-mysql-db + #- python-postgres-db + #- python-rabbitmq3 + #- python-mongo-db + #- python-filesystem + #- python-harbor + #- python-memcached helion: env: - ENV_VAR: ${name} + ENV_VAR: python From 4a586a06057840d4c0702661b58278e1657732ea Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 6 Jan 2016 13:46:21 -0800 Subject: [PATCH 2/4] Disable services --- manifest.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/manifest.yml b/manifest.yml index 849e699..3990afd 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,15 +1,14 @@ applications: - .: - name: python - memory: 128M - services: - - python-mysql-db - #- python-postgres-db - #- python-rabbitmq3 - #- python-mongo-db - #- python-filesystem - #- python-harbor - #- python-memcached - helion: +- name: python + memory: 128M + #services: + #- python-mysql-db + #- python-postgres-db + #- python-rabbitmq3 + #- python-mongo-db + #- python-filesystem + #- python-harbor + #- python-memcached + stackato: env: - ENV_VAR: python + ENV_VAR: python From fb9d9b3a8fe9e9cdf2d6f33c31c8d9e19fd4557a Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 6 Jan 2016 15:13:15 -0800 Subject: [PATCH 3/4] Update manifest structure --- manifest.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manifest.yml b/manifest.yml index 3990afd..fafdf6a 100644 --- a/manifest.yml +++ b/manifest.yml @@ -9,6 +9,5 @@ applications: #- python-filesystem #- python-harbor #- python-memcached - stackato: - env: - ENV_VAR: python + env: + ENV_VAR: python From 116d03b92b7dda6e1a8fb42876306df19a4aab34 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Tue, 19 Jan 2016 11:30:24 -0800 Subject: [PATCH 4/4] Replace hardcoded links and app name --- client/addservice.html | 38 ++++++------ client/scripts/main.js | 128 ++++++++++++++++++++++------------------- manifest.yml | 3 +- wsgi.py | 23 ++++++-- 4 files changed, 109 insertions(+), 83 deletions(-) diff --git a/client/addservice.html b/client/addservice.html index bd11fb5..d6264d6 100644 --- a/client/addservice.html +++ b/client/addservice.html @@ -68,10 +68,10 @@

ALS Services(these are built
- +

To create an instance of the filesystem service, execute the commands below in the directory containing the your app:

helion
-                    create-service filesystem dotnet-starter-filesystem dotnet-starter
+                    create-service filesystem -filesystem 
                 

You can also uncomment the following in the manifest.yml and push the app again.

${name}-filesystem:
@@ -88,10 +88,10 @@

ALS Services(these are built

- +

To create an instance of the harbor port service, execute the commands below in the directory containing the your app:

helion
-                    create-service harbor dotnet-starter-harbor dotnet-starter
+                    create-service harbor -harbor 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -109,10 +109,10 @@ 

ALS Services(these are built

- +

To create an instance of the memecached service, execute the commands below in the directory containing the your app:

helion
-                    create-service memcached dotnet-starter-memcached dotnet-starter
+                    create-service memcached -memcached 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -130,10 +130,10 @@ 

ALS Services(these are built

- +

To create an instance of the mongo service, execute the commands below in the directory containing the your app:

helion
-                    create-service mongodb dotnet-starter-mongodb dotnet-starter
+                    create-service mongodb -mongodb 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -199,7 +199,7 @@ 

ALS Services(these are built

To create an instance of the mysql service, execute the commands below in the directory containing the your app:

helion
-                    create-service mysql dotnet-starter-mysql dotnet-starter
+                    create-service mysql -mysql 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -217,10 +217,10 @@ 

ALS Services(these are built

- +

To create an instance of the postgres service, execute the commands below in the directory containing the your app:

helion
-                    create-service postgresql dotnet-starter-postgresql dotnet-starter
+                    create-service postgresql -postgresql 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -288,10 +288,10 @@ 

ALS Services(these are built

- +

To create an instance of the rabbit service, execute the commands below in the directory containing the your app:

helion
-                    create-service rabbitmq3 dotnet-starter-rabbitmq3 dotnet-starter
+                    create-service rabbitmq3 -rabbitmq3
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -309,10 +309,10 @@ 

ALS Services(these are built

- +

To create an instance of the sql server service, execute the commands below in the directory containing the your app:

helion
-                    create-service mssql2014 dotnet-starter-mssql2014 dotnet-starter
+                    create-service mssql2014 -mssql2014 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -330,10 +330,10 @@ 

ALS Services(these are built

- +

To create an instance of the redis service, execute the commands below in the directory containing the your app:

helion
-                    create-service redis dotnet-starter-redis dotnet-starter
+                    create-service redis -redis 
                 

You can also uncomment the following in the manifest.yml and push the app again.

@@ -358,7 +358,7 @@ 

User-Provided Services(these