You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a integration connector in repository .
I am cataloging assets then their schema types. I want to check whether the schema type exists under the asset, so I issue
myContext.getSchemaTypeForElement(
assetGUID,
typename,
new Date());
This fails.
Expected Behavior
Expect ```
myContext.getSchemaTypeForElement(
assetGUID,
typename,
new Date());
to complete successfully either indicating that there is no schema type or returning the schema type it has found
### Steps To Reproduce
see the Egeria lineage sample
### Environment
```markdown
- Egeria:
- OS:
- Java:
- Browser (for UI issues):
- Additional connectors and integration:
Any Further Information?
I have the assets cataloging in my integration connector . It fails at the start of trying to work with the schema types. I issue a call
myContext.getSchemaTypeForElement(
assetGUID,
assetFromJSON.getTypeName(),
new Date());
to see if there are any existing schema types associated with my asset, but this fails. The reason it fails is that SchemaExchangeClientBase line 574 does this final String urlTemplate = serverPlatformURLRoot + urlTemplatePrefix + "/parents/{2}/schema-types/retrieve?forLineage={3}&forDuplicateProcessing={4}";
but the server side wants another segment in the url @PostMapping(path = "/parents/{parentElementTypeName}/{parentElementGUID}/schema-types/retrieve") it looks like the parentElementTypeName needs to be supplied. I tried adding this in postman - it now seems to recognise the rest call but says it is a bad request.
The text was updated successfully, but these errors were encountered:
davidradl
changed the title
[BUG] Using the Lineage
[BUG] LineageIntegratorContext call getSchemaTypeForElement ends up calling a non-existent server end point
Nov 25, 2022
Is there an existing issue for this?
Current Behavior
I am writing a integration connector in repository .
I am cataloging assets then their schema types. I want to check whether the schema type exists under the asset, so I issue
myContext.getSchemaTypeForElement(
assetGUID,
typename,
new Date());
This fails.
Expected Behavior
Expect ```
myContext.getSchemaTypeForElement(
assetGUID,
typename,
new Date());
Any Further Information?
I have the assets cataloging in my integration connector . It fails at the start of trying to work with the schema types. I issue a call
to see if there are any existing schema types associated with my asset, but this fails. The reason it fails is that SchemaExchangeClientBase line 574 does this
final String urlTemplate = serverPlatformURLRoot + urlTemplatePrefix + "/parents/{2}/schema-types/retrieve?forLineage={3}&forDuplicateProcessing={4}";
but the server side wants another segment in the url
@PostMapping(path = "/parents/{parentElementTypeName}/{parentElementGUID}/schema-types/retrieve")
it looks like the parentElementTypeName needs to be supplied. I tried adding this in postman - it now seems to recognise the rest call but says it is a bad request.The text was updated successfully, but these errors were encountered: