> + */
> + @Named("database:create")
> + @POST
> + @Path("/databases")
> + @Consumes(MediaType.APPLICATION_JSON)
> + @Fallback(FalseOnNotFoundOr404.class)
> + @MapBinder(BindCreateDatabaseToJson.class)
> + boolean create(@PayloadParam("database") String database,
> @PayloadParam("character_set") String character_set, @PayloadParam("collate")
> String collate);
> +
> + /**
> + * This operation deletes the specified database for the specified
> database instance.
> + *
> + * @param databaseName The name for the specified database.
> + * @return true if successful
> + */
> + @Named("databases:delete/{name}")
I'm not sure about the `{name}` pattern here. The `@Named` annotation is used
to identify the method and configure its timeout. Timeouts are defined using
properties with the value of the annotation as follows:
```java
jclouds.timeouts.database:create = <timeout value>
```
And in this case the name of the property would be:
```java
jclouds.timeouts.database:delete/{name} = <timeout value>
```
Which seems a little weird. I'd just leave the value as `databases:delete`.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/3/files#r4437586