nutritious-bird-77396
06/23/2021, 7:41 PMDataset get(Dataset urn, int version)
(https://github.com/linkedin/datahub/blob/master/gms/client/src/main/java/com/linkedin/dataset/client/Datasets.java#L62)
Is this achievable? Could you guys highlight the high level changes that might be needed to provide this ability….green-football-43791
06/23/2021, 7:43 PMgreen-football-43791
06/23/2021, 7:43 PMgreen-football-43791
06/23/2021, 7:44 PMgreen-football-43791
06/23/2021, 7:44 PMgreen-football-43791
06/23/2021, 7:44 PMgreen-football-43791
06/23/2021, 7:44 PMgreen-football-43791
06/23/2021, 7:44 PMgreen-football-43791
06/23/2021, 7:45 PMgreen-football-43791
06/23/2021, 7:45 PMnutritious-bird-77396
06/23/2021, 7:46 PMnutritious-bird-77396
06/29/2021, 11:21 PMEntityService
component….I would like to achieve to introduce the /aspects
Rest.li endpoint without any of the EntityService
changes….Instead I was planning on using
@Inject
@Named("aspectDao")
private BaseReadDAO<Aspect, Urn> _aspectDao;
In that case i don’t get the respec.json’s generated in api/idl
folder for aspect
resource…
I added a resource, client and modelchanges…..
Do i need to introduce factory classes as well? Any idea….
I am not sure if this is clear…if not, we can chat up for 15 mins if you desire to debug this…green-football-43791
06/30/2021, 9:34 PMgreen-football-43791
06/30/2021, 9:35 PMgreen-football-43791
06/30/2021, 9:35 PMgreen-football-43791
06/30/2021, 9:36 PM./gradlew :gms:impl:build -Prest.model.compatibility=ignore
nutritious-bird-77396
06/30/2021, 9:37 PM./gradlew build
?green-football-43791
06/30/2021, 9:37 PMgreen-football-43791
06/30/2021, 9:39 PMgreen-football-43791
06/30/2021, 9:39 PMnutritious-bird-77396
06/30/2021, 10:09 PM/**
* Single unified resource for fetching DataHub Aspects
*/
@RestLiCollection(name = "aspects", namespace = "com.linkedin.aspect")
public class Aspects extends CollectionResourceTaskTemplate<String, VersionedAspect> {
private final Logger _logger = LoggerFactory.getLogger("Aspects");
@Inject
@Named("aspectDao")
private BaseReadDAO<Aspect, Urn> _aspectDao;
I ran ./gradlew :gms:impl:build -Prest.model.compatibility=ignore
but still the rest spec json’s are not generated.
I am not sure if in the old architecture some more components are needed?green-football-43791
06/30/2021, 10:27 PMgreen-football-43791
06/30/2021, 10:28 PMgreen-football-43791
06/30/2021, 10:28 PMnutritious-bird-77396
07/01/2021, 12:36 AMCollectionResourceTaskTemplate<String, VersionedAspect>
no impact…green-football-43791
07/01/2021, 4:48 PM