Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity catalogue: Service Instance Wall Fix #1 #3670

Merged

Conversation

richard-cox
Copy link
Contributor

  • Fix display of service cards
  • Commented out code that created an exception in service instance card
    • due to incorrect entity being used to fetch/denormalize (service instance request missed space relation)
    • Labeled points of interest with // TODO: schemaKey
  • Fixed serviceInstancesWithspaceEntityType typo

@richard-cox richard-cox requested a review from KlapTrap June 20, 2019 10:30
@richard-cox richard-cox self-assigned this Jun 20, 2019
@cfdreddbot
Copy link

✅ Hey richard-cox! The commit authors and yourself have already signed the CLA.

@@ -56,6 +57,8 @@ export class StratosBaseCatalogueEntity<T extends IEntityMetadata = IEntityMetad
* If no schemaKey is provided then the default schema will be returned
*/
public getSchema(schemaKey?: string) {
// TODO: schemaKey - ensure wherever this is called it contains the correct schemaKey (with respect to any config
// EntityCatalogueEntityConfig that may use a schemeKey different than that provided by entityCatalogue.getEntity's)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to run through usages and check that the correct schemaKey is used. Think is most cases this should come from an EntityCatalogueEntityConfig object (whether the schema key is populated or not). We then need to ensure that this has the correct schema key when different from the default one (for service instances schemas with/without space, everything related to this issue is marked with a // TODO: schemaKey).

@richard-cox richard-cox merged commit a78fd40 into entity-catalogue-store Jul 9, 2019
@richard-cox richard-cox deleted the entity-catalogue-store-service-wall-2 branch July 9, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants