Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi,

Hi, SuccessfulKoala55 TimelyPenguin76 AgitatedDove14 , can I modify company id in open source version? I succeed to replace default company id with newID in apiserver under ‘/opt/clearml/config/apiserver.conf’. However, I can not update the company id which may be hardcoded in webserver. This suspect comes up after the following tests. I create a user(auth.create_user) with a specified company id which is set in apiserver. Then, I send a request(users.get_all) to webserver with a header( X-Allegro-Tenant: newID). But it only replies that users in default company.

  
  
Posted 3 years ago
Votes Newest

Answers 35


I have another question. Does the following apis in the picture are served by both of apiserver and webserver, or just one of them ?

  
  
Posted 3 years ago

A users.get_all request will return the users in the company to which the calling user is authenticated to. So, if you only get the users from the original default company ID and not those from newID, it means the credentials you're using to call this endpoint are associated in the server with the original company ID, and not with the newID

  
  
Posted 3 years ago

Just the apiserver

  
  
Posted 3 years ago

<webserver>/api is a reverse proxy

  
  
Posted 3 years ago

Thanks a lot! I’ ll replace credentials with new user in assigned to a new company ID to call users.get_all again.

  
  
Posted 3 years ago
13K Views
35 Answers
3 years ago
5 months ago
Tags