Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

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 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants