summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/test/java/org/openecomp/sdc/healing/healers/testHealers/data/TestDescriptionHealer.java
blob: aac1a502ef227d8c50cdd97a98f0e451ab45f35d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.openecomp.sdc.healing.healers.testHealers.data;

import org.openecomp.sdc.healing.interfaces.Healer;
import org.openecomp.sdc.vendorsoftwareproduct.dao.type.VspDetails;
import org.openecomp.sdc.versioning.dao.types.Version;

public class TestDescriptionHealer implements Healer {

  @Override
  public Object heal(String vspId, Version version) throws Exception {
    VspDetails vspDetails = new VspDetails(vspId, version);
    vspDetails.setDescription("This is a data healer");

    return vspDetails;
  }
}