Re: [2.x] Sling mock

2017-11-01 Thread nino martinez wael
()); MockOsgi.activate(businessService,context.bundleContext()); On Fri, Oct 27, 2017 at 6:41 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > What a horrible mail, I sent (apprerently yesterday was not my day).. > Wheres the content without quotes: > > Somethings wrong with

Fwd: [2.x] Sling mock

2017-10-26 Thread nino martinez wael
Somethings wrong with my test, @Rule public final OsgiContext context = new OsgiContextBuilder().build(); @Test public void test() throws CiscoAPIException, FailedSecurityException { context.registerInjectActivateService(BusinessServiceImpl.class); BusinessService service =

Sling mock, maven dep point at wrong coordinates:

2017-10-26 Thread nino martinez wael
https://sling.apache.org/documentation/development/sling-mock.html#maven-dependency is wrong at least for 2.x: org.apache.sling org.apache.sling.testing.sling-mock should be org.apache.sling org.apache.sling.testing.osgi-mock -- Best regards / Med venlig hilsen Nino Martinez

Re: [1.0.0] Sling metrics one bundle works other does not register?

2017-03-22 Thread nino martinez wael
No one has just a small clue? On Fri, Mar 17, 2017 at 11:34 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > HI > > I have a wierd problem. I've been using Sling metrics with great success > in one of my bundles. > > Today I wanted to expand my usa

[1.0.0] Sling metrics one bundle works other does not register?

2017-03-17 Thread nino martinez wael
HI I have a wierd problem. I've been using Sling metrics with great success in one of my bundles. Today I wanted to expand my usage to my frontend bundle. AND not matter what I do none of my api calls register at all.. The metric service are discovered as it should but this line below, never

Re: Anyone Going to apache con core eu?

2015-08-26 Thread nino martinez wael
great :) I will see you guys there. On Mon, Aug 24, 2015 at 3:38 PM, Robert Munteanu rob...@lmn.ro wrote: On Sun, Aug 23, 2015 at 6:55 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: it looks like Robert Munteanu will be giving two Sling talks, yay! Confirmed :-) Robert -- Sent

Anyone Going to apache con core eu?

2015-08-22 Thread nino martinez wael

Re: Scheduler cannot get it to work.

2015-08-13 Thread nino martinez wael
at 9:58 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Okay I shifted i around Pure service declaration in XML: https://paste.apache.org/gdvz The service does show up in scr:list from console but are never run per schedule... Strange thing was that I began using the period

Re: Scheduler cannot get it to work.

2015-08-13 Thread nino martinez wael
I changed it to longValue, no errors nothing in logs and no scheduled job.. On Thu, Aug 13, 2015 at 12:27 PM, Carsten Ziegeler cziege...@apache.org wrote: Anything in the logs? Am 13.08.15 um 10:20 schrieb nino martinez wael: I added a type to the property: property name=scheduler.period

Re: Apache Sling scheduler

2015-04-23 Thread nino martinez wael
Ahh i only looked tests in the svn repo On Apr 23, 2015 2:57 PM, Oliver Lietz apa...@oliverlietz.de wrote: On Thursday 23 April 2015 14:28:05 nino martinez wael wrote: Ahh I just assumed it would be on maven repo aswell.. It is. O. On Thu, Apr 23, 2015 at 2:15 PM, Roll, Kevin kevin-r

Apache Sling scheduler

2015-04-23 Thread nino martinez wael
Hi I am trying to get the scheduler feature to boot. Heres my pax exam test: https://paste.apache.org/4WKo when it tries to boot I get this error (Scheduler seems to be dependent (org.apache.sling.commons.threads) on a non released Sling project?): 2015-04-23 13:16:59,630 | WARN |