code: private void generateDefaultProfile(final DaoManager storage, final String profileSourcePath) throws SQLException, IOException{
          Profile profile = storage.getProfilesDao().getProfile(DEFAULT_PROFILE_SID);
  
          if (profile == null) {
              if(logger.isDebugEnabled()) {
                  logger.debug("default profile does not exist, will create one from default Plan");
              }
              JsonNode jsonNode = JsonLoader.fromPath(profileSourcePath);
              profile = new Profile(DEFAULT_PROFILE_SID, jsonNode.toString(), new Date(), new Date());
              storage.getProfilesDao().addProfile(profile);
          } else {
              if(logger.isDebugEnabled()){
                  logger.debug("default profile already exists, will not override it.");
              }
          }
      }
docs: generateDefaultProfile if does not already exists
  @throws SQLException
  @throws IOException