Examples of updated()


Examples of gov.nasa.arc.mct.subscribe.manager.config.ConfigurationService.updated()

  @BeforeMethod
  public void setup() throws ConfigurationException {
    ConfigurationService cs = ConfigurationService.getInstance();
    Dictionary<String, Integer> dict = new Hashtable<String, Integer>();
    dict.put(ConfigurationService.UNSUBSCRIPTION_GRACE_PERIOD, 0);
    cs.updated(dict);
   
    subManager = new SubscriptionManagerService();
   
    MockitoAnnotations.initMocks(this);
    subManager.unsetLogger(null);
View Full Code Here

Examples of org.apache.ace.agent.ManagementAgentFactory.updated()

        Map<String, String> config = new Hashtable<String, String>();
        config.put("verbose", "true");
        config.put("agents", "007");
        config.put("serverurl", "http://localhost:8080");
        config.put("logstores", "auditlog");
        agentFactory.updated(config);

        assertAgentUp("007");

        config = new Hashtable<String, String>();
        config.put("verbose", "true");
View Full Code Here

Examples of org.apache.ace.authentication.processor.basicauth.BasicHttpAuthenticationProcessor.updated()

        props.put(PROPERTY_KEY_USERNAME, keyUsername);
        props.put(PROPERTY_KEY_PASSWORD, keyPassword);
       
        BasicHttpAuthenticationProcessor processor = new BasicHttpAuthenticationProcessor();

        processor.updated(props);
       
        // Test whether we can use the new properties...
        when(m_servletRequest.getHeader(AUTHORIZATION_HEADER)).thenReturn(createAuthHeaderValue("bob:secret"));
       
        User user = mock(User.class);
View Full Code Here

Examples of org.apache.ace.authentication.processor.clientcert.ClientCertAuthenticationProcessor.updated()

        Properties props = new Properties();
        props.put(PROPERTY_USERNAME_LOOKUPKEY, lookupKey);
        props.put(PROPERTY_USERNAME_MATCH_POLICY, matchPolicy);
        props.put(PROPERTY_VERIFY_CERT_VALIDITY, "true");
        processor.updated(props);

        X509Certificate[] certChain = createValidCertificateChainWithDN("cn=Alice,dc=acme,dc=corp", "cn=Fido,ou=dev,dc=acme,dc=corp", "cn=Bob,ou=dev,dc=acme,dc=corp");

        when(m_servletRequest.getAttribute(ATTRIBUTE_X509_CERTIFICATE)).thenReturn(certChain);
View Full Code Here

Examples of org.apache.ace.authentication.processor.password.PasswordAuthenticationProcessor.updated()

        props.put(PROPERTY_KEY_PASSWORD, keyPassword);
        props.put(PROPERTY_PASSWORD_HASHMETHOD, "sha1");

        PasswordAuthenticationProcessor processor = new PasswordAuthenticationProcessor();

        processor.updated(props);

        byte[] hashedPw = DigestUtils.sha("secret");
       
        // Test whether we can use the new properties...
        User user = mock(User.class);
View Full Code Here

Examples of org.candlepin.resource.dto.HypervisorCheckInResult.updated()

                // Populate the result with the processed consumer.
                if (hostConsumerCreated) {
                    result.created(consumer);
                }
                else if (guestIdsUpdated) {
                    result.updated(consumer);
                }
                else {
                    result.unchanged(consumer);
                }
            }
View Full Code Here

Examples of org.jbpm.pvm.internal.history.model.HistoryTaskImpl.updated()

  }

  public void process() {
    DbSession dbSession = Environment.getFromCurrent(DbSession.class);
    HistoryTaskImpl historyTask = dbSession.get(HistoryTaskImpl.class, task.getDbid());
    historyTask.updated(task);
  }
}
View Full Code Here

Examples of org.jbpm.pvm.internal.history.model.HistoryVariableImpl.updated()

  @Override
  public void process() {
    DbSession dbSession = Environment.getFromCurrent(DbSession.class);
    HistoryVariableImpl historyVariable = dbSession.get(HistoryVariableImpl.class, variable.getDbid());
    historyVariable.updated(variable);
  }
}
View Full Code Here

Examples of org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Builder.updated()

         if (lb.cluster.size() == 1)
            builder.clusterName(Iterables.get(lb.cluster.values(), 0));
         if (lb.created.size() == 1)
            builder.created(Iterables.get(lb.created.values(), 0));
         if (lb.updated.size() == 1)
            builder.updated(Iterables.get(lb.updated.values(), 0));
         if (lb.contentCaching.size() == 1)
            builder.contentCaching(Iterables.get(lb.contentCaching.values(), 0));
         if (lb.sslTermination != null)
            builder.sslTermination(lb.sslTermination);
         if (lb.sourceAddresses != null)
View Full Code Here

Examples of org.osgi.service.cm.ManagedService.updated()

        assertNotNull(serviceRef);

        ManagedService service = (ManagedService) context.getService(serviceRef);
        try
        {
            service.updated(null);

            Mongo mongo = new Mongo();
            DB db = mongo.getDB("ua_repo");
            DBCollection collection = db.getCollection("useradmin");
            // we always get a collection back, regardless if there is an actual MongoDB listening, hence we should do
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.