Giter Club home page Giter Club logo

Comments (7)

jstrachan avatar jstrachan commented on August 15, 2024

we've lots of Strings / Objects helper classes all over the place really; would be nice to have a 'no dependencies' util library we can use anywhere; then an OSGi/Fabric one?

e.g. just spotted org.fusesource.fabric.internal.Objects too

from fabric8.

jstrachan avatar jstrachan commented on August 15, 2024

I feel bad - I copy/pasted Strings.java from common-util to fabric-utils to avoid mucking with bundle / features just yet ;) so would be nice to tidy things up at some point :)

from fabric8.

gashcrumb avatar gashcrumb commented on August 15, 2024

+1

I had also added some helper stuff in the JMX package that could really stand to be in fabric-utils/common-utils, think there's some functions in fabric-commands and fabric-boot-commands that could be moved too. So should we keep common-utils or fabric-utils?

from fabric8.

tdiesler avatar tdiesler commented on August 15, 2024

embedding will not work in non-osgi envs. normal, osgi import package would work

from fabric8.

davsclaus avatar davsclaus commented on August 15, 2024

I had a look.

fabric-utils has a mix of clean util classes that can be in common-utils. And some utils that uses OSGi / Fabric etc, and should be left as is.

But the clean util methods for string / objects / crc32 etc could be moved to common-utils.

from fabric8.

davsclaus avatar davsclaus commented on August 15, 2024

Just a heads up that a PR is on the way, that moves some util classes from fabric-util to common-util.

There is still some util in fabric-util as they are either karaf or osgi dependent. Ideally we may want to move the osgi and karaf utils into fabric-karaf, and leave the general fabric util methods in fabric-utils, which can be used by docker / tomcat / also

from fabric8.

davsclaus avatar davsclaus commented on August 15, 2024

Okay moved as much we can do now, to common-util.

from fabric8.

Related Issues (20)

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.