-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from tillias/dev
- Loading branch information
Showing
32 changed files
with
599 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
src/main/java/com/github/microcatalog/domain/custom/impact/analysis/Item.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
package com.github.microcatalog.domain.custom.impact.analysis; | ||
|
||
import com.github.microcatalog.domain.Microservice; | ||
import com.github.microcatalog.service.dto.custom.MicroserviceDto; | ||
import org.hibernate.annotations.Cache; | ||
import org.hibernate.annotations.CacheConcurrencyStrategy; | ||
|
||
import java.util.List; | ||
|
||
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE) | ||
public class Item { | ||
private Microservice target; | ||
private List<Microservice> siblings; | ||
private MicroserviceDto target; | ||
private List<MicroserviceDto> siblings; | ||
|
||
public Microservice getTarget() { | ||
public MicroserviceDto getTarget() { | ||
return target; | ||
} | ||
|
||
public Item target(Microservice microservice) { | ||
public Item target(MicroserviceDto microservice) { | ||
this.target = microservice; | ||
return this; | ||
} | ||
|
||
public void setTarget(Microservice microservice) { | ||
public void setTarget(MicroserviceDto microservice) { | ||
this.target = microservice; | ||
} | ||
|
||
public List<Microservice> getSiblings() { | ||
public List<MicroserviceDto> getSiblings() { | ||
return siblings; | ||
} | ||
|
||
public Item siblings(List<Microservice> siblings) { | ||
public Item siblings(List<MicroserviceDto> siblings) { | ||
this.siblings = siblings; | ||
return this; | ||
} | ||
|
||
public void setSiblings(List<Microservice> siblings) { | ||
public void setSiblings(List<MicroserviceDto> siblings) { | ||
this.siblings = siblings; | ||
} | ||
} |
Oops, something went wrong.