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

Issue#93 unique identifiers #101

Merged
merged 3 commits into from
Mar 9, 2020
Merged

Issue#93 unique identifiers #101

merged 3 commits into from
Mar 9, 2020

Conversation

rajivsam
Copy link
Contributor

@rajivsam rajivsam commented Mar 2, 2020

  • At the time of registeration of datasets, models and featureset, the existence of asset name will first be checked. If it exists, a message asking the user to try a different name will be issued. If it does not exist, registeration proceeds.

  • Three test cases to check this for datasets, models and featuresets are added.

  • The log level of the lookup api has been changed to INFO, so you will not see the "heartbeat" message anymore.

  • arangopipe 0.0.6.9.0 pushed to PyPi

  • Examples in the example folder have been updated to use the new version.

@@ -216,6 +240,18 @@ def register_dataset(self, ds_info, user_id="authorized_user"):
def register_featureset(self, fs_info, dataset_id, \
user_id = "authorized_user"):
""" Register a featureset. ManagedServiceConnParamThe operation requires specifying a user id. If the user id is permitted to register a featureset, then the registration proceeds, otherwise an unauthorized operation is indicated. """
fs_name = fs_info["name"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move that into general function checking a collection?
I am just thinking about adding new entity types

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joerg84 . So I will refactor to a single template for all entity types.

@rajivsam rajivsam merged commit 8924873 into master Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants