Deprecation warning about type attribute?

Justin Clift jclift at redhat.com
Wed Jun 20 10:16:32 UTC 2012


Hi Dan,

Trying out the wordpress.xml file from your fedorapeople.org stuff,
with Aeolus 0.10.2 on F16.

  http://radez.fedorapeople.org/wordpress.xml

When creating or editing the Deployable, this flash message shows up:

  • Deprecation Warning: Parameter 'wp_name' in service 'http' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'wp_user' in service 'http' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'wp_pw' in service 'http' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'mysql_ip' in service 'http' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'mysql_hostname' in service 'http' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'mysql_dbup' in service 'http' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'wp_name' in service 'mysql' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'wp_user' in service 'mysql' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'wp_pw' in service 'mysql' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'apache_ip' in service 'mysql' has a type attribute. Remove the type attribute or move it to a child value tag.
  • Deprecation Warning: Parameter 'apache_hostname' in service 'mysql' has a type attribute. Remove the type attribute or move it to a child value tag.

Removing the type=scalar bit for all of the parameters seems to do
the trick, with no warnings showing up. i.e.:

  <parameter name="wp_name">
    <value>wordpress</value>
  </parameter>

Correct approach?  No hidden gotcha's from doing that?

+ Justin

--
Aeolus Community Manager
http://www.aeolusproject.org




More information about the aeolus-devel mailing list