Add get_all and available to basic service module, fix #3997