Browse Source

Fix the list of registered processes in the examples

Loïc Hoguin 11 years ago
parent
commit
1a4e7a8618

+ 1 - 1
examples/chunked_hello_world/src/chunked_hello_world.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy Chunked Hello World example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [chunked_hello_world_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/compress_response/src/compress_response.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy Compress Response example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [compress_response_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/cookie/src/cookie.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy Cookie example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [cookie_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/echo_get/src/echo_get.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy GET echo example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [echo_get_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/echo_post/src/echo_post.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy POST echo example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [echo_post_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/error_hook/src/error_hook.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy error handler example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [error_hook_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/eventsource/src/eventsource.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy EventSource example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [eventsource_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/hello_world/src/hello_world.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy Hello World example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [hello_world_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/markdown_middleware/src/markdown_middleware.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy static file handler example with middleware component."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [markdown_middleware_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/rest_basic_auth/src/rest_basic_auth.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy Basic HTTP Authorization example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [rest_basic_auth_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/rest_hello_world/src/rest_hello_world.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy REST Hello World example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [rest_hello_world_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/rest_pastebin/src/rest_pastebin.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy REST Pastebin example inspired by sprunge."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [rest_pastebin_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/rest_stream_response/src/rest_stream_response.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy REST with streaming."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [rest_stream_response_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/ssl_hello_world/src/ssl_hello_world.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy Hello World example with SSL."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [ssl_hello_world_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/static_world/src/static_world.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy static file handler example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [static_world_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/web_server/src/web_server.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy static file handler with directory indexes."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [web_server_sup]},
 	{applications, [
 		kernel,
 		stdlib,

+ 1 - 1
examples/websocket/src/websocket.app.src

@@ -4,7 +4,7 @@
 	{description, "Cowboy websocket example."},
 	{vsn, "1"},
 	{modules, []},
-	{registered, []},
+	{registered, [websocket_sup]},
 	{applications, [
 		kernel,
 		stdlib,