The enumeration in Articles 1872 through 1874 does not limit or restrict the exercise of the general powers conferred in Article 1871 in any proceeding where declaratory relief is sought, in which a judgment or decree will terminate the controversy or remove an uncertainty.