[asterisk-commits] dlee: branch dlee/stasis-http r379060 - in /team/dlee/stasis-http: ./ apps/ b...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 14 13:57:53 CST 2013


Author: dlee
Date: Mon Jan 14 13:57:49 2013
New Revision: 379060

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379060
Log:
API cleanup; copyrights

Modified:
    team/dlee/stasis-http/Makefile
    team/dlee/stasis-http/apps/app_stasis.c
    team/dlee/stasis-http/build_tools/make_stasis_http_stubs   (contents, props changed)
    team/dlee/stasis-http/cog/   (props changed)
    team/dlee/stasis-http/cog/res_stasis_http.make.cog
    team/dlee/stasis-http/cog/stasis_cog.py
    team/dlee/stasis-http/cog/stasis_http_resource.c.cog
    team/dlee/stasis-http/cog/stasis_http_resource.h.cog
    team/dlee/stasis-http/cog/stasis_http_resources.c.cog
    team/dlee/stasis-http/include/asterisk/stasis_http_asterisk.h
    team/dlee/stasis-http/include/asterisk/stasis_http_bridges.h
    team/dlee/stasis-http/include/asterisk/stasis_http_channels.h
    team/dlee/stasis-http/include/asterisk/stasis_http_endpoints.h
    team/dlee/stasis-http/include/asterisk/stasis_http_recordings.h
    team/dlee/stasis-http/res/res_stasis_http.make
    team/dlee/stasis-http/res/stasis_http_asterisk.c
    team/dlee/stasis-http/res/stasis_http_bridges.c
    team/dlee/stasis-http/res/stasis_http_channels.c
    team/dlee/stasis-http/res/stasis_http_endpoints.c
    team/dlee/stasis-http/res/stasis_http_recordings.c
    team/dlee/stasis-http/res/stasis_http_resources.c
    team/dlee/stasis-http/rest-api/asterisk.json
    team/dlee/stasis-http/rest-api/bridges.json
    team/dlee/stasis-http/rest-api/channels.json
    team/dlee/stasis-http/rest-api/endpoints.json
    team/dlee/stasis-http/rest-api/recordings.json
    team/dlee/stasis-http/rest-api/resources.json

Modified: team/dlee/stasis-http/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/Makefile?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/Makefile (original)
+++ team/dlee/stasis-http/Makefile Mon Jan 14 13:57:49 2013
@@ -962,8 +962,7 @@
 	@cat sounds/sounds.xml >> $@
 	@echo "</menu>" >> $@
 
-# We don't want to require Python or Cog for every build, so this is its own
-# target.
+# We don't want to require Python or Cog for every build, so this is its own target.
 stasis-stubs:
 	build_tools/make_stasis_http_stubs
 

Modified: team/dlee/stasis-http/apps/app_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/apps/app_stasis.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/apps/app_stasis.c (original)
+++ team/dlee/stasis-http/apps/app_stasis.c Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /*
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *

Modified: team/dlee/stasis-http/build_tools/make_stasis_http_stubs
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/build_tools/make_stasis_http_stubs?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/build_tools/make_stasis_http_stubs (original)
+++ team/dlee/stasis-http/build_tools/make_stasis_http_stubs Mon Jan 14 13:57:49 2013
@@ -27,17 +27,17 @@
     name=$(basename ${json} .json)
     sources="${sources} stasis_http_${name}.o"
     if test ${name} = resources; then
-        ${COG} -z -I cog/ -D RESOURCES=${json} -d -o res/stasis_http_resources.c cog/stasis_http_resources.c.cog
+        ${COG} -I cog/ -D RESOURCES=${json} -d -o res/stasis_http_resources.c cog/stasis_http_resources.c.cog
     else
-        ${COG} -z -I cog/ -D RESOURCE=${json} -d -o include/asterisk/stasis_http_${name}.h cog/stasis_http_resource.h.cog
+        ${COG} -I cog/ -D RESOURCE=${json} -d -o include/asterisk/stasis_http_${name}.h cog/stasis_http_resource.h.cog
 	if ! test -e res/stasis_http_${name}.c; then
 	    # Only write the file if it doesn't exist; otherwise you'll overwrite someone's hard work.
 	    echo "  Generating source stubs"
-            ${COG} -z -I cog/ -D RESOURCE=${json} -d -o res/stasis_http_${name}.c cog/stasis_http_resource.c.cog
+            ${COG} -I cog/ -D RESOURCE=${json} -d -o res/stasis_http_${name}.c cog/stasis_http_resource.c.cog
 	fi
     fi
 done
 
 # Generate the makefile for the dependencies
 echo "Cogging res_stasis_http.make"
-${COG} -z -I cog/ -D SOURCES="${sources}" -D TARGET="res_stasis_http.so" -d -o res/res_stasis_http.make cog/res_stasis_http.make.cog
+${COG} -I cog/ -D SOURCES="${sources}" -D TARGET="res_stasis_http.so" -d -o res/res_stasis_http.make cog/res_stasis_http.make.cog

Propchange: team/dlee/stasis-http/build_tools/make_stasis_http_stubs
------------------------------------------------------------------------------
    svn:executable = *

Propchange: team/dlee/stasis-http/cog/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Jan 14 13:57:49 2013
@@ -1,0 +1,1 @@
+*.pyc

Modified: team/dlee/stasis-http/cog/res_stasis_http.make.cog
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/cog/res_stasis_http.make.cog?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/cog/res_stasis_http.make.cog (original)
+++ team/dlee/stasis-http/cog/res_stasis_http.make.cog Mon Jan 14 13:57:49 2013
@@ -5,10 +5,17 @@
 #
 # Generated Makefile for res_stasis_http dependencies.
 #
-# Copyright (C) 2012, Digium, Inc.
+# 
+# [[[cog
+# import cog, datetime
+# now = datetime.datetime.now()
+# cog.outl("# Copyright (C) 2012 - %s, Digium, Inc." % now.year)
+# ]]]
+# [[[end]]]
 #
 # This program is free software, distributed under the terms of
 # the GNU General Public License
 #
 
 # [[[cog import cog, stasis_cog; stasis_cog.do_not_edit('#'); cog.outl('%s: %s' % (TARGET, SOURCES))]]]
+# [[[end]]]

Modified: team/dlee/stasis-http/cog/stasis_cog.py
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/cog/stasis_cog.py?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/cog/stasis_cog.py (original)
+++ team/dlee/stasis-http/cog/stasis_cog.py Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 #
 # Asterisk -- An open source telephony toolkit.
 #
-# Copyright (C) 2012, Digium, Inc.
+# Copyright (C) 2012 - 2013, Digium, Inc.
 #
 # David M. Lee, II <dlee at digium.com>
 #
@@ -188,6 +188,8 @@
 	self.children = OrderedDict()
 	self.operations = OrderedDict()
 	self.includes = []
+	self.author = None
+	self.copyright = None
 
 	if not is_identifier(self.get_name()):
 	    raise ValueError("Invalid path name: %s" % path_element)
@@ -201,6 +203,9 @@
 	resources_dir = os.path.dirname(resources_file)
 	with open(resources_file) as fp:
 	    resources = json.load(fp)
+
+	self.author = self.author or resources.get('author')
+	self.copyright = self.copyright or resources.get('copyright')
 
 	for api in resources['apis']:
 	    # Path in json is URI relative, so we need to drop the initial /api/
@@ -215,6 +220,9 @@
 	"""
 	with open(resource_file) as fp:
 	    resource = json.load(fp)
+
+	self.author = self.author or resource.get('author')
+	self.copyright = self.copyright or resource.get('copyright')
 
 	for api in resource['apis']:
 	    resource_path = api['path'].split('/')
@@ -367,3 +375,35 @@
     else:
 	raise ValueError("Invalid comment style: %s" % comment_style)
     cog.outl(msg)
+
+def write_resource_copyright(prefix, resource):
+    root = Resource('', 'stasis')
+    root.load_resource(resource)
+    if root.copyright is None:
+	raise ValueError("Missing copyright statement in %s" % resource)
+    cog.out(prefix)
+    cog.out(root.copyright)
+
+def write_resource_author(prefix, resource):
+    root = Resource('', 'stasis')
+    root.load_resource(resource)
+    if root.author is None:
+	raise ValueError("Missing author statement in %s" % resource)
+    cog.out(prefix)
+    cog.out(root.author)
+
+def write_resources_copyright(prefix, resources):
+    root = Resource('', 'stasis')
+    root.load_resources(resources)
+    if root.copyright is None:
+	raise ValueError("Missing copyright statement in %s" % resources)
+    cog.out(prefix)
+    cog.out(root.copyright)
+
+def write_resources_author(prefix, resources):
+    root = Resource('', 'stasis')
+    root.load_resources(resources)
+    if root.author is None:
+	raise ValueError("Missing author statement in %s" % resources)
+    cog.out(prefix)
+    cog.out(root.author)

Modified: team/dlee/stasis-http/cog/stasis_http_resource.c.cog
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/cog/stasis_http_resource.c.cog?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/cog/stasis_http_resource.c.cog (original)
+++ team/dlee/stasis-http/cog/stasis_http_resource.c.cog Mon Jan 14 13:57:49 2013
@@ -1,9 +1,11 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ [[[cog import stasis_cog; stasis_cog.write_resource_copyright(' * ', RESOURCE)]]]
+ [[[end]]]
  *
- * David M. Lee, II <dlee at digium.com>
+ [[[cog import stasis_cog; stasis_cog.write_resource_author(' * ', RESOURCE)]]]
+ [[[end]]]
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,9 +20,10 @@
 
 /*! \file
  *
- * \brief Implementation
+ * \brief Implementation for stasis-http stubs.
  *
- * \author David M. Lee, II <dlee at digium.com>
+ [[[cog import stasis_cog; stasis_cog.write_resource_author(' * \\author ', RESOURCE)]]]
+ [[[end]]]
  */
 
 /*** MODULEINFO

Modified: team/dlee/stasis-http/cog/stasis_http_resource.h.cog
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/cog/stasis_http_resource.h.cog?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/cog/stasis_http_resource.h.cog (original)
+++ team/dlee/stasis-http/cog/stasis_http_resource.h.cog Mon Jan 14 13:57:49 2013
@@ -1,9 +1,11 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ [[[cog import stasis_cog; stasis_cog.write_resource_copyright(' * ', RESOURCE)]]]
+ [[[end]]]
  *
- * David M. Lee, II <dlee at digium.com>
+ [[[cog import stasis_cog; stasis_cog.write_resource_author(' * ', RESOURCE)]]]
+ [[[end]]]
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -20,7 +22,8 @@
  *
  * \brief Generated file - declares stubs to be implemented for stasis_http
  *
- * \author David M. Lee, II <dlee at digium.com>
+ [[[cog import stasis_cog; stasis_cog.write_resource_author(' * \\author ', RESOURCE)]]]
+ [[[end]]]
  */
 
 #include "asterisk/stasis_http.h"

Modified: team/dlee/stasis-http/cog/stasis_http_resources.c.cog
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/cog/stasis_http_resources.c.cog?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/cog/stasis_http_resources.c.cog (original)
+++ team/dlee/stasis-http/cog/stasis_http_resources.c.cog Mon Jan 14 13:57:49 2013
@@ -1,9 +1,11 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ [[[cog import stasis_cog; stasis_cog.write_resources_copyright(' * ', RESOURCES)]]]
+ [[[end]]]
  *
- * David M. Lee, II <dlee at digium.com>
+ [[[cog import stasis_cog; stasis_cog.write_resources_author(' * ', RESOURCES)]]]
+ [[[end]]]
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -20,7 +22,8 @@
  *
  * \brief Generated file - provides Stasis API HTTP entry points
  *
- * \author David M. Lee, II <dlee at digium.com>
+ [[[cog import stasis_cog; stasis_cog.write_resources_author(' * \\author ', RESOURCES)]]]
+ [[[end]]]
  */
 
 /*** MODULEINFO

Modified: team/dlee/stasis-http/include/asterisk/stasis_http_asterisk.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/include/asterisk/stasis_http_asterisk.h?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/include/asterisk/stasis_http_asterisk.h (original)
+++ team/dlee/stasis-http/include/asterisk/stasis_http_asterisk.h Mon Jan 14 13:57:49 2013
@@ -1,9 +1,9 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
- * David M. Lee, II <dlee at digium.com>
+ * David M. Lee, II <dlee at digium.com> asterisk
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -20,7 +20,7 @@
  *
  * \brief Generated file - declares stubs to be implemented for stasis_http
  *
- * \author David M. Lee, II <dlee at digium.com>
+ * \author David M. Lee, II <dlee at digium.com> asterisk
  */
 
 #include "asterisk/stasis_http.h"

Modified: team/dlee/stasis-http/include/asterisk/stasis_http_bridges.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/include/asterisk/stasis_http_bridges.h?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/include/asterisk/stasis_http_bridges.h (original)
+++ team/dlee/stasis-http/include/asterisk/stasis_http_bridges.h Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *

Modified: team/dlee/stasis-http/include/asterisk/stasis_http_channels.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/include/asterisk/stasis_http_channels.h?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/include/asterisk/stasis_http_channels.h (original)
+++ team/dlee/stasis-http/include/asterisk/stasis_http_channels.h Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *

Modified: team/dlee/stasis-http/include/asterisk/stasis_http_endpoints.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/include/asterisk/stasis_http_endpoints.h?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/include/asterisk/stasis_http_endpoints.h (original)
+++ team/dlee/stasis-http/include/asterisk/stasis_http_endpoints.h Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *

Modified: team/dlee/stasis-http/include/asterisk/stasis_http_recordings.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/include/asterisk/stasis_http_recordings.h?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/include/asterisk/stasis_http_recordings.h (original)
+++ team/dlee/stasis-http/include/asterisk/stasis_http_recordings.h Mon Jan 14 13:57:49 2013
@@ -1,9 +1,9 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
- * David M. Lee, II <dlee at digium.com>
+ * David M. Lee, II <dlee at digium.com> recordings
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -20,7 +20,7 @@
  *
  * \brief Generated file - declares stubs to be implemented for stasis_http
  *
- * \author David M. Lee, II <dlee at digium.com>
+ * \author David M. Lee, II <dlee at digium.com> recordings
  */
 
 #include "asterisk/stasis_http.h"

Modified: team/dlee/stasis-http/res/res_stasis_http.make
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/res_stasis_http.make?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/res_stasis_http.make (original)
+++ team/dlee/stasis-http/res/res_stasis_http.make Mon Jan 14 13:57:49 2013
@@ -5,7 +5,8 @@
 #
 # Generated Makefile for res_stasis_http dependencies.
 #
-# Copyright (C) 2012, Digium, Inc.
+# 
+# Copyright (C) 2012 - 2013, Digium, Inc.
 #
 # This program is free software, distributed under the terms of
 # the GNU General Public License

Modified: team/dlee/stasis-http/res/stasis_http_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/stasis_http_asterisk.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/stasis_http_asterisk.c (original)
+++ team/dlee/stasis-http/res/stasis_http_asterisk.c Mon Jan 14 13:57:49 2013
@@ -1,9 +1,9 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
- * David M. Lee, II <dlee at digium.com>
+ * David M. Lee, II <dlee at digium.com> asterisk
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,9 +18,9 @@
 
 /*! \file
  *
- * \brief Implementation
+ * \brief Implementation for stasis-http stubs.
  *
- * \author David M. Lee, II <dlee at digium.com>
+ * \author David M. Lee, II <dlee at digium.com> asterisk
  */
 
 /*** MODULEINFO

Modified: team/dlee/stasis-http/res/stasis_http_bridges.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/stasis_http_bridges.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/stasis_http_bridges.c (original)
+++ team/dlee/stasis-http/res/stasis_http_bridges.c Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *
@@ -18,7 +18,7 @@
 
 /*! \file
  *
- * \brief Implementation
+ * \brief Implementation for stasis-http stubs.
  *
  * \author David M. Lee, II <dlee at digium.com>
  */

Modified: team/dlee/stasis-http/res/stasis_http_channels.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/stasis_http_channels.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/stasis_http_channels.c (original)
+++ team/dlee/stasis-http/res/stasis_http_channels.c Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *
@@ -18,7 +18,7 @@
 
 /*! \file
  *
- * \brief Implementation
+ * \brief Implementation for stasis-http stubs.
  *
  * \author David M. Lee, II <dlee at digium.com>
  */

Modified: team/dlee/stasis-http/res/stasis_http_endpoints.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/stasis_http_endpoints.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/stasis_http_endpoints.c (original)
+++ team/dlee/stasis-http/res/stasis_http_endpoints.c Mon Jan 14 13:57:49 2013
@@ -1,7 +1,7 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
  * David M. Lee, II <dlee at digium.com>
  *
@@ -18,7 +18,7 @@
 
 /*! \file
  *
- * \brief Implementation
+ * \brief Implementation for stasis-http stubs.
  *
  * \author David M. Lee, II <dlee at digium.com>
  */

Modified: team/dlee/stasis-http/res/stasis_http_recordings.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/stasis_http_recordings.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/stasis_http_recordings.c (original)
+++ team/dlee/stasis-http/res/stasis_http_recordings.c Mon Jan 14 13:57:49 2013
@@ -1,9 +1,9 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
- * David M. Lee, II <dlee at digium.com>
+ * David M. Lee, II <dlee at digium.com> recordings
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -18,9 +18,9 @@
 
 /*! \file
  *
- * \brief Implementation
+ * \brief Implementation for stasis-http stubs.
  *
- * \author David M. Lee, II <dlee at digium.com>
+ * \author David M. Lee, II <dlee at digium.com> recordings
  */
 
 /*** MODULEINFO

Modified: team/dlee/stasis-http/res/stasis_http_resources.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/res/stasis_http_resources.c?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/res/stasis_http_resources.c (original)
+++ team/dlee/stasis-http/res/stasis_http_resources.c Mon Jan 14 13:57:49 2013
@@ -1,9 +1,9 @@
 /* -*- C -*-
  * Asterisk -- An open source telephony toolkit.
  *
- * Copyright (C) 2012, Digium, Inc.
+ * Copyright (C) 2012 - 2013, Digium, Inc.
  *
- * David M. Lee, II <dlee at digium.com>
+ * David M. Lee, II <dlee at digium.com> resources
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -20,7 +20,7 @@
  *
  * \brief Generated file - provides Stasis API HTTP entry points
  *
- * \author David M. Lee, II <dlee at digium.com>
+ * \author David M. Lee, II <dlee at digium.com> resources
  */
 
 /*** MODULEINFO

Modified: team/dlee/stasis-http/rest-api/asterisk.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/asterisk.json?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/rest-api/asterisk.json (original)
+++ team/dlee/stasis-http/rest-api/asterisk.json Mon Jan 14 13:57:49 2013
@@ -1,4 +1,6 @@
 {
+    "copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
+    "author": "David M. Lee, II <dlee at digium.com>",
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "resourcePath": "/asterisk",

Modified: team/dlee/stasis-http/rest-api/bridges.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/bridges.json?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/rest-api/bridges.json (original)
+++ team/dlee/stasis-http/rest-api/bridges.json Mon Jan 14 13:57:49 2013
@@ -1,4 +1,6 @@
 {
+    "copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
+    "author": "David M. Lee, II <dlee at digium.com>",
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "resourcePath": "/bridges.json",

Modified: team/dlee/stasis-http/rest-api/channels.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/channels.json?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/rest-api/channels.json (original)
+++ team/dlee/stasis-http/rest-api/channels.json Mon Jan 14 13:57:49 2013
@@ -1,4 +1,6 @@
 {
+    "copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
+    "author": "David M. Lee, II <dlee at digium.com>",
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "resourcePath": "/channels",

Modified: team/dlee/stasis-http/rest-api/endpoints.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/endpoints.json?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/rest-api/endpoints.json (original)
+++ team/dlee/stasis-http/rest-api/endpoints.json Mon Jan 14 13:57:49 2013
@@ -1,4 +1,6 @@
 {
+    "copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
+    "author": "David M. Lee, II <dlee at digium.com>",
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "resourcePath": "/endpoints",

Modified: team/dlee/stasis-http/rest-api/recordings.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/recordings.json?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/rest-api/recordings.json (original)
+++ team/dlee/stasis-http/rest-api/recordings.json Mon Jan 14 13:57:49 2013
@@ -1,4 +1,6 @@
 {
+    "copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
+    "author": "David M. Lee, II <dlee at digium.com>",
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "resourcePath": "/recordings",

Modified: team/dlee/stasis-http/rest-api/resources.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/resources.json?view=diff&rev=379060&r1=379059&r2=379060
==============================================================================
--- team/dlee/stasis-http/rest-api/resources.json (original)
+++ team/dlee/stasis-http/rest-api/resources.json Mon Jan 14 13:57:49 2013
@@ -1,4 +1,6 @@
 {
+    "copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
+    "author": "David M. Lee, II <dlee at digium.com>",
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",




More information about the asterisk-commits mailing list