Git Product home page Git Product logo

bee's People

Contributors

andrefaria avatar angeliski avatar antonioedirane avatar danielfariati avatar dcarneir avatar ddomingues avatar dvbeato avatar gabriellhrn avatar luizfaias avatar robsondomingues avatar wagnerads avatar wellmarion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bee's Issues

`bee 1.68` homebrew upgrade failed

relates to Homebrew/homebrew-core#39792

failure build: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/41891/version=mojave/console

==> /usr/local/Cellar/bee/1.68/bin/bee -d /private/tmp/bee-test-20190513-3200-y6qe9u/bee dbchange:create new-file
Picked up _JAVA_OPTIONS:  -Duser.home=/Users/brew/Library/Caches/Homebrew/java_cache
Bee - v. 1.68 - Bluesoft (2013-2019) - GPL - All rights reserved
Exception in thread "main" java.lang.NullPointerException: Cannot invoke method validateParameters() on null object
	at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:43)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:34)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
	at br.com.bluesoft.bee.runner.BeeModule.parseOptions(BeeModule.groovy:16)
	at br.com.bluesoft.bee.runner.BeeModule$parseOptions$0.callCurrent(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
	at br.com.bluesoft.bee.runner.BeeModule.run(BeeModule.groovy:25)
	at br.com.bluesoft.bee.runner.BeeModule$run.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
	at br.com.bluesoft.bee.Bee.main(Bee.groovy:103)
Error: bee: failed

Translate test names

We have some tests with names in Portuguese. We should translate the methods to English. E.g.,

@Test
def "deve pegar a última versão e ela deve ser igual à versão retornada no módulo BeeVersionModule"() {

Should be

@Test
def "must get the latest version and it must match the version returned by BeeVersionModule"() {

Execute in all databases defined in bee.properties

It would be cool if we could execute bee in all defined databases at once. Especially if we think about schema/database multi-tenancy. The commands that I'd use are:
dbchange:up
dbchange:down
data:validate
schema:validate

The ideal is to run simultaneously, for better performance (maybe even offering the option to configure the number of threads). Something like:
bee dbchange:up -a, to run in every database
bee dbchange:up -a 5 to run in every database, with 5 parallel threads

If there were errors, the log would be divided by database.
Example:
DATABASE_1
WARNING: Failed to execute: alter TABLE table change id id int (11);


DATABASE_2
WARNING: Failed to execute: alter TABLE table change id id int (11);

Criar grupos diferentes de dbchanges

Existem cenários em que alguns dbchanges devem ser executados antes de enviar atualização de código, enquanto alguns devem ser executados apenas depois que todos os servidores já estiverem com a nova versão do sistema.

Pensei em resolver isso oferecendo a possibilidade de criar/executar dbchanges por grupos.

Algo como:
bee dbchange:create banco nome-do-dbchange -g NOME_DO_GRUPO
e para executar:
bee dbchange:up banco -g NOME_DO_GRUPO

No cenário explicado acima, poderíamos separar os dbchanges nos grupos "pre-deploy" e "post-deploy" e executar apenas o grupo necessário.

Check invalid objects in Oracle after creation

Oracle allows you to create an object (procedures, packages, etc) even in invalid state. Then when you make a call to any of this Oracle raise an error.
Bee could check after an object creation either it's valid or invalid and show an Error. DBA_OBJECTS stores this kind of information and can be used for this purpose.

Blank lines in CSV aren't ignored on bee validate

if I insert a new blank line in the end of the data file, bee validate schema with this message
'This line was found in the schema [tipo_conta_bancaria] but was not found in the database:[null]'

Bee should be smart enough to ignore blank lines during data validation.

mysql schema validator too slow if there's too many schemas in the database

We have a MySQL database with more than 200 schemas with more than 100 tables each.
When we try to run bee schema:validate in any of them, it takes more than 5 minutes to run (I actually had to stop the process after 5 minutes, because it was afecting the database performance, so I don't know exactly how much time it would take).

The same doesn't happen if we try in our test MySQL database, which only have 10 schemas (with the same number of tables).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.