Skip to content

Document deprecated BrAPI fields

  • For BrAPI field which are deprecated (ie. backend/src/main/java/fr/inra/urgi/gpds/domain/brapi/v1/data/BrapiLocation.java#getName() we should add a Javadoc explaining what to do with those fields, ie.:
    /**
     * Deprecated in favor of {@link #getLocationName()}
     */
    @Deprecated
    @JsonView(JSONView.BrapiFields.class)
    String getName();
  • Update code where those deprecated are currently used, ie backend/src/main/java/fr/inra/urgi/gpds/domain/data/LocationVO.java:150
  • Update accordingly BrAPI code (ie. VO?) in frontend classes if they still use deprecated code.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information