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

Update api-gateway definitions #38

Merged
merged 9 commits into from
Feb 14, 2024
Merged

Update api-gateway definitions #38

merged 9 commits into from
Feb 14, 2024

Conversation

mfedderly
Copy link
Contributor

Additionally this adds the SLS dependency information to @osdk/gateway package.json

@@ -69,7 +70,7 @@ function wireActionParameterV2ToSdkParameterDefinition(
case "array":
return {
multiplicity: true,
type: actionPropertyToSdkPropertyDefinition(value.dataType),
type: actionPropertyToSdkPropertyDefinition(value.dataType.subType),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pretty sure this was just wrong before

@@ -0,0 +1,71 @@
/*
* Copyright 2023 Palantir Technologies, Inc. All rights reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Copyright 2023 Palantir Technologies, Inc. All rights reserved.
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ericanderson do we have eslint set up for the copyright header?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Its in monorepo/eslint-config-sane/library.cjs. We should probably split that into its own PR through.

Copy link
Contributor

Choose a reason for hiding this comment

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

yupyup no worries

Comment on lines +58 to +61
"com.palantir.foundry.api:api-gateway": {
"minVersion": "1.763.0",
"maxVersion": "1.x.x"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

just so i understand, is this so this will propagate to the asset that the generator is included in? apologies i hadn't been following ultra closely

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is halfway to that. Right now we're just adding it to @osdk/gateway so that anyone that depends on that will get it in their package tree so our internal code should pick this up. It doesn't wind up on the package built by foundry-sdk-generator OR the create-osdk-app assets.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok great, thanks for explaining! that's what I was hoping for


/**
* One or more of the requested object types are not synced into the ontology. Please reach out to your Ontology
* Administrator to re-index the object type(s) in Ontology Management Application.
Copy link
Contributor

Choose a reason for hiding this comment

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

in theory this should only happen the very first time the object type is not synced

Suggested change
* Administrator to re-index the object type(s) in Ontology Management Application.
* Administrator to index the object type(s) in Ontology Management Application.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is just autogenerated from the upstream docs, we don't control it.

Copy link
Contributor

Choose a reason for hiding this comment

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

i can clearly read the file path, my bad

@bulldozer-bot bulldozer-bot bot merged commit 88ba5a6 into main Feb 14, 2024
10 checks passed
@bulldozer-bot bulldozer-bot bot deleted the mf/upgrade-generator branch February 14, 2024 22:02
ericanderson added a commit that referenced this pull request Feb 14, 2024
…tions

* origin/main:
  Update api-gateway definitions (#38)
  Update copyright to use new Date() (#66)
  fix generate type
  restrict object :
  add bulk no params options
  Autorelease
  Autorelease
  Update ExitProcessError tips and use option instead of argument (#63)
  Harmonize usage of options `foundryUrl` & `clientId` across all cli commands (#50)
  Address minor TODOs (#55)
  CLI error tips (#61)
  Include repository link in package.json (#60)
  Handle version/autoVersion selection in the parsing layer (#52)
  Add generated changelog entries
  Add helper
  Add generated changelog entries
  remove commented out code
  one more change
  add intersects
  Autorelease
  Refactor site link consola box code (#58)
  Prompt user for destructive commands (#56)
  Display site link after deploy (#57)
  Review CLI wording (#54)
  use helper function
  remove anys
  Fix bulk action type
  Add generated changelog entries
  one more refactor
  refactor
  bulk actions fix
  second attempt bulk actions
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