Examples of Domain


Examples of io.fathom.cloud.compute.api.os.model.Domain

    @PUT
    @Path("{name}")
    public WrappedDomain createDomain(@PathParam("name") String name, WrappedDomain domain) throws CloudException {
        Project project = getProject();

        Domain request = domain.domain_entry;
        if (request == null) {
            throw new IllegalArgumentException();
        }

        request.domain = name;
View Full Code Here

Examples of io.fathom.cloud.identity.api.os.model.v3.Domain

        DomainList response = new DomainList();
        response.domains = Lists.newArrayList();

        for (DomainData data : identityService.listDomains(user)) {
            Domain domain = toModel(data);
            response.domains.add(domain);
        }

        return response;
    }
View Full Code Here

Examples of io.fathom.cloud.server.auth.Auth.Domain

    @Deprecated
    // This is a dark corner of the OpenStack API
    protected void checkDomainAdmin() {
        Auth auth = getAuth();

        Domain domainAdmin = auth.findDomainWithAdminRole();
        if (domainAdmin == null) {
            log.debug("Expected domain admin: {}", auth);
            throw new WebApplicationException(Status.FORBIDDEN);
        }
    }
View Full Code Here

Examples of it.eng.spagobi.commons.bo.Domain

      if (ds == null) {
    logger.error("The data source with id " + obj.getDataSourceId() + " is not found on the database.");
    return null;
      }
     
      Domain dialectHB = DAOFactory.getDomainDAO().loadDomainById(ds.getDialectId());
      if (ds == null) {
    logger.error("The data source with id " + obj.getDataSourceId() + " is not found on the database.");
    return null;
      }     
      sbds = new SpagoBiDataSource();
      sbds.setLabel(ds.getLabel());
      sbds.setJndiName(ds.getJndi());
      sbds.setUrl(ds.getUrlConnection());
      sbds.setUser(ds.getUser());
      sbds.setPassword(ds.getPwd());
      sbds.setDriver(ds.getDriver());
      sbds.setHibDialectName(dialectHB.getValueName());
//change
//      sbds.setHibDialectClass(dialectHB.getValueDescription());
      sbds.setHibDialectClass(dialectHB.getValueCd());
      logger.info("read DS: Label="+sbds.getLabel()+" Jndi="+sbds.getJndiName()+" HIB="+sbds.getHibDialectClass());
     
      //gets dialect informations
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      Domain doDialect = domaindao.loadDomainById(ds.getDialectId());
      sbds.setHibDialectClass(doDialect.getValueCd());
      sbds.setHibDialectName(doDialect.getValueName());
      sbds.setMultiSchema(ds.getMultiSchema());
      sbds.setSchemaAttribute(ds.getSchemaAttribute());

  } catch (Exception e) {
      logger.error("The data source is not correctly returned", e);
View Full Code Here

Examples of mireka.address.Domain

            ". an invalid. example.net";

    @Test()
    public void testExceptionMessageContainsDomain() {
        MxLookup mxLookup =
                new MxLookup(new Domain(INVALID_EXAMPLE_DOMAIN_NAME));
        try {
            mxLookup.queryMxTargets();
        } catch (MxLookupException e) {
            assertTrue(e.getMessage().contains(INVALID_EXAMPLE_DOMAIN_NAME));
            return;
View Full Code Here

Examples of org.apache.bval.extras.constraints.net.Domain

    @Test
    public void testAllowLocal() {
       DomainValidator noLocal = new DomainValidator();
       DomainValidator allowLocal = new DomainValidator();
       allowLocal.initialize( new Domain()
       {

            public Class<? extends Annotation> annotationType() {
                // not needed
                return null;
View Full Code Here

Examples of org.apache.cayenne.pref.Domain

        DataDomain domain = projectController.getCurrentDataDomain();

        DataDomain matchingDomain = configuration.getDomain(newName);

        if (matchingDomain == null) {
            Domain prefs = projectController.getPreferenceDomainForDataDomain();

            DomainEvent e = new DomainEvent(this, domain, domain.getName());
            ProjectUtil.setDataDomainName(configuration, domain, newName);
            prefs.rename(newName);
            projectController.fireDomainEvent(e);
        }
        else if (matchingDomain != domain) {
            throw new ValidationException("There is another DataDomain named '"
                    + newName
View Full Code Here

Examples of org.apache.torque.engine.database.model.Domain

                // get the last state from the stack
                ParseStackElement.popState(this);
            }
            else if (rawName.equals("domain"))
            {
                Domain domain = new Domain();
                domain.loadFromXML(attributes, database.getPlatform());
                database.addDomain(domain);
            }
            else if (rawName.equals("table"))
            {
                currTable = database.addTable(attributes);
View Full Code Here

Examples of org.apache.tuscany.sca.domain.model.Domain

    // DomainManagementService methods
   
    public DomainInfo getDomainDescription(){
       
        DomainInfo domainInfo = new DomainInfoImpl();
        Domain domain =  scaDomain.getDomainModel();
       
        domainInfo.setDomainURI(domain.getDomainURI());
        domainInfo.setDomainURL(domain.getDomainURL());
        domainInfo.getNodes().addAll(domain.getNodes().keySet());
        domainInfo.getContributions().addAll(domain.getContributions().keySet());
        domainInfo.getDeployedComposites().addAll(domain.getDeployedComposites().keySet());
       
        return domainInfo;
    }
View Full Code Here

Examples of org.chromattic.core.Domain

      TypeMapping mapping = mappingBuilder.build();
      mappings.add(mapping);
    }

    // Build domain
    Domain domain = new Domain(mappings, instrumentor, objectFormatter, stateCacheEnabled);

    //
    return new ChromatticImpl(domain, sessionProvider);
  }
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.