Activity overview
Latest activity by javaDuke
Thank you @Peter_Laws your link worked and I was able to get the magic sequence! / comments
Thank you @Peter_Laws your link worked and I was able to get the magic sequence!
Thank you @Peter_Laws for the explanation! Unfortunately when I click on [Manage offline license] there is no pop up with the browser window happens...that pretty much stops me from obtaining the URL. I hope there is another way how I can activate offline. / comments
Thank you @Peter_Laws for the explanation! Unfortunately when I click on [Manage offline license] there is no pop up with the browser window happens...that pretty much stops me from obtaining the U...
Peter_Laws said:
As the interface says, these parameters are temporary and will not persist. Whereas, if you were to define them in the config file or environment variables (as mentioned in link of your first comment) they will then persist. Additionally, if you add them in either environment variables, or the root flyway install directory as opposed to the project directory, the placeholders will be available for all instances of flyway.
It worked when I tried. Thank you! Just a note to other devs, there are two "toml" format config files: - flyway.toml - flyway.user.toml I tried setting up my placeholders in either of them and it worked. NOTE: When you setup in flyway.user.toml you should specify full placehalder key name otherwise it will not be found. Example: Consider placeholder key "myKey", then in flyway.user.toml you should specify: flyway.placeholders.myKey = "myValue" In flyway.toml there are sections and you can spectify in "Global" flyway section, e.g. [flyway] mixed = true outOfOrder = true locations = [ "filesystem:migrations" ] validateMigrationNaming = true placeholders.myKey = "myValue" Notice, that "flyway" prefix was omitted, since its part of the [flyway] section that adds this namespace. For environment specific section you have to specify full placeholder name, for example H2Mem: [environments.H2Mem]
url = "jdbc:h2:mem:testdb"
user = "sa"
flyway.placeholders.myKey = "myValue" <-- notice prefix "flyway."
/ comments
Peter_Laws said:
As the interface says, these parameters are temporary and will not persist.Whereas, if you were to define them in the config file or environment variables (as mentioned in li...
Thank you for the insight! That can work [image] In a multi-env/team environment where one delivers the script and the other team applies to a different environments like (DEV, UAT, PROD, etc) is it possible to defile some sort of "profiles" that contain values for the placeholders specific to the target environment? / comments
Thank you for the insight! That can work In a multi-env/team environment where one delivers the script and the other team applies to a different environments like (DEV, UAT, PROD, etc) is it possi...
I have tried to activate on another MacOS machine I have that is on my private personal network. So in this setup the login worked and I observe there are 2 extra files created after successful login in the folder "~/Library/Preferences/Redgate/Flyway Desktop": - permit.jwt - permit.refresh.token Just my observation. Behind a firewall with restricted network websites & ports its still not working...which is pretty much a showstopper for a corporate dev setup. / comments
I have tried to activate on another MacOS machine I have that is on my private personal network. So in this setup the login worked and I observe there are 2 extra files created after successful log...
I'm defining for a migrate operation in the "flyway parameters" section [image] [image] / comments
I'm defining for a migrate operation in the "flyway parameters" section
Flyway Placeholders are not saved in the project
While using community edition desktop, I've noticed that once I did setup my placeholders, it does no save into the project file. So the next time I start the desktop, the placeholders are gone. Is...
When I try to navigate to the http://localhost:22221/redgate/status.html I get error "This site can’t be reached" (I tried with desktop closed and also with desktop running)...same result. NOTE: I've installed Flyway Desktop on MacOS M1 Pro chip / comments
When I try to navigate to the http://localhost:22221/redgate/status.html I get error "This site can’t be reached" (I tried with desktop closed and also with desktop running)...same result.NOTE: I'...
Hi chrisqtran, Thank you for the workaround. I use MacOS and I believe the location of the"Redgate\Flyway Desktop" is in my user folder: "~/Library/Preferences/Redgate/Flyway Desktop" When I listed files in there I see only 2 files: - data.json - community.json (it already contains communityEditionEnabled as true) But there is no trial.json, so I tried to create this file with the content inside as you suggested. When I restarted the Flyway desktop its still asking me to Signin. Perhaps I'm missing something.
chrisqtran said:
Hi there, If you go into %appdata%\Redgate\Flyway Desktop (should lead you to \AppData\Roaming\Redgate\Flyway Desktop) If you then open community.json and change to {"communityEditionEnabled":true}Then change the trial.json {"edition":"Community"}This should get you working on the community edition.
/ comments
Hi chrisqtran,Thank you for the workaround. I use MacOS and I believe the location of the"Redgate\Flyway Desktop" is in my user folder:"~/Library/Preferences/Redgate/Flyway Desktop"When I listed fi...
Thank you for the pointers. Unfortunately in enterprise high-security environment its not allowed to make such changes to the network infrastructure and offline activation seems quite cumbersome (using a separate computer that is also in high-security env. and not allowed to make external calls). I just wonder why a community edition mode requires "activation over net" in the first place? Could it be just open/activated for everyone by default (e.g. a permanent "community license" as part of the desktop tool)? / comments
Thank you for the pointers. Unfortunately in enterprise high-security environment its not allowed to make such changes to the network infrastructure and offline activation seems quite cumbersome (u...