-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Addition of a powerful system for device booking & partitioning #1056
Conversation
Hi @wzrf, It seems you tried to run STF over an existing database, so you have first to erase it (e.g. |
Hi, problem solved, thanks! |
Hi, |
I read the PDF file and tried, it all worked! |
Hi, |
So u mean that I have to remove existing rethinkdb and again install it ? |
Hi @kanyapandey , Yes, you have to erase he existing rethinkdb database and rebuilt it by launching STF again. Also, I recommend you to read the PDF documentation provided int the PR! |
Hi @denis99999 I can now run it without errors, again tons of thanks to you for your valuable booking features !!! |
Hi, |
Hello @denis99999 I've tested your group feature and looks very promising!!! I try to reproduce this step by step. First of all, I've to build project locally on ubuntu and run stf local -> works ... api groups-engine stf APP After that, every container is up except stf-auth-3200 which says from the log that he not been able to connect into the database. Logs: I've no idea what is wrong with that. |
Hi @RafalPolak, Thanks for your congratulations ! First, access to database is not related to group feature, instead you have to check the connectivity between the auth container and the rethinkdb one, this is what the logs say ! My idea is your Regarding the group feature configuration, it seems you made a mistake on additional socket ports by inverting the values of Best regards. |
Hello @denis99999 Best regards and have a great day |
@denis99999 if i have only one device connected the group : common is always connected and i dont have control over it even with admin account |
can this feature be integrated with ldap or oauth2 since admin is role is hard coded ? |
Hi @amrkamel1 , Sorry for the late answer I was on vacation. I recommend you to read the provided documentation (sections 4&5 of the PDF) in which all is explained. In synthesis, the first time they are discovered the devices are assigned by default to the Common group for backward compatibility with legacy STF behavior, in particular the Common Group is not a "bookable" group and this is why you don't see any available devices in your personal group. So, the first action you have to do is to log using administrator account and to create a "bookable" group and then assign your device to it, after what you will see this device as available to make a reservation in your personal group. |
Thanks man for calrification i actaully did that yesterday and it was working as expected, really amazing feature that add more power to STF Thanks again for replying |
Yes, admin level is not related to authentication methods, but for now you have to choose your admin user at database creation step. |
The if the current fields now are name and email And admin role parameters are So incase of using ldap which using username and password so how i will add admin role to it |
i figured it out thanks |
Hi,
The proposed "Group feature" is mainly made of:
Here is a full documentation about this new feature including also some implementation details: GroupFeature-1.0-STF-OrangeSA.pdf
The repository is available here for testing: https://github.com/denis99999/stf/tree/group-feature
Note also we have added our copyleft (i.e. using Apache 2.0 license) in a line on created files as well as on modified files and LICENSE file, please let me know if it suits you.