Skip to content

Commit

Permalink
Merge pull request #378 from boozallen/#152-record-same-package-error
Browse files Browse the repository at this point in the history
#152 Records with the same package as a data pipeline cannot be used as inbound/outbound types
  • Loading branch information
jaebchoi authored Sep 27, 2024
2 parents 2be1cff + 8ad7794 commit 88fd26b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
*/
public class JavaStepDataRecordType extends BaseStepDataRecordTypeDecorator {

private AIOpsModelInstanceRepostory modelRepository = ModelInstanceRepositoryManager
.getMetamodelRepository(AIOpsModelInstanceRepostory.class);

/**
* {@inheritDoc}
*/
Expand All @@ -41,7 +38,7 @@ public String getFullyQualifiedType() {
String fullyQualifiedRecordType = null;

String packageName = getPackage();
if (StringUtils.isNotBlank(packageName) && !packageName.equals(modelRepository.getBasePackage())) {
if (StringUtils.isNotBlank(packageName) ){
fullyQualifiedRecordType = packageName + "." + getName();
}

Expand Down

0 comments on commit 88fd26b

Please sign in to comment.