-
Notifications
You must be signed in to change notification settings - Fork 98
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
create integrations index if it does not exist and define the integrations document #1520
Conversation
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Is this being repurposed per #1521 or should we close it? |
* create integrations index if it does not exist Signed-off-by: Derek Ho <[email protected]> * Create Integration Index class Signed-off-by: Simeon Widdis <[email protected]> * Add integration object doc Signed-off-by: Simeon Widdis <[email protected]> * Remove manual creation in integration index Signed-off-by: Simeon Widdis <[email protected]> * Add Integration object Signed-off-by: Simeon Widdis <[email protected]> * Add tests for integration class Signed-off-by: Simeon Widdis <[email protected]> * Add WIP create integration workflow Signed-off-by: Simeon Widdis <[email protected]> * we fixed it Signed-off-by: Derek Ho <[email protected]> * Fix integration file names Signed-off-by: Simeon Widdis <[email protected]> * Fix typo file Signed-off-by: Simeon Widdis <[email protected]> --------- Signed-off-by: Derek Ho <[email protected]> Signed-off-by: Simeon Widdis <[email protected]> Co-authored-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added few comments - lets review them after we conclude our demo and think again on the design
import org.opensearch.observability.util.logger | ||
|
||
/** | ||
* Application main data class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the javadoc is not relevant to this example...
import org.opensearch.observability.util.logger | ||
|
||
/** | ||
* Application main data class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
javadoc here again not representing the content ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this file here ?
class CreateIntegrationRequest : ActionRequest, ToXContentObject { | ||
val objectId: String? | ||
val type: IntegrationObjectType | ||
val objectData: BaseObjectData? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why doesn’t this request accept a specific IntegrationRequest class ?
import org.opensearch.common.io.stream.Writeable | ||
import org.opensearch.core.xcontent.XContentParser | ||
|
||
internal object IntegrationObjectDataProperties { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing the integration actual fields - see here
val tenant: String, | ||
val access: List<String>, // "User:user", "Role:sample_role", "BERole:sample_backend_role" | ||
val type: IntegrationObjectType, | ||
val objectData: BaseObjectData? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not having the concrete ObjectDataProperties here?
Closing since it moved to the front end |
Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.