}
// Add documents marked as skeleton
{
logger.debug("Obtain list of documents from skeleton-docs view");
CouchDesignDocument designDoc = couchDb.getDesignDocument("atlas");
CouchQuery query = new CouchQuery();
query.setViewName("skeleton-docs");
CouchQueryResults results = designDoc.performQuery(query);
List<JSONObject> rows = results.getRows();
for(JSONObject row : rows){
String docId = row.getString("id");
docIds.add(docId);
}